Uses of Class
com.google.cloud.spanner.connection.ConnectionOptions.Builder
Packages that use ConnectionOptions.Builder
-
Uses of ConnectionOptions.Builder in com.google.cloud.spanner.connection
Methods in com.google.cloud.spanner.connection that return ConnectionOptions.BuilderModifier and TypeMethodDescriptionstatic ConnectionOptions.BuilderConnectionOptions.newBuilder()Create aConnectionOptions.BuilderforConnectionOptions.ConnectionOptions.Builder.setCredentialsUrl(String credentialsUrl) Sets the URL of the credentials file to use for this connection.ConnectionOptions.Builder.setOAuthToken(String oauthToken) Sets the OAuth token to use with this connection.ConnectionOptions.Builder.setOpenTelemetry(io.opentelemetry.api.OpenTelemetry openTelemetry) ConnectionOptions.Builder.setSessionPoolOptions(SessionPoolOptions sessionPoolOptions) Sets theSessionPoolOptionsto use for the connection.ConnectionOptions.Builder.setStatementExecutorType(com.google.cloud.spanner.connection.StatementExecutor.StatementExecutorType statementExecutorType) Sets the executor type to use for connections.ConnectionOptions.Builder.setTracingPrefix(String tracingPrefix) Sets the URI of the Cloud Spanner database to connect to.