ExecuteSqlRequest class

The request for ExecuteSql and ExecuteStreamingSql.

Constructors

ExecuteSqlRequest({bool? dataBoostEnabled, DirectedReadOptions? directedReadOptions, Map<String, Type>? paramTypes, Map<String, Object?>? params, String? partitionToken, String? queryMode, QueryOptions? queryOptions, RequestOptions? requestOptions, String? resumeToken, String? seqno, String? sql, TransactionSelector? transaction})
ExecuteSqlRequest.fromJson(Map json_)

Properties

dataBoostEnabled bool?
If this is for a partitioned query and this field is set to true, the request is executed with Spanner Data Boost independent compute resources.
getter/setter pair
directedReadOptions DirectedReadOptions?
Directed read options for this request.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
params Map<String, Object?>?
Parameter names and values that bind to placeholders in the SQL string.
getter/setter pair
paramTypes Map<String, Type>?
It is not always possible for Cloud Spanner to infer the right SQL type from a JSON value.
getter/setter pair
partitionToken String?
If present, results will be restricted to the specified partition previously created using PartitionQuery().
getter/setter pair
partitionTokenAsBytes List<int>
getter/setter pair
queryMode String?
Used to control the amount of debugging information returned in ResultSetStats.
getter/setter pair
queryOptions QueryOptions?
Query optimizer configuration to use for the given query.
getter/setter pair
requestOptions RequestOptions?
Common options for this request.
getter/setter pair
resumeToken String?
If this request is resuming a previously interrupted SQL statement execution, resume_token should be copied from the last PartialResultSet yielded before the interruption.
getter/setter pair
resumeTokenAsBytes List<int>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seqno String?
A per-transaction sequence number used to identify this request.
getter/setter pair
sql String?
The SQL string.
getter/setter pair
transaction TransactionSelector?
The transaction to use.
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