Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
Options.ReadQueryUpdateTransactionOption
Marker interface to mark options applicable to Read, Query, Update and Write operations
|
Modifier and Type | Method and Description |
---|---|
default ResultSetStats |
TransactionContext.analyzeUpdate(Statement statement,
ReadContext.QueryAnalyzeMode analyzeMode,
Options.UpdateOption... options)
Analyzes a DML statement and returns query plan and/or execution statistics information.
|
long[] |
TransactionContext.batchUpdate(Iterable<Statement> statements,
Options.UpdateOption... options)
Executes a list of DML statements in a single request.
|
com.google.api.core.ApiFuture<long[]> |
TransactionContext.batchUpdateAsync(Iterable<Statement> statements,
Options.UpdateOption... options)
Same as
#batchUpdate(Iterable) , but is guaranteed to be non-blocking. |
long |
DatabaseClient.executePartitionedUpdate(Statement stmt,
Options.UpdateOption... options)
Returns the lower bound of rows modified by this DML statement.
|
long |
TransactionContext.executeUpdate(Statement statement,
Options.UpdateOption... options)
Executes the DML statement(s) and returns the number of rows modified.
|
com.google.api.core.ApiFuture<Long> |
TransactionContext.executeUpdateAsync(Statement statement,
Options.UpdateOption... options)
Same as
#executeUpdate(Statement) , but is guaranteed to be non-blocking. |
Copyright © 2022 Google LLC. All rights reserved.