Package | Description |
---|---|
com.google.cloud.spanner.spi.v1 | |
com.google.cloud.spanner.v1 |
The interfaces provided are listed below, along with usage samples.
|
com.google.cloud.spanner.v1.stub | |
com.google.spanner.v1 |
Modifier and Type | Method and Description |
---|---|
ResultSet |
GapicSpannerRpc.executePartitionedDml(ExecuteSqlRequest request,
Map<SpannerRpc.Option,?> options) |
ResultSet |
SpannerRpc.executePartitionedDml(ExecuteSqlRequest request,
Map<SpannerRpc.Option,?> options) |
ResultSet |
GapicSpannerRpc.executeQuery(ExecuteSqlRequest request,
Map<SpannerRpc.Option,?> options) |
ResultSet |
SpannerRpc.executeQuery(ExecuteSqlRequest request,
Map<SpannerRpc.Option,?> options) |
Modifier and Type | Method and Description |
---|---|
com.google.api.core.ApiFuture<ResultSet> |
GapicSpannerRpc.executeQueryAsync(ExecuteSqlRequest request,
Map<SpannerRpc.Option,?> options) |
com.google.api.core.ApiFuture<ResultSet> |
SpannerRpc.executeQueryAsync(ExecuteSqlRequest request,
Map<SpannerRpc.Option,?> options) |
Modifier and Type | Method and Description |
---|---|
ResultSet |
SpannerClient.executeSql(ExecuteSqlRequest request)
Executes an SQL statement, returning all results in a single reply.
|
ResultSet |
SpannerClient.read(ReadRequest request)
Reads rows from the database using key lookups and scans, as a simple key/value style
alternative to [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
|
Modifier and Type | Method and Description |
---|---|
UnaryCallable<ExecuteSqlRequest,ResultSet> |
SpannerClient.executeSqlCallable()
Executes an SQL statement, returning all results in a single reply.
|
UnaryCallSettings<ExecuteSqlRequest,ResultSet> |
SpannerSettings.executeSqlSettings()
Returns the object with the settings used for calls to executeSql.
|
UnaryCallSettings.Builder<ExecuteSqlRequest,ResultSet> |
SpannerSettings.Builder.executeSqlSettings()
Returns the builder for the settings used for calls to executeSql.
|
UnaryCallable<ReadRequest,ResultSet> |
SpannerClient.readCallable()
Reads rows from the database using key lookups and scans, as a simple key/value style
alternative to [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
|
UnaryCallSettings<ReadRequest,ResultSet> |
SpannerSettings.readSettings()
Returns the object with the settings used for calls to read.
|
UnaryCallSettings.Builder<ReadRequest,ResultSet> |
SpannerSettings.Builder.readSettings()
Returns the builder for the settings used for calls to read.
|
Modifier and Type | Method and Description |
---|---|
UnaryCallable<ExecuteSqlRequest,ResultSet> |
GrpcSpannerStub.executeSqlCallable() |
UnaryCallable<ExecuteSqlRequest,ResultSet> |
SpannerStub.executeSqlCallable() |
UnaryCallSettings<ExecuteSqlRequest,ResultSet> |
SpannerStubSettings.executeSqlSettings()
Returns the object with the settings used for calls to executeSql.
|
UnaryCallSettings.Builder<ExecuteSqlRequest,ResultSet> |
SpannerStubSettings.Builder.executeSqlSettings()
Returns the builder for the settings used for calls to executeSql.
|
UnaryCallable<ReadRequest,ResultSet> |
GrpcSpannerStub.readCallable() |
UnaryCallable<ReadRequest,ResultSet> |
SpannerStub.readCallable() |
UnaryCallSettings<ReadRequest,ResultSet> |
SpannerStubSettings.readSettings()
Returns the object with the settings used for calls to read.
|
UnaryCallSettings.Builder<ReadRequest,ResultSet> |
SpannerStubSettings.Builder.readSettings()
Returns the builder for the settings used for calls to read.
|
Modifier and Type | Method and Description |
---|---|
ResultSet |
ResultSet.Builder.build() |
ResultSet |
ResultSet.Builder.buildPartial() |
ResultSet |
SpannerGrpc.SpannerBlockingStub.executeSql(ExecuteSqlRequest request)
Executes an SQL statement, returning all results in a single reply.
|
static ResultSet |
ResultSet.getDefaultInstance() |
ResultSet |
ResultSet.getDefaultInstanceForType() |
ResultSet |
ResultSet.Builder.getDefaultInstanceForType() |
ResultSet |
ExecuteBatchDmlResponse.getResultSets(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ResultSet |
ExecuteBatchDmlResponse.Builder.getResultSets(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ResultSet |
ExecuteBatchDmlResponseOrBuilder.getResultSets(int index)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
static ResultSet |
ResultSet.parseDelimitedFrom(InputStream input) |
static ResultSet |
ResultSet.parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static ResultSet |
ResultSet.parseFrom(byte[] data) |
static ResultSet |
ResultSet.parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static ResultSet |
ResultSet.parseFrom(ByteBuffer data) |
static ResultSet |
ResultSet.parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static ResultSet |
ResultSet.parseFrom(ByteString data) |
static ResultSet |
ResultSet.parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ResultSet |
ResultSet.parseFrom(CodedInputStream input) |
static ResultSet |
ResultSet.parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static ResultSet |
ResultSet.parseFrom(InputStream input) |
static ResultSet |
ResultSet.parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
ResultSet |
SpannerGrpc.SpannerBlockingStub.read(ReadRequest request)
Reads rows from the database using key lookups and scans, as a
simple key/value style alternative to
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<ResultSet> |
SpannerGrpc.SpannerFutureStub.executeSql(ExecuteSqlRequest request)
Executes an SQL statement, returning all results in a single reply.
|
static MethodDescriptor<ExecuteSqlRequest,ResultSet> |
SpannerGrpc.getExecuteSqlMethod() |
Parser<ResultSet> |
ResultSet.getParserForType() |
static MethodDescriptor<ReadRequest,ResultSet> |
SpannerGrpc.getReadMethod() |
List<ResultSet> |
ExecuteBatchDmlResponse.getResultSetsList()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
List<ResultSet> |
ExecuteBatchDmlResponse.Builder.getResultSetsList()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
List<ResultSet> |
ExecuteBatchDmlResponseOrBuilder.getResultSetsList()
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
static Parser<ResultSet> |
ResultSet.parser() |
com.google.common.util.concurrent.ListenableFuture<ResultSet> |
SpannerGrpc.SpannerFutureStub.read(ReadRequest request)
Reads rows from the database using key lookups and scans, as a
simple key/value style alternative to
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
|
Modifier and Type | Method and Description |
---|---|
ExecuteBatchDmlResponse.Builder |
ExecuteBatchDmlResponse.Builder.addResultSets(int index,
ResultSet value)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ExecuteBatchDmlResponse.Builder |
ExecuteBatchDmlResponse.Builder.addResultSets(ResultSet value)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
ResultSet.Builder |
ResultSet.Builder.mergeFrom(ResultSet other) |
static ResultSet.Builder |
ResultSet.newBuilder(ResultSet prototype) |
ExecuteBatchDmlResponse.Builder |
ExecuteBatchDmlResponse.Builder.setResultSets(int index,
ResultSet value)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
Modifier and Type | Method and Description |
---|---|
ExecuteBatchDmlResponse.Builder |
ExecuteBatchDmlResponse.Builder.addAllResultSets(Iterable<? extends ResultSet> values)
One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully,
in the same order as the statements in the request.
|
void |
SpannerGrpc.SpannerImplBase.executeSql(ExecuteSqlRequest request,
StreamObserver<ResultSet> responseObserver)
Executes an SQL statement, returning all results in a single reply.
|
void |
SpannerGrpc.SpannerStub.executeSql(ExecuteSqlRequest request,
StreamObserver<ResultSet> responseObserver)
Executes an SQL statement, returning all results in a single reply.
|
void |
SpannerGrpc.SpannerImplBase.read(ReadRequest request,
StreamObserver<ResultSet> responseObserver)
Reads rows from the database using key lookups and scans, as a
simple key/value style alternative to
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
|
void |
SpannerGrpc.SpannerStub.read(ReadRequest request,
StreamObserver<ResultSet> responseObserver)
Reads rows from the database using key lookups and scans, as a
simple key/value style alternative to
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
|
Copyright © 2022 Google LLC. All rights reserved.