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 |
---|---|
SpannerRpc.StreamingCall |
GapicSpannerRpc.read(ReadRequest request,
SpannerRpc.ResultStreamConsumer consumer,
Map<SpannerRpc.Option,?> options) |
SpannerRpc.StreamingCall |
SpannerRpc.read(ReadRequest request,
SpannerRpc.ResultStreamConsumer consumer,
Map<SpannerRpc.Option,?> options) |
Modifier and Type | Method and Description |
---|---|
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.
|
ServerStreamingCallable<ReadRequest,PartialResultSet> |
SpannerClient.streamingReadCallable()
Like [Read][google.spanner.v1.Spanner.Read], except returns the result set as a stream.
|
ServerStreamingCallSettings<ReadRequest,PartialResultSet> |
SpannerSettings.streamingReadSettings()
Returns the object with the settings used for calls to streamingRead.
|
ServerStreamingCallSettings.Builder<ReadRequest,PartialResultSet> |
SpannerSettings.Builder.streamingReadSettings()
Returns the builder for the settings used for calls to streamingRead.
|
Modifier and Type | Method and Description |
---|---|
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<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.
|
ServerStreamingCallable<ReadRequest,PartialResultSet> |
GrpcSpannerStub.streamingReadCallable() |
ServerStreamingCallable<ReadRequest,PartialResultSet> |
SpannerStub.streamingReadCallable() |
ServerStreamingCallSettings<ReadRequest,PartialResultSet> |
SpannerStubSettings.streamingReadSettings()
Returns the object with the settings used for calls to streamingRead.
|
ServerStreamingCallSettings.Builder<ReadRequest,PartialResultSet> |
SpannerStubSettings.Builder.streamingReadSettings()
Returns the builder for the settings used for calls to streamingRead.
|
Modifier and Type | Method and Description |
---|---|
Parser<ReadRequest> |
ReadRequest.getParserForType() |
static MethodDescriptor<ReadRequest,ResultSet> |
SpannerGrpc.getReadMethod() |
static MethodDescriptor<ReadRequest,PartialResultSet> |
SpannerGrpc.getStreamingReadMethod() |
static Parser<ReadRequest> |
ReadRequest.parser() |
Modifier and Type | Method and Description |
---|---|
ReadRequest.Builder |
ReadRequest.Builder.mergeFrom(ReadRequest other) |
static ReadRequest.Builder |
ReadRequest.newBuilder(ReadRequest prototype) |
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].
|
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].
|
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].
|
Iterator<PartialResultSet> |
SpannerGrpc.SpannerBlockingStub.streamingRead(ReadRequest request)
Like [Read][google.spanner.v1.Spanner.Read], except returns the result set as a
stream.
|
void |
SpannerGrpc.SpannerImplBase.streamingRead(ReadRequest request,
StreamObserver<PartialResultSet> responseObserver)
Like [Read][google.spanner.v1.Spanner.Read], except returns the result set as a
stream.
|
void |
SpannerGrpc.SpannerStub.streamingRead(ReadRequest request,
StreamObserver<PartialResultSet> responseObserver)
Like [Read][google.spanner.v1.Spanner.Read], except returns the result set as a
stream.
|
Copyright © 2022 Google LLC. All rights reserved.