# Index

A B C G I J O P R S T U V W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

## A

acceptsURL(String) - Method in class com.google.cloud.spanner.jdbc.JdbcDriver
addTransactionRetryListener(TransactionRetryListener) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
addTransactionRetryListener(TransactionRetryListener) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Deprecated.

## B

bufferedWrite(Mutation) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Buffers the given mutation locally on the current transaction of this `Connection`.
bufferedWrite(Iterable<Mutation>) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Buffers the given mutations locally on the current transaction of this `Connection`.

## C

closeSpannerPool() - Static method in class com.google.cloud.spanner.jdbc.SpannerPool
  Deprecated.
CloudSpannerJdbcConnection - Interface in com.google.cloud.spanner.jdbc
  JDBC connection with a number of additional Cloud Spanner specific methods.
CloudSpannerJdbcPartitionedQueryResultSet - Interface in com.google.cloud.spanner.jdbc
  Result set that is returned for partitioned queries, e.g.
CloudSpannerJdbcPreparedStatement - Interface in com.google.cloud.spanner.jdbc
  This interface is implemented by `PreparedStatement`s that are created on Cloud Spanner JDBC connections.
CloudSpannerJdbcStatement - Interface in com.google.cloud.spanner.jdbc
  This interface is implemented by `Statement`s that are created on Cloud Spanner JDBC connections.
com.google.cloud.spanner - package com.google.cloud.spanner
com.google.cloud.spanner.jdbc - package com.google.cloud.spanner.jdbc
  A JDBC driver for Cloud Spanner - A no-compromise relational database service.
connect(String, Properties) - Method in class com.google.cloud.spanner.jdbc.JdbcDriver

## G

getAutocommit() - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
getAutocommitDmlMode() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getCause() - Method in interface com.google.cloud.spanner.jdbc.JdbcSqlException
getCause() - Method in exception com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory.JdbcAbortedDueToConcurrentModificationException
getCause() - Method in exception com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory.JdbcAbortedException
getClientLibToken() - Static method in class com.google.cloud.spanner.jdbc.JdbcDriver
getCode() - Method in interface com.google.cloud.spanner.jdbc.JdbcSqlException
  Returns the corresponding gRPC code for this exception
getCode() - Method in exception com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory.JdbcSqlBatchUpdateException
getCode() - Method in exception com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory.JdbcSqlClientInfoException
getCode() - Method in exception com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory.JdbcSqlExceptionImpl
getCode() - Method in exception com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory.JdbcSqlFeatureNotSupportedException
getCode() - Method in exception com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory.JdbcSqlTimeoutException
getCommitResponse() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getCommitTimestamp() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getConnection() - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
getConnection(String, String) - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
getConnectionUrl() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getCredentials() - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
getDatabaseErrorDuringRetry() - Method in exception com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory.JdbcAbortedDueToConcurrentModificationException
getDialect() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getErrorCode() - Method in interface com.google.cloud.spanner.jdbc.JdbcSqlException
  Returns the gRPC error code as an int
getLoginTimeout() - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
getLogWriter() - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
getMajorVersion() - Method in class com.google.cloud.spanner.jdbc.JdbcDriver
getMaxPartitionedParallelism() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Returns the maximum degree of parallelism that is used for partitioned queries.
getMaxPartitions() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Gets the maximum number of partitions that should be included as a hint to Cloud Spanner when partitioning a query on this connection.
getMessage() - Method in interface com.google.cloud.spanner.jdbc.JdbcSqlException
getMinorVersion() - Method in class com.google.cloud.spanner.jdbc.JdbcDriver
getName() - Method in class com.google.cloud.spanner.jdbc.JsonType
getName() - Method in class com.google.cloud.spanner.jdbc.PgJsonbType
getName() - Method in class com.google.cloud.spanner.jdbc.ProtoEnumType
getName() - Method in class com.google.cloud.spanner.jdbc.ProtoMessageType
getNumPartitions() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcPartitionedQueryResultSet
  Returns the number of partitions that this result set contains.
getOptimizerVersion() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Gets the current query optimizer version of this connection.
getParallelism() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcPartitionedQueryResultSet
  Returns the degree of parallelism that this result set uses.
getParentLogger() - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
getParentLogger() - Method in class com.google.cloud.spanner.jdbc.JdbcDriver
getPropertyInfo(String, Properties) - Method in class com.google.cloud.spanner.jdbc.JdbcDriver
getProtoDescriptors() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getReadonly() - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
getReadOnlyStaleness() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getReadTimestamp() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getRetryAbortsInternally() - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
getSavepointSupport() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Returns the current savepoint support for this connection.
getSQLState() - Method in interface com.google.cloud.spanner.jdbc.JdbcSqlException
getStatementTag() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getTransactionMode() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getTransactionRetryListeners() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Deprecated.
getTransactionRetryListenersFromConnection() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getTransactionTag() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
getUrl() - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
getVendor() - Method in class com.google.cloud.spanner.jdbc.JsonType
getVendor() - Method in class com.google.cloud.spanner.jdbc.PgJsonbType
getVendor() - Method in class com.google.cloud.spanner.jdbc.ProtoEnumType
getVendor() - Method in class com.google.cloud.spanner.jdbc.ProtoMessageType
getVendorTypeNumber() - Method in class com.google.cloud.spanner.jdbc.JsonType
getVendorTypeNumber() - Method in class com.google.cloud.spanner.jdbc.PgJsonbType
getVendorTypeNumber() - Method in class com.google.cloud.spanner.jdbc.ProtoEnumType
getVendorTypeNumber() - Method in class com.google.cloud.spanner.jdbc.ProtoMessageType

## I

INSTANCE - Static variable in class com.google.cloud.spanner.jdbc.JsonType
INSTANCE - Static variable in class com.google.cloud.spanner.jdbc.PgJsonbType
INSTANCE - Static variable in class com.google.cloud.spanner.jdbc.ProtoEnumType
INSTANCE - Static variable in class com.google.cloud.spanner.jdbc.ProtoMessageType
isAutoPartitionMode() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Returns whether this connection will execute all queries as partitioned queries.
isClosed() - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
isDataBoostEnabled() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Returns whether data boost is enabled for partitioned queries.
isInTransaction() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
isRetryAbortsInternally() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
isReturnCommitStats() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
isTransactionStarted() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
isWrapperFor(Class<?>) - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource

## J

jdbcCompliant() - Method in class com.google.cloud.spanner.jdbc.JdbcDriver
JdbcConstants - Class in com.google.cloud.spanner.jdbc
  Constants for special values used by the Cloud Spanner JDBC driver.
JdbcDataSource - Class in com.google.cloud.spanner.jdbc
  `DataSource` implementation for Google Cloud Spanner.
JdbcDataSource() - Constructor for class com.google.cloud.spanner.jdbc.JdbcDataSource
JdbcDataTypeConverter - Class in com.google.cloud.spanner
JdbcDataTypeConverter() - Constructor for class com.google.cloud.spanner.JdbcDataTypeConverter
JdbcDriver - Class in com.google.cloud.spanner.jdbc
  JDBC `Driver` for Google Cloud Spanner.
JdbcDriver() - Constructor for class com.google.cloud.spanner.jdbc.JdbcDriver
JdbcSqlException - Interface in com.google.cloud.spanner.jdbc
  Base interface for all Cloud Spanner `SQLException`s.
JdbcSqlExceptionFactory - Class in com.google.cloud.spanner.jdbc
  Factory class for creating `SQLException`s for Cloud Spanner
JdbcSqlExceptionFactory() - Constructor for class com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory
JdbcSqlExceptionFactory.JdbcAbortedDueToConcurrentModificationException - Exception in com.google.cloud.spanner.jdbc
  Specific `SQLException` that is thrown when a transaction was aborted and could not be retried due to a concurrent modification.
JdbcSqlExceptionFactory.JdbcAbortedException - Exception in com.google.cloud.spanner.jdbc
  Specific `SQLException` that is thrown when a transaction was aborted and could not be successfully retried.
JdbcSqlExceptionFactory.JdbcSqlBatchUpdateException - Exception in com.google.cloud.spanner.jdbc
  Specific `SQLException` that is thrown when a `SpannerBatchUpdateException` occurs.
JdbcSqlExceptionFactory.JdbcSqlClientInfoException - Exception in com.google.cloud.spanner.jdbc
  Specific `SQLException` that is thrown when setting client info on a connection
JdbcSqlExceptionFactory.JdbcSqlExceptionImpl - Exception in com.google.cloud.spanner.jdbc
  Base `SQLException` for Cloud Spanner
JdbcSqlExceptionFactory.JdbcSqlFeatureNotSupportedException - Exception in com.google.cloud.spanner.jdbc
  Specific `SQLException` that is thrown for unsupported methods and values
JdbcSqlExceptionFactory.JdbcSqlTimeoutException - Exception in com.google.cloud.spanner.jdbc
  Specific `SQLException` that is thrown when a statement times out
JsonType - Class in com.google.cloud.spanner.jdbc
  Custom SQL type for Spanner JSON data type.

## O

OPEN_TELEMETRY_PROPERTY_KEY - Static variable in class com.google.cloud.spanner.jdbc.JdbcDriver
  The info `Properties` object that is passed to the JDBC driver may contain an entry with this key and an `OpenTelemetry` instance as its value.

## P

partitionQuery(PartitionOptions, Options.QueryOption...) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcPreparedStatement
  Partitions this query, so it can be executed in parallel.
partitionQuery(String, PartitionOptions, Options.QueryOption...) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcStatement
  Partitions the given query, so it can be executed in parallel.
PgJsonbType - Class in com.google.cloud.spanner.jdbc
ProtoEnumType - Class in com.google.cloud.spanner.jdbc
  Custom SQL type for Spanner PROTO data type.
ProtoMessageType - Class in com.google.cloud.spanner.jdbc
  Custom SQL type for Spanner PROTO data type.

## R

removeTransactionRetryListener(TransactionRetryListener) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
removeTransactionRetryListener(TransactionRetryListener) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Deprecated.
RETRY_ABORTED_AND_MAX_ATTEMPTS_EXCEEDED - Enum constant in enum com.google.cloud.spanner.jdbc.TransactionRetryListener.RetryResult
  Deprecated.
  The retry was aborted by Spanner and the maximum number of retry attempts allowed has been exceeded.
RETRY_ABORTED_AND_RESTARTING - Enum constant in enum com.google.cloud.spanner.jdbc.TransactionRetryListener.RetryResult
  Deprecated.
  The retry was aborted by Spanner and another retry attempt will be started.
RETRY_ABORTED_DUE_TO_CONCURRENT_MODIFICATION - Enum constant in enum com.google.cloud.spanner.jdbc.TransactionRetryListener.RetryResult
  Deprecated.
  The retry was aborted by the `Connection` because of a concurrent modification.
RETRY_ERROR - Enum constant in enum com.google.cloud.spanner.jdbc.TransactionRetryListener.RetryResult
  Deprecated.
  An unexpected error occurred during transaction retry, the transaction cannot continue and will throw an exception.
RETRY_SUCCESSFUL - Enum constant in enum com.google.cloud.spanner.jdbc.TransactionRetryListener.RetryResult
  Deprecated.
  The retry executed successfully and the transaction will continue.
retryFinished(Timestamp, long, int, TransactionRetryListener.RetryResult) - Method in interface com.google.cloud.spanner.jdbc.TransactionRetryListener
  Deprecated.
  This method is called when a retry has finished.
retryStarting(Timestamp, long, int) - Method in interface com.google.cloud.spanner.jdbc.TransactionRetryListener
  Deprecated.
  This method is called when a retry is about to start.
runPartition() - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcPreparedStatement
  Executes the given partition of a query.
runPartition(String) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcStatement
  Executes the given partition of a query.
runPartitionedQuery(PartitionOptions, Options.QueryOption...) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcPreparedStatement
  Executes the given query as a partitioned query.
runPartitionedQuery(String, PartitionOptions, Options.QueryOption...) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcStatement
  Executes the given query as a partitioned query.

## S

setAutocommit(Boolean) - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
setAutocommitDmlMode(AutocommitDmlMode) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets the mode for executing DML statements in autocommit mode for this connection.
setAutoPartitionMode(boolean) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets whether this connection should always use partitioned queries when a query is executed on this connection.
setCredentials(String) - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
setDataBoostEnabled(boolean) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Enable data boost for partitioned queries.
setLoginTimeout(int) - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
setLogWriter(PrintWriter) - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
setMaxPartitionedParallelism(int) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets the maximum degree of parallelism that is used when executing a partitioned query.
setMaxPartitions(int) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets the maximum number of partitions that should be included as a hint to Cloud Spanner when partitioning a query on this connection.
setOptimizerVersion(String) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets the query optimizer version to use for this connection.
setProtoDescriptors(byte[]) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets the proto descriptors to use for the next DDL statement (single or batch) that will be executed.
setProtoDescriptors(InputStream) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets the proto descriptors to use for the next DDL statement (single or batch) that will be executed.
setReadonly(Boolean) - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
setReadOnlyStaleness(TimestampBound) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets the staleness to use for the current read-only transaction.
setRetryAbortsInternally(boolean) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets whether this connection will internally retry read/write transactions that abort.
setRetryAbortsInternally(Boolean) - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
setReturnCommitStats(boolean) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets whether this connection should request commit statistics from Cloud Spanner for read/write transactions and for DML statements in autocommit mode.
setSavepointSupport(SavepointSupport) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets how savepoints should be supported on this connection.
setStatementTag(String) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets the statement tag to use for the next statement that will be executed.
setTransactionMode(TransactionMode) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets the transaction mode to use for current transaction.
setTransactionTag(String) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Sets the transaction tag to use for the current transaction.
setUrl(String) - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource
SpannerPool - Class in com.google.cloud.spanner.jdbc
  Deprecated.
STATEMENT_NO_RESULT - Static variable in class com.google.cloud.spanner.jdbc.JdbcConstants
  Special value that is used to indicate that a statement had no result.
STATEMENT_RESULT_SET - Static variable in class com.google.cloud.spanner.jdbc.JdbcConstants
  Special value that is used to indicate that a statement returned a `ResultSet`.

## T

toSpannerType(Type) - Static method in class com.google.cloud.spanner.JdbcDataTypeConverter
  Converts a protobuf type to a Spanner type.
toString() - Method in class com.google.cloud.spanner.jdbc.JsonType
toString() - Method in class com.google.cloud.spanner.jdbc.PgJsonbType
toString() - Method in class com.google.cloud.spanner.jdbc.ProtoEnumType
toString() - Method in class com.google.cloud.spanner.jdbc.ProtoMessageType
TransactionRetryListener - Interface in com.google.cloud.spanner.jdbc
  Deprecated.
TransactionRetryListener.RetryResult - Enum in com.google.cloud.spanner.jdbc
  Deprecated.

## U

unwrap(Class<T>) - Method in class com.google.cloud.spanner.jdbc.JdbcDataSource

## V

valueOf(String) - Static method in enum com.google.cloud.spanner.jdbc.TransactionRetryListener.RetryResult
  Deprecated.
  Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.cloud.spanner.jdbc.TransactionRetryListener.RetryResult
  Deprecated.
  Returns an array containing the constants of this enum type, in the order they are declared.
VENDOR_TYPE_NUMBER - Static variable in class com.google.cloud.spanner.jdbc.JsonType
  Spanner does not have any type numbers, but the code values are unique.
VENDOR_TYPE_NUMBER - Static variable in class com.google.cloud.spanner.jdbc.PgJsonbType
  Spanner/Spangres does not have any type numbers, but the code values are unique.
VENDOR_TYPE_NUMBER - Static variable in class com.google.cloud.spanner.jdbc.ProtoEnumType
  Spanner does not have any type numbers, but the code values are unique.
VENDOR_TYPE_NUMBER - Static variable in class com.google.cloud.spanner.jdbc.ProtoMessageType
  Spanner does not have any type numbers, but the code values are unique.

## W

write(Mutation) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Writes the specified mutation directly to the database and commits the change.
write(Iterable<Mutation>) - Method in interface com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection
  Writes the specified mutations directly to the database and commits the changes.

A B C G I J O P R S T U V W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form