Uses of Interface
com.google.cloud.spanner.Options.UpdateOption
-
Packages that use Options.UpdateOption Package Description com.google.cloud.spanner A client for Cloud Spanner - A no-compromise relational database service.com.google.cloud.spanner.connection Internal API for Google Cloud Spanner. -
-
Uses of Options.UpdateOption in com.google.cloud.spanner
Subinterfaces of Options.UpdateOption in com.google.cloud.spanner Modifier and Type Interface Description static interface
Options.ReadQueryUpdateTransactionOption
Marker interface to mark options applicable to Read, Query, Update and Write operationsMethods in com.google.cloud.spanner with parameters of type Options.UpdateOption Modifier and Type Method Description default ResultSetStats
TransactionContext. analyzeUpdate(Statement statement, ReadContext.QueryAnalyzeMode analyzeMode, Options.UpdateOption... options)
Deprecated.UseTransactionContext.analyzeUpdateStatement(Statement, QueryAnalyzeMode, UpdateOption...)
instead to get both statement plan and parameter metadatadefault ResultSet
TransactionContext. analyzeUpdateStatement(Statement statement, ReadContext.QueryAnalyzeMode analyzeMode, Options.UpdateOption... options)
Analyzes a DML statement and returns query plan and statement parameter metadata and optionally execution statistics information.long[]
TransactionContext. batchUpdate(Iterable<Statement> statements, Options.UpdateOption... options)
Executes a list of DML statements (which can include simple DML statements or DML statements with returning clause) in a single request.com.google.api.core.ApiFuture<long[]>
TransactionContext. batchUpdateAsync(Iterable<Statement> statements, Options.UpdateOption... options)
Same asTransactionContext.batchUpdate(Iterable, UpdateOption...)
, 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 (which can be a simple DML statement or DML statement with a returning clause) and returns the number of rows modified.com.google.api.core.ApiFuture<Long>
TransactionContext. executeUpdateAsync(Statement statement, Options.UpdateOption... options)
Same asTransactionContext.executeUpdate(Statement,UpdateOption...)
, but is guaranteed to be non-blocking. -
Uses of Options.UpdateOption in com.google.cloud.spanner.connection
Methods in com.google.cloud.spanner.connection with parameters of type Options.UpdateOption Modifier and Type Method Description default ResultSet
Connection. analyzeUpdateStatement(Statement statement, ReadContext.QueryAnalyzeMode analyzeMode, Options.UpdateOption... options)
Analyzes a DML statement and returns execution plan, undeclared parameters and optionally execution statistics information.
-