Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Method and Description |
---|---|
static SpannerOptions.Builder |
SpannerOptions.newBuilder() |
SpannerOptions.Builder |
SpannerOptions.Builder.setChannelProvider(TransportChannelProvider channelProvider)
Sets the
ChannelProvider . |
SpannerOptions.Builder |
SpannerOptions.Builder.setInterceptorProvider(GrpcInterceptorProvider interceptorProvider)
Sets the
GrpcInterceptorProvider . |
SpannerOptions.Builder |
SpannerOptions.Builder.setNumChannels(int numChannels)
Sets the number of gRPC channels to use.
|
SpannerOptions.Builder |
SpannerOptions.Builder.setPrefetchChunks(int prefetchChunks)
Specifying this will allow the client to prefetch up to
prefetchChunks PartialResultSet chunks for each read and query. |
SpannerOptions.Builder |
SpannerOptions.Builder.setSessionLabels(Map<String,String> sessionLabels)
Sets the labels to add to all Sessions created in this client.
|
SpannerOptions.Builder |
SpannerOptions.Builder.setSessionPoolOption(SessionPoolOptions sessionPoolOptions)
Sets the options for managing the session pool.
|
SpannerOptions.Builder |
SpannerOptions.Builder.setTransportOptions(TransportOptions transportOptions) |
SpannerOptions.Builder |
SpannerOptions.toBuilder() |
Copyright © 2019 Google LLC. All rights reserved.