Uses of Interface
com.google.cloud.spanner.AsyncResultSet
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
Internal API for Google Cloud Spanner.
-
Uses of AsyncResultSet in com.google.cloud.spanner
Modifier and TypeClassDescriptionclass
Forwarding implementation ofAsyncResultSet
that forwards all calls to a delegate.Modifier and TypeMethodDescriptionReadContext.executeQueryAsync
(Statement statement, Options.QueryOption... options) Same asReadContext.executeQuery(Statement, QueryOption...)
, but is guaranteed to be non-blocking and returns its results as anAsyncResultSet
.ReadContext.readAsync
(String table, KeySet keys, Iterable<String> columns, Options.ReadOption... options) Same asReadContext.read(String, KeySet, Iterable, ReadOption...)
, but is guaranteed to be non-blocking and will return the results as anAsyncResultSet
.ReadContext.readUsingIndexAsync
(String table, String index, KeySet keys, Iterable<String> columns, Options.ReadOption... options) Same asReadContext.readUsingIndex(String, String, KeySet, Iterable, ReadOption...)
, but is guaranteed to be non-blocking and will return its results as anAsyncResultSet
.static AsyncResultSet
ResultSets.toAsyncResultSet
(com.google.api.core.ApiFuture<ResultSet> delegate, com.google.api.gax.core.ExecutorProvider executorProvider, Options.QueryOption... options) Converts theResultSet
that will be returned by the givenApiFuture
to anAsyncResultSet
using the givenExecutorProvider
.static AsyncResultSet
ResultSets.toAsyncResultSet
(ResultSet delegate) Converts the givenResultSet
to anAsyncResultSet
.static AsyncResultSet
ResultSets.toAsyncResultSet
(ResultSet delegate, com.google.api.gax.core.ExecutorProvider executorProvider, Options.QueryOption... options) Modifier and TypeMethodDescriptionAsyncResultSet.ReadyCallback.cursorReady
(AsyncResultSet resultSet) -
Uses of AsyncResultSet in com.google.cloud.spanner.connection
Modifier and TypeMethodDescriptionConnection.executeQueryAsync
(Statement query, Options.QueryOption... options) Executes the given statement (a query or a DML statement with returning clause) asynchronously and returns the result as anAsyncResultSet
.AsyncStatementResult.getResultSetAsync()
Returns theAsyncResultSet
held by this result.