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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncResultSet
Interface for result sets returned by async query methods.
|
Modifier and Type | Class and Description |
---|---|
class |
ForwardingAsyncResultSet
Forwarding implementation of
AsyncResultSet that forwards all calls to a delegate. |
class |
ForwardingResultSet
Forwarding implementation of ResultSet that forwards all calls to a delegate.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
Statement.analyzeQuery(ReadContext context,
ReadContext.QueryAnalyzeMode queryMode)
Analyzes the query in
context . |
ResultSet |
ReadContext.analyzeQuery(Statement statement,
ReadContext.QueryAnalyzeMode queryMode)
Analyzes a query and returns query plan and/or query execution statistics information.
|
ResultSet |
BatchReadOnlyTransaction.execute(Partition partition)
Execute the partition to return
ResultSet . |
ResultSet |
Statement.executeQuery(ReadContext context,
Options.QueryOption... options)
Executes the query in
context . |
ResultSet |
ReadContext.executeQuery(Statement statement,
Options.QueryOption... options)
Executes a query against the database.
|
static ResultSet |
ResultSets.forRows(Type type,
Iterable<Struct> rows)
Creates a pre-populated
ResultSet |
ResultSet |
ReadContext.read(String table,
KeySet keys,
Iterable<String> columns,
Options.ReadOption... options)
Reads zero or more rows from a database.
|
ResultSet |
ReadContext.readUsingIndex(String table,
String index,
KeySet keys,
Iterable<String> columns,
Options.ReadOption... options)
Reads zero or more rows from a database using an index.
|
Modifier and Type | Method and Description |
---|---|
static AsyncResultSet |
ResultSets.toAsyncResultSet(ResultSet delegate)
Converts the given
ResultSet to an AsyncResultSet . |
static AsyncResultSet |
ResultSets.toAsyncResultSet(ResultSet delegate,
ExecutorProvider executorProvider,
Options.QueryOption... options)
|
Modifier and Type | Method and Description |
---|---|
static AsyncResultSet |
ResultSets.toAsyncResultSet(com.google.api.core.ApiFuture<ResultSet> delegate,
ExecutorProvider executorProvider,
Options.QueryOption... options)
Converts the
ResultSet that will be returned by the given ApiFuture to an
AsyncResultSet using the given ExecutorProvider . |
Constructor and Description |
---|
ForwardingResultSet(ResultSet delegate) |
Constructor and Description |
---|
ForwardingResultSet(com.google.common.base.Supplier<ResultSet> supplier) |
Modifier and Type | Method and Description |
---|---|
ResultSet |
Connection.analyzeQuery(Statement query,
ReadContext.QueryAnalyzeMode queryMode)
Analyzes a query or a DML statement and returns query plan and/or query execution statistics
information.
|
ResultSet |
Connection.executeQuery(Statement query,
Options.QueryOption... options)
Executes the given statement as a query and returns the result as a
ResultSet . |
ResultSet |
StatementResult.getResultSet()
Returns the
ResultSet held by this result. |
Copyright © 2022 Google LLC. All rights reserved.