Package com.google.cloud.spanner.spi.v1
package com.google.cloud.spanner.spi.v1
-
ClassDescriptionRepresents a Spanner server endpoint for location-aware routing.Cache for server connections used in location-aware routing.Factory for creating
ChannelEndpointCacheinstances.Finds a server for a request using location-aware routing metadata.Implementation ofLatencyTrackerusing Exponentially Weighted Moving Average (EWMA).Implementation of Cloud Spanner remote calls using Gapic libraries.Cache for routing information used by location-aware routing.Determines how to handle ranges that span multiple splits.Interface for tracking latency scores of Spanner servers.Implementation ofReplicaSelectorusing the "Power of 2 Random Choices" strategy.Interface for selecting a replica from a list of candidates.Adds error details to statuses returned by the Cloud Spanner API.For internal use only.Abstracts remote calls to the Cloud Spanner service.Options passed inSpannerRpcmethods to control how an RPC is issued.Represents 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.Consumer for the results produced by a streaming read or query call.Handle for cancellation of a streaming read or query call.Sortable String Format encoding utilities for Spanner keys.Represents a key range with start and limit boundaries for routing.Intercepts all gRPC calls and injects trace context related headers to propagate trace context to Spanner.A simple, unsynchronized byte array output stream optimized for key encoding.