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 | Class and Description |
---|---|
class |
ForwardingAsyncResultSet
Forwarding implementation of
AsyncResultSet that forwards all calls to a delegate. |
Modifier and Type | Method and Description |
---|---|
AsyncResultSet |
ReadContext.executeQueryAsync(Statement statement,
Options.QueryOption... options)
Same as
#executeQuery(Statement, QueryOption...) , but is guaranteed to be non-blocking
and returns its results as an AsyncResultSet . |
AsyncResultSet |
ReadContext.readAsync(String table,
KeySet keys,
Iterable<String> columns,
Options.ReadOption... options)
Same as
#read(String, KeySet, Iterable, ReadOption...) , but is guaranteed to be
non-blocking and will return the results as an AsyncResultSet . |
AsyncResultSet |
ReadContext.readUsingIndexAsync(String table,
String index,
KeySet keys,
Iterable<String> columns,
Options.ReadOption... options)
Same as
#readUsingIndex(String, String, KeySet, Iterable, ReadOption...) , but is
guaranteed to be non-blocking and will return its results as an AsyncResultSet . |
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 . |
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 |
---|---|
AsyncResultSet.CallbackResponse |
AsyncResultSet.ReadyCallback.cursorReady(AsyncResultSet resultSet) |
Constructor and Description |
---|
ForwardingAsyncResultSet(AsyncResultSet delegate) |
Modifier and Type | Method and Description |
---|---|
AsyncResultSet |
Connection.executeQueryAsync(Statement query,
Options.QueryOption... options)
Executes the given statement asynchronously as a query and returns the result as an
AsyncResultSet . |
AsyncResultSet |
AsyncStatementResult.getResultSetAsync()
Returns the
AsyncResultSet held by this result. |
Copyright © 2022 Google LLC. All rights reserved.