Uses of Interface
com.google.cloud.spanner.ResultSet
Packages that use ResultSet
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
Internal API for Google Cloud Spanner.
-
Uses of ResultSet in com.google.cloud.spanner
Subinterfaces of ResultSet in com.google.cloud.spannerModifier and TypeInterfaceDescriptioninterfaceInterface for result sets returned by async query methods.interfaceInterface forResultSets that can return a protobuf value.Classes in com.google.cloud.spanner that implement ResultSetModifier and TypeClassDescriptionclassForwarding implementation ofAsyncResultSetthat forwards all calls to a delegate.classForwarding implementation of ResultSet that forwards all calls to a delegate.Methods in com.google.cloud.spanner that return ResultSetModifier and TypeMethodDescriptionReadContext.analyzeQuery(Statement statement, ReadContext.QueryAnalyzeMode queryMode) Analyzes a query and returns query plan and/or query execution statistics information.Statement.analyzeQuery(ReadContext context, ReadContext.QueryAnalyzeMode queryMode) Analyzes the query incontext.default ResultSetTransactionContext.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.Execute the partition to returnResultSet.ReadContext.executeQuery(Statement statement, Options.QueryOption... options) Executes a query against the database.Statement.executeQuery(ReadContext context, Options.QueryOption... options) Executes the query incontext.static ResultSetCreates a pre-populatedResultSetReadContext.read(String table, KeySet keys, Iterable<String> columns, Options.ReadOption... options) Reads zero or more rows from a database.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 ResultSetModifier and TypeMethodDescriptionstatic AsyncResultSetResultSets.toAsyncResultSet(ResultSet delegate) Converts the givenResultSetto anAsyncResultSet.static AsyncResultSetResultSets.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 ResultSetModifier and TypeMethodDescriptionstatic AsyncResultSetResultSets.toAsyncResultSet(com.google.api.core.ApiFuture<ResultSet> delegate, com.google.api.gax.core.ExecutorProvider executorProvider, Options.QueryOption... options) Converts theResultSetthat will be returned by the givenApiFutureto anAsyncResultSetusing the givenExecutorProvider.Constructors in com.google.cloud.spanner with parameters of type ResultSetConstructor parameters in com.google.cloud.spanner with type arguments of type ResultSetModifierConstructorDescriptionForwardingResultSet(com.google.common.base.Supplier<? extends ResultSet> supplier) -
Uses of ResultSet in com.google.cloud.spanner.connection
Subinterfaces of ResultSet in com.google.cloud.spanner.connectionModifier and TypeInterfaceDescriptioninterfaceResult set that is returned for partitioned queries.Methods in com.google.cloud.spanner.connection that return ResultSetModifier and TypeMethodDescriptionConnection.analyzeQuery(Statement query, ReadContext.QueryAnalyzeMode queryMode) Analyzes a query or a DML statement and returns query plan and/or query execution statistics information.default ResultSetConnection.analyzeUpdateStatement(Statement statement, ReadContext.QueryAnalyzeMode analyzeMode, Options.UpdateOption... options) Analyzes a DML statement and returns execution plan, undeclared parameters and optionally execution statistics information.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.StatementResult.getResultSet()Returns theResultSetheld by this result.Connection.partitionQuery(Statement query, PartitionOptions partitionOptions, Options.QueryOption... options) Partitions the given query, so it can be executed in parallel.Connection.runPartition(String encodedPartitionId) Executes the given partition of a query.