Package com.google.cloud.spanner
Interface SpannerOptions.SpannerEnvironment
- Enclosing class:
- SpannerOptions
public static interface SpannerOptions.SpannerEnvironment
The environment to read configuration values from. The default implementation uses environment
variables.
-
Method Summary
Modifier and TypeMethodDescriptiondefault GoogleCredentialsdefault StringDeprecated.default StringThe optimizer statistics package to use.default StringThe optimizer version to use.default booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault booleandefault boolean
-
Method Details
-
getOptimizerVersion
The optimizer version to use. Must return an empty string to indicate that no value has been set. -
getOptimizerStatisticsPackage
The optimizer statistics package to use. Must return an empty string to indicate that no value has been set. -
isEnableExtendedTracing
default boolean isEnableExtendedTracing() -
isEnableApiTracing
default boolean isEnableApiTracing() -
isEnableDirectAccess
default boolean isEnableDirectAccess() -
isEnableGcpFallback
default boolean isEnableGcpFallback() -
isEnableBuiltInMetrics
default boolean isEnableBuiltInMetrics() -
isEnableGRPCBuiltInMetrics
default boolean isEnableGRPCBuiltInMetrics() -
isEnableGrpcGcpOtelMetrics
default boolean isEnableGrpcGcpOtelMetrics() -
isEnableEndToEndTracing
default boolean isEnableEndToEndTracing() -
isEnableLocationApi
default boolean isEnableLocationApi() -
getMonitoringHost
@Deprecated @ObsoleteApi("This will be removed in an upcoming version without a major version bump. You should use universalDomain to configure the built-in metrics endpoint for a partner universe.") default String getMonitoringHost()Deprecated. -
getDefaultExperimentalHostCredentials
-