-
Methods Method Description com.google.cloud.spanner.connection.Connection.analyzeUpdate(Statement, ReadContext.QueryAnalyzeMode) com.google.cloud.spanner.SessionPoolOptions.Builder.setMaxIdleSessions(int) set a higher value forSessionPoolOptions.Builder.setMinSessions(int)
instead of using this configuration option. This option will be removed in a future release.com.google.cloud.spanner.SessionPoolOptions.Builder.setWriteSessionsFraction(float) This configuration value is no longer in use. The session pool does not prepare any sessions for read/write transactions. Instead, a transaction will automatically be started by the first statement that is executed by a transaction by including a BeginTransaction option with that statement.This method may be removed in a future release.
com.google.cloud.spanner.SessionPoolOptions.getMaxIdleSessions() Use a higher value forSessionPoolOptions.Builder.setMinSessions(int)
instead of setting this option.com.google.cloud.spanner.SessionPoolOptions.getWriteSessionsFraction() This value is no longer used. The session pool does not prepare any sessions for read/write transactions. Instead, a transaction will be started by including a BeginTransaction option with the first statement of a transaction. This method may be removed in a future release.com.google.cloud.spanner.testing.RemoteSpannerHelper.isEmulator() useEmulatorSpannerHelper.isUsingEmulator()
instead.com.google.cloud.spanner.TransactionContext.analyzeUpdate(Statement, ReadContext.QueryAnalyzeMode, Options.UpdateOption...) UseTransactionContext.analyzeUpdateStatement(Statement, QueryAnalyzeMode, UpdateOption...)
instead to get both statement plan and parameter metadata