Uses of Interface
com.google.cloud.spanner.ResultSet
-
Packages that use ResultSet 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. -
-
Uses of ResultSet in com.google.cloud.spanner
Subinterfaces of ResultSet in com.google.cloud.spanner Modifier and Type Interface Description interface
AsyncResultSet
Interface for result sets returned by async query methods.Classes in com.google.cloud.spanner that implement ResultSet Modifier and Type Class Description class
ForwardingAsyncResultSet
Forwarding implementation ofAsyncResultSet
that forwards all calls to a delegate.class
ForwardingResultSet
Forwarding implementation of ResultSet that forwards all calls to a delegate.Methods in com.google.cloud.spanner that return ResultSet Modifier and Type Method Description ResultSet
ReadContext. analyzeQuery(Statement statement, ReadContext.QueryAnalyzeMode queryMode)
Analyzes a query and returns query plan and/or query execution statistics information.ResultSet
Statement. analyzeQuery(ReadContext context, ReadContext.QueryAnalyzeMode queryMode)
Analyzes the query incontext
.default ResultSet
TransactionContext. 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.ResultSet
BatchReadOnlyTransaction. execute(Partition partition)
Execute the partition to returnResultSet
.ResultSet
ReadContext. executeQuery(Statement statement, Options.QueryOption... options)
Executes a query against the database.ResultSet
Statement. executeQuery(ReadContext context, Options.QueryOption... options)
Executes the query incontext
.static ResultSet
ResultSets. forRows(Type type, Iterable<Struct> rows)
Creates a pre-populatedResultSet
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.Methods in com.google.cloud.spanner with parameters of type ResultSet Modifier and Type Method Description 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)
Method parameters in com.google.cloud.spanner with type arguments of type ResultSet Modifier and Type Method Description 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
.Constructors in com.google.cloud.spanner with parameters of type ResultSet Constructor Description ForwardingResultSet(ResultSet delegate)
Constructor parameters in com.google.cloud.spanner with type arguments of type ResultSet Constructor Description ForwardingResultSet(com.google.common.base.Supplier<ResultSet> supplier)
-
Uses of ResultSet in com.google.cloud.spanner.connection
Methods in com.google.cloud.spanner.connection that return ResultSet Modifier and Type Method 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.default ResultSet
Connection. analyzeUpdateStatement(Statement statement, ReadContext.QueryAnalyzeMode analyzeMode, Options.UpdateOption... options)
Analyzes a DML statement and returns execution plan, undeclared parameters and optionally execution statistics information.ResultSet
Connection. executeQuery(Statement query, Options.QueryOption... options)
Executes the given statement (a query or a DML statement with returning clause) and returns the result as aResultSet
.ResultSet
StatementResult. getResultSet()
Returns theResultSet
held by this result.
-