Package com.google.cloud.spanner.spi.v1 (6.83.0)

Repository

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.spanner for new applications.

Classes

ClassDescription
com.google.cloud.spanner.spi.v1.GapicSpannerRpcImplementation of Cloud Spanner remote calls using Gapic libraries.
com.google.cloud.spanner.spi.v1.SpannerErrorInterceptorAdds error details to statuses returned by the Cloud Spanner API. TODO(user): Add integration tests to check for error details.
com.google.cloud.spanner.spi.v1.SpannerInterceptorProviderFor . An interceptor provider that provides a list of grpc interceptors for GapicSpannerRpc to handle logging and error augmentation by intercepting grpc calls.
com.google.cloud.spanner.spi.v1.SpannerRpc.PaginatedRepresents results from paginated RPCs, i.e., those where up to a maximum number of items is returned from each call and a followup call must be made to fetch more.
com.google.cloud.spanner.spi.v1.SpannerRpcViews
com.google.cloud.spanner.spi.v1.TraceContextInterceptorIntercepts all gRPC calls and injects trace context related headers to propagate trace context to Spanner. This class takes reference from OpenTelemetry's JAVA instrumentation library for gRPC. https://.com/open-telemetry/opentelemetry-java-instrumentation/blob/9ecf7965aa455d41ea8cc0761b6c6b6eeb106324/instrumentation/grpc-1.6/library/src/main/java/io/opentelemetry/instrumentation/grpc/v1_6/TracingClientInterceptor.java#L27

Interfaces

InterfaceDescription
com.google.cloud.spanner.spi.v1.SpannerRpcAbstracts remote calls to the Cloud Spanner service. Typically end-consumer code will never use this interface; it's main purpose is to abstract the implementation of the public Cloud Spanner API from the underlying transport mechanism.
com.google.cloud.spanner.spi.v1.SpannerRpc.ResultStreamConsumerConsumer for the results produced by a read or query call.
com.google.cloud.spanner.spi.v1.SpannerRpc.CallHandle for cancellation of a read or query call.

Enums

EnumDescription
com.google.cloud.spanner.spi.v1.SpannerRpc.OptionOptions passed in SpannerRpc methods to control how an RPC is issued.