Uses of Interface
com.google.cloud.spanner.Options.UpdateOption
Packages that use Options.UpdateOption
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
Internal API for Google Cloud Spanner.
-
Uses of Options.UpdateOption in com.google.cloud.spanner
Subinterfaces of Options.UpdateOption in com.google.cloud.spannerModifier and TypeInterfaceDescriptionstatic interfaceMarker interface for options that can be used with both executeQuery and executeUpdate.static interfaceMarker interface to mark options applicable to Read, Query, Update and Write operationsstatic interfaceMarker interface to mark options applicable to Update and Write operationsMethods in com.google.cloud.spanner with parameters of type Options.UpdateOptionModifier and TypeMethodDescriptiondefault ResultSetStatsTransactionContext.analyzeUpdate(Statement statement, ReadContext.QueryAnalyzeMode analyzeMode, Options.UpdateOption... options) Deprecated.default ResultSetTransactionContext.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 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.longDatabaseClient.executePartitionedUpdate(Statement stmt, Options.UpdateOption... options) Returns the lower bound of rows modified by this DML statement.longTransactionContext.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.UpdateOptionModifier and TypeMethodDescriptiondefault ResultSetConnection.analyzeUpdateStatement(Statement statement, ReadContext.QueryAnalyzeMode analyzeMode, Options.UpdateOption... options) Analyzes a DML statement and returns execution plan, undeclared parameters and optionally execution statistics information.
TransactionContext.analyzeUpdateStatement(Statement, QueryAnalyzeMode, UpdateOption...)instead to get both statement plan and parameter metadata