ProjectsInstancesDatabasesSessionsResource class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
batchCreate(BatchCreateSessionsRequest request, String database, {String? $fields})
→ Future<BatchCreateSessionsResponse>
-
Creates multiple new sessions.
-
batchWrite(BatchWriteRequest request, String session, {String? $fields})
→ Future<BatchWriteResponse>
-
Batches the supplied mutation groups in a collection of efficient
transactions.
-
beginTransaction(BeginTransactionRequest request, String session, {String? $fields})
→ Future<Transaction>
-
Begins a new transaction.
-
commit(CommitRequest request, String session, {String? $fields})
→ Future<CommitResponse>
-
Commits a transaction.
-
create(CreateSessionRequest request, String database, {String? $fields})
→ Future<Session>
-
Creates a new session.
-
delete(String name, {String? $fields})
→ Future<Empty>
-
Ends a session, releasing server resources associated with it.
-
executeBatchDml(ExecuteBatchDmlRequest request, String session, {String? $fields})
→ Future<ExecuteBatchDmlResponse>
-
Executes a batch of SQL DML statements.
-
executeSql(ExecuteSqlRequest request, String session, {String? $fields})
→ Future<ResultSet>
-
Executes an SQL statement, returning all results in a single reply.
-
executeStreamingSql(ExecuteSqlRequest request, String session, {String? $fields})
→ Future<PartialResultSet>
-
Like ExecuteSql, except returns the result set as a stream.
-
get(String name, {String? $fields})
→ Future<Session>
-
Gets a session.
-
list(String database, {String? filter, int? pageSize, String? pageToken, String? $fields})
→ Future<ListSessionsResponse>
-
Lists all sessions in a given database.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
partitionQuery(PartitionQueryRequest request, String session, {String? $fields})
→ Future<PartitionResponse>
-
Creates a set of partition tokens that can be used to execute a query
operation in parallel.
-
partitionRead(PartitionReadRequest request, String session, {String? $fields})
→ Future<PartitionResponse>
-
Creates a set of partition tokens that can be used to execute a read
operation in parallel.
-
read(ReadRequest request, String session, {String? $fields})
→ Future<ResultSet>
-
Reads rows from the database using key lookups and scans, as a simple
key/value style alternative to ExecuteSql.
-
rollback(RollbackRequest request, String session, {String? $fields})
→ Future<Empty>
-
Rolls back a transaction, releasing any locks it holds.
-
streamingRead(ReadRequest request, String session, {String? $fields})
→ Future<PartialResultSet>
-
Like Read, except returns the result set as a stream.
-
toString()
→ String
-
A string representation of this object.
inherited