Package com.google.cloud.spanner (2.25.1)

GitHub Repository

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.spanner.jdbc for new applications.

Client Classes

Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.

Client Description
com.google.cloud.spanner.BatchClient
com.google.cloud.spanner.DatabaseAdminClient
com.google.cloud.spanner.DatabaseClient
com.google.cloud.spanner.InstanceAdminClient

Classes

Class Description
com.google.cloud.spanner.AbstractLazyInitializer
com.google.cloud.spanner.AbstractStructReader
com.google.cloud.spanner.Backup
com.google.cloud.spanner.Backup.Builder
com.google.cloud.spanner.BackupId
com.google.cloud.spanner.BackupInfo
com.google.cloud.spanner.BackupInfo.Builder
com.google.cloud.spanner.BatchClientImpl
com.google.cloud.spanner.BatchTransactionId
com.google.cloud.spanner.BuiltInMetricsConstant
com.google.cloud.spanner.CommitResponse
com.google.cloud.spanner.CommitStats
com.google.cloud.spanner.CompositeTracer
com.google.cloud.spanner.CompositeTracerFactory
com.google.cloud.spanner.Database
com.google.cloud.spanner.Database.Builder
com.google.cloud.spanner.DatabaseId
com.google.cloud.spanner.DatabaseInfo
com.google.cloud.spanner.DatabaseInfo.Builder
com.google.cloud.spanner.DatabaseRole
com.google.cloud.spanner.DatabaseRole.Builder
com.google.cloud.spanner.DelayedAsyncRunner
com.google.cloud.spanner.DelayedAsyncTransactionManager
com.google.cloud.spanner.ForwardingAsyncResultSet
com.google.cloud.spanner.ForwardingResultSet
com.google.cloud.spanner.ForwardingStructReader
com.google.cloud.spanner.Instance
com.google.cloud.spanner.Instance.Builder
com.google.cloud.spanner.InstanceConfig
com.google.cloud.spanner.InstanceConfig.Builder
com.google.cloud.spanner.InstanceConfigId
com.google.cloud.spanner.InstanceConfigInfo
com.google.cloud.spanner.InstanceConfigInfo.Builder
com.google.cloud.spanner.InstanceId
com.google.cloud.spanner.InstanceInfo
com.google.cloud.spanner.InstanceInfo.Builder
com.google.cloud.spanner.IsRetryableInternalError
com.google.cloud.spanner.JdbcDataTypeConverter
com.google.cloud.spanner.Key
com.google.cloud.spanner.Key.Builder
com.google.cloud.spanner.KeyRange
com.google.cloud.spanner.KeyRange.Builder
com.google.cloud.spanner.KeySet
com.google.cloud.spanner.KeySet.Builder
com.google.cloud.spanner.LatencyTest
com.google.cloud.spanner.LazySpannerInitializer
com.google.cloud.spanner.Mutation
com.google.cloud.spanner.Mutation.WriteBuilder
com.google.cloud.spanner.MutationGroup
com.google.cloud.spanner.OpenCensusSpan
com.google.cloud.spanner.OpenTelemetryContextKeys
com.google.cloud.spanner.Operation
com.google.cloud.spanner.Options
com.google.cloud.spanner.Partition
com.google.cloud.spanner.PartitionOptions
com.google.cloud.spanner.PartitionOptions.Builder
com.google.cloud.spanner.PartitionedDmlTransaction
com.google.cloud.spanner.ReplicaInfo
com.google.cloud.spanner.ReplicaInfo.BuilderImpl
com.google.cloud.spanner.Restore
com.google.cloud.spanner.Restore.Builder
com.google.cloud.spanner.RestoreInfo
com.google.cloud.spanner.ResultSets
com.google.cloud.spanner.SessionPoolOptions
com.google.cloud.spanner.SessionPoolOptions.Builder
com.google.cloud.spanner.SessionPoolOptionsHelper This class is only here to access a package-private method in the Spanner client library and will be removed in the future.
com.google.cloud.spanner.SpannerApiFutures
com.google.cloud.spanner.SpannerExceptionFactory
com.google.cloud.spanner.SpannerOptions
com.google.cloud.spanner.SpannerOptions.Builder
com.google.cloud.spanner.SpannerOptions.FixedCloseableExecutorProvider
com.google.cloud.spanner.SpannerOptions.SpannerCallContextTimeoutConfigurator
com.google.cloud.spanner.SpannerRpcMetrics
com.google.cloud.spanner.Statement
com.google.cloud.spanner.Statement.Builder
com.google.cloud.spanner.Struct
com.google.cloud.spanner.Struct.Builder
com.google.cloud.spanner.ThreadFactoryUtil
com.google.cloud.spanner.TimestampBound
com.google.cloud.spanner.Type
com.google.cloud.spanner.Type.StructField
com.google.cloud.spanner.Value
com.google.cloud.spanner.ValueBinder

Interfaces

Interface Description
com.google.cloud.spanner.AsyncResultSet
com.google.cloud.spanner.AsyncResultSet.ReadyCallback
com.google.cloud.spanner.AsyncResultSet.StreamMessageListener
com.google.cloud.spanner.AsyncRunner
com.google.cloud.spanner.AsyncRunner.AsyncWork
com.google.cloud.spanner.AsyncTransactionManager
com.google.cloud.spanner.AsyncTransactionManager.AsyncTransactionFunction
com.google.cloud.spanner.AsyncTransactionManager.AsyncTransactionStep
com.google.cloud.spanner.AsyncTransactionManager.CommitTimestampFuture
com.google.cloud.spanner.AsyncTransactionManager.TransactionContextFuture
com.google.cloud.spanner.BatchReadOnlyTransaction
com.google.cloud.spanner.Options.AdminApiOption
com.google.cloud.spanner.Options.CreateAdminApiOption
com.google.cloud.spanner.Options.CreateUpdateDeleteAdminApiOption
com.google.cloud.spanner.Options.DeleteAdminApiOption
com.google.cloud.spanner.Options.ListOption
com.google.cloud.spanner.Options.QueryOption
com.google.cloud.spanner.Options.ReadAndQueryOption
com.google.cloud.spanner.Options.ReadOption
com.google.cloud.spanner.Options.ReadQueryUpdateTransactionOption
com.google.cloud.spanner.Options.TransactionOption
com.google.cloud.spanner.Options.UpdateAdminApiOption
com.google.cloud.spanner.Options.UpdateOption
com.google.cloud.spanner.Options.UpdateTransactionOption
com.google.cloud.spanner.ProtobufResultSet
com.google.cloud.spanner.ReadContext
com.google.cloud.spanner.ReadOnlyTransaction
com.google.cloud.spanner.ResultSet
com.google.cloud.spanner.Session
com.google.cloud.spanner.Spanner
com.google.cloud.spanner.SpannerFactory
com.google.cloud.spanner.SpannerOptions.CallContextConfigurator
com.google.cloud.spanner.SpannerOptions.CallCredentialsProvider
com.google.cloud.spanner.SpannerOptions.CloseableExecutorProvider
com.google.cloud.spanner.SpannerOptions.SpannerEnvironment
com.google.cloud.spanner.StructReader
com.google.cloud.spanner.TransactionContext
com.google.cloud.spanner.TransactionManager
com.google.cloud.spanner.TransactionRunner
com.google.cloud.spanner.TransactionRunner.TransactionCallable

Enums

Enum Description
com.google.cloud.spanner.AsyncResultSet.CallbackResponse
com.google.cloud.spanner.AsyncResultSet.CursorState
com.google.cloud.spanner.BackupInfo.State
com.google.cloud.spanner.DatabaseInfo.DatabaseField
com.google.cloud.spanner.DatabaseInfo.State
com.google.cloud.spanner.DecodeMode
com.google.cloud.spanner.Dialect
com.google.cloud.spanner.ErrorCode
com.google.cloud.spanner.InstanceConfigInfo.InstanceConfigField
com.google.cloud.spanner.InstanceConfigInfo.State
com.google.cloud.spanner.InstanceConfigInfo.Type
com.google.cloud.spanner.InstanceInfo.InstanceField
com.google.cloud.spanner.InstanceInfo.State
com.google.cloud.spanner.KeyRange.Endpoint
com.google.cloud.spanner.Mutation.Op
com.google.cloud.spanner.Options.RpcOrderBy
com.google.cloud.spanner.Options.RpcPriority
com.google.cloud.spanner.ReadContext.QueryAnalyzeMode
com.google.cloud.spanner.ReplicaInfo.ReplicaType
com.google.cloud.spanner.RestoreInfo.RestoreSourceType
com.google.cloud.spanner.TimestampBound.Mode
com.google.cloud.spanner.TransactionManager.TransactionState
com.google.cloud.spanner.Type.Code

Exceptions

Exception Description
com.google.cloud.spanner.AbortedDueToConcurrentModificationException
com.google.cloud.spanner.AbortedException
com.google.cloud.spanner.AdminRequestsPerMinuteExceededException
com.google.cloud.spanner.DatabaseNotFoundException
com.google.cloud.spanner.DmlBatchUpdateCountVerificationFailedException
com.google.cloud.spanner.InstanceNotFoundException
com.google.cloud.spanner.IsSslHandshakeException
com.google.cloud.spanner.SessionNotFoundException
com.google.cloud.spanner.SpannerBatchUpdateException
com.google.cloud.spanner.SpannerException
com.google.cloud.spanner.SpannerException.ResourceNotFoundException
com.google.cloud.spanner.TransactionMutationLimitExceededException