Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Method and Description |
---|---|
Statement |
Statement.Builder.build()
Builds the
Statement . |
static Statement |
Statement.of(String sql)
Creates a
Statement with the given SQL text sql . |
Modifier and Type | Method and Description |
---|---|
ResultSet |
ReadContext.analyzeQuery(Statement statement,
ReadContext.QueryAnalyzeMode queryMode)
Analyzes a query and returns query plan and/or query execution statistics information.
|
long |
DatabaseClient.executePartitionedUpdate(Statement stmt)
Returns the lower bound of rows modified by this DML statement.
|
ResultSet |
ReadContext.executeQuery(Statement statement,
Options.QueryOption... options)
Executes a query against the database.
|
long |
TransactionContext.executeUpdate(Statement statement)
Executes the DML statement(s) and returns the number of rows modified.
|
List<Partition> |
BatchReadOnlyTransaction.partitionQuery(PartitionOptions partitionOptions,
Statement statement,
Options.QueryOption... options)
Returns a list of
Partition to execute a query against the database. |
Modifier and Type | Method and Description |
---|---|
long[] |
TransactionContext.batchUpdate(Iterable<Statement> statements)
Executes a list of DML statements in a single request.
|
Copyright © 2019 Google LLC. All rights reserved.