CloudSpannerProperties class

Connection properties specific to Cloud Spanner.

Constructors

CloudSpannerProperties({String? database, String? databaseRole, int? maxParallelism, bool? useDataBoost, bool? useParallelism, bool? useServerlessAnalytics})
CloudSpannerProperties.fromJson(Map json_)

Properties

database String?
Cloud Spanner database in the form `project/instance/database'
getter/setter pair
databaseRole String?
Cloud Spanner database role for fine-grained access control.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxParallelism int?
Allows setting max parallelism per query when executing on Spanner independent compute resources.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useDataBoost bool?
If set, the request will be executed via Spanner independent compute resources.
getter/setter pair
useParallelism bool?
If parallelism should be used when reading from Cloud Spanner
getter/setter pair
useServerlessAnalytics bool?
Deprecated: prefer use_data_boost instead.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited