Uses of Package
com.google.cloud.spanner
Packages that use com.google.cloud.spanner
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
Internal API for Google Cloud Spanner.
-
Classes in com.google.cloud.spanner used by com.google.cloud.spannerClassDescriptionException thrown by a
Connectionwhen a database operation detects that a transaction has aborted and an internal retry failed because of a concurrent modification.Exception thrown by Cloud Spanner when an operation detects that a transaction has aborted.GenericAbstractLazyInitializerfor any heavy-weight object that might throw an exception during initialization.Base class for assistingStructReaderimplementations.Interface for result sets returned by async query methods.Response code fromtryNext().Interface for receiving asynchronous callbacks when new data is ready.An interface to register the listener for streaming gRPC request.Functional interface for executing a read/write transaction asynchronously that returns a result of type R.An interface for managing the life cycle of a read write transaction including all its retries.Each step in a transaction chain is defined by anAsyncTransactionManager.AsyncTransactionFunction.AsyncTransactionManager.AsyncTransactionStepis returned byAsyncTransactionManager.TransactionContextFuture.then(AsyncTransactionFunction, Executor)andAsyncTransactionManager.AsyncTransactionStep.then(AsyncTransactionFunction, Executor)and allows transaction steps that should be executed serially to be chained together.ApiFuturethat returns the commitTimestampof a Cloud Spanner transaction that is executed using anAsyncTransactionManager.ApiFuturethat returns aTransactionContextand that supports chaining of multipleAsyncTransactionManager.TransactionContextFutures to form a transaction.Represents a Cloud Spanner database backup.Represents an id of a Cloud Spanner backup resource.Represents a Cloud Spanner database backup.State of the backup.Interface for the Batch Client that is used to read data from a Cloud Spanner database.BatchReadOnlyTransactioncan be configured to read at timestamps in the past and allows for exporting arbitrarily large amounts of data from Cloud Spanner databases.BatchTransactionIdis unique identifier forBatchReadOnlyTransaction.Represents a response from a commit operation.Commit statistics are returned by a read/write transaction if specifically requested by passing inOptions.commitStats()to the transaction.Represents a Cloud Spanner database.Client to do admin operations on a Cloud Spanner Database.Interface for all the APIs that are used to read/write data into a Cloud Spanner database.Represents an id of a Cloud Spanner database resource.Represents a Cloud Spanner database.Represent an updatable field in a Cloud Spanner database.State of the database.A Cloud Spanner database role.Specifies how and when to decode a value from protobuf to a plain Java object.Exception thrown by aConnectionwhen an automatic DML batch detects that one or more of the update counts that it returned during the buffering of DML statements does not match with the actual update counts that were returned after execution.Enumerates the major types of error that the Cloud Spanner service can produce.Forwarding implementation of ResultSet that forwards all calls to a delegate.Forwarding implements of StructReaderRepresents a Cloud Spanner Instance.Builder ofInstance.Client to do admin operations on Cloud Spanner Instance and Instance Configs.Represents a Cloud Spanner instance config.InstanceConfigadds a layer of service related functionality overInstanceConfigInfo.Builder ofInstanceConfig.Returns id of a Cloud Spanner instance config.Represents a Cloud Spanner instance config resource.Builder forInstanceConfigInfo.Represent an updatable field in Cloud Spanner InstanceConfig.Type of the Instance config.Type of the Instance config.Represents the resource name of a Cloud Spanner Instance.Represents a Cloud Spanner Instance.Builder forInstanceInfo.Represent an updatable field in Cloud Spanner instance.State of the Instance.Represents the time duration as a combination of months, days and nanoseconds.Represents a row key in a Cloud Spanner table or index.Builder forKeyinstances.Represents a range of rows in a table or index.Builder forKeyRangeinstances.Defines whether a range includes or excludes its endpoint keys.Defines a collection of Cloud Spanner keys and/or key ranges.Builder forKeySetinstances.Represents an individual table modification to be applied to Cloud Spanner.Enumerates the types of mutation that can be applied.Builder forMutation.Op.INSERT,Mutation.Op.INSERT_OR_UPDATE,Mutation.Op.UPDATE, andMutation.Op.REPLACEmutations.Represents a group of Cloud Spanner mutations to be committed together.Represents a long-running operation.Marker interface to mark options applicable to operations in admin API.Marker interface to mark options applicable to Create operations in admin API.Marker interface to mark options applicable to Create, Update and Delete operations in admin API.Marker interface to mark options applicable to Delete operations in admin API.Marker interface to mark options applicable to list operations in admin API.Marker interface to mark options applicable to query operation.Marker interface for options that can be used with both executeQuery and executeUpdate.Marker interface to mark options applicable to both Read and Query operationsMarker interface to mark options applicable to read operationMarker interface to mark options applicable to Read, Query, Update and Write operationsOrderBy for an RPC invocation.Priority for an RPC invocation.Marker interface to mark options applicable to write operationsMarker interface to mark options applicable to Update operations in admin API.Marker interface to mark options applicable to update operation.Marker interface to mark options applicable to Update and Write operationsDefines the segments of data to be read in a batch read/query context.Defines the configuration for the number and size of partitions returned fromBatchReadOnlyTransaction.partitionRead(com.google.cloud.spanner.PartitionOptions, java.lang.String, com.google.cloud.spanner.KeySet, java.lang.Iterable<java.lang.String>, com.google.cloud.spanner.Options.ReadOption...),BatchReadOnlyTransaction.partitionReadUsingIndex(com.google.cloud.spanner.PartitionOptions, java.lang.String, java.lang.String, com.google.cloud.spanner.KeySet, java.lang.Iterable<java.lang.String>, com.google.cloud.spanner.Options.ReadOption...)andBatchReadOnlyTransaction.partitionQuery(com.google.cloud.spanner.PartitionOptions, com.google.cloud.spanner.Statement, com.google.cloud.spanner.Options.QueryOption...)Builder forPartitionOptionsinstance.Interface forResultSets that can return a protobuf value.A concurrency context in which to run a read or SQL statement.Used to specify the mode in which the query should be analyzed byReadContext.analyzeQuery(Statement,QueryAnalyzeMode).A transaction type that provides guaranteed consistency across several reads, but does not allow writes.Represents a Cloud Spanner replica information.Indicates the type of the replica.Represents a restore operation of a Cloud Spanner backup.Represents the restore information of a Cloud Spanner database.Source of the restore information.Provides access to the data returned by a Cloud Spanner read or query.Options for the session pool used byDatabaseClient.Builder for creating SessionPoolOptions.An interface for Cloud Spanner.Base exception type for all exceptions produced by the Cloud Spanner service.Base exception type for NOT_FOUND exceptions for known resource types.Options for the Cloud Spanner service.Builder forSpannerOptionsinstances.Provides the default read-write transaction options for all databases.SpannerOptions.CallContextConfiguratorcan be used to modify theApiCallContextfor one or more specific RPCs.Interface that can be used to provideCallCredentialstoSpannerOptions.ExecutorProviderthat is used forAsyncResultSet.Implementation ofSpannerOptions.CloseableExecutorProviderthat uses a fixed singleScheduledExecutorService.Helper class to configure timeouts for specific Spanner RPCs.The environment to read configuration values from.A SQL statement and optional bound parameters that can be executed in aReadContext.Builder forStatement.Factory for creatingStatements with unnamed parameters.Represents a non-NULLvalue ofType.Code.STRUCT.Builder for constructing non-NULLStructinstances.A base interface for reading the fields of aSTRUCT.Defines how Cloud Spanner will choose a timestamp for a read-only transaction or a single read/query.The type of timestamp bound.Context for a single attempt of a locking read-write transaction.An interface for managing the life cycle of a read write transaction including all its retries.State of the transaction manager.An interface for executing a body of work in the context of a read-write transaction, with retries for transaction aborts.A unit of work to be performed in the context of a transaction.Describes a type in the Cloud Spanner type system.Enumerates the categories of types.Describes an individual field in aSTRUCT type.Represents a value to be consumed by the Cloud Spanner API.An interface for binding aValuein some context. -
Classes in com.google.cloud.spanner used by com.google.cloud.spanner.connectionClassDescriptionInterface for result sets returned by async query methods.
BatchTransactionIdis unique identifier forBatchReadOnlyTransaction.Represents a response from a commit operation.Interface for all the APIs that are used to read/write data into a Cloud Spanner database.Represents an id of a Cloud Spanner database resource.Represents an individual table modification to be applied to Cloud Spanner.Marker interface to mark options applicable to query operation.Marker interface to mark options applicable to Read, Query, Update and Write operationsPriority for an RPC invocation.Marker interface to mark options applicable to update operation.Defines the segments of data to be read in a batch read/query context.Defines the configuration for the number and size of partitions returned fromBatchReadOnlyTransaction.partitionRead(com.google.cloud.spanner.PartitionOptions, java.lang.String, com.google.cloud.spanner.KeySet, java.lang.Iterable<java.lang.String>, com.google.cloud.spanner.Options.ReadOption...),BatchReadOnlyTransaction.partitionReadUsingIndex(com.google.cloud.spanner.PartitionOptions, java.lang.String, java.lang.String, com.google.cloud.spanner.KeySet, java.lang.Iterable<java.lang.String>, com.google.cloud.spanner.Options.ReadOption...)andBatchReadOnlyTransaction.partitionQuery(com.google.cloud.spanner.PartitionOptions, com.google.cloud.spanner.Statement, com.google.cloud.spanner.Options.QueryOption...)Used to specify the mode in which the query should be analyzed byReadContext.analyzeQuery(Statement,QueryAnalyzeMode).Provides access to the data returned by a Cloud Spanner read or query.Options for the session pool used byDatabaseClient.An interface for Cloud Spanner.Base exception type for all exceptions produced by the Cloud Spanner service.A SQL statement and optional bound parameters that can be executed in aReadContext.A base interface for reading the fields of aSTRUCT.Defines how Cloud Spanner will choose a timestamp for a read-only transaction or a single read/query.Exception thrown by Spanner when the transaction mutation limit has been exceeded. -
Classes in com.google.cloud.spanner used by com.google.cloud.spanner.spi.v1ClassDescriptionRepresents a Cloud Spanner database backup.Represents an id of a Cloud Spanner backup resource.Represents a Cloud Spanner database.Represents a restore operation of a Cloud Spanner backup.Base exception type for all exceptions produced by the Cloud Spanner service.Options for the Cloud Spanner service.
-
Classes in com.google.cloud.spanner used by com.google.cloud.spanner.testingClassDescriptionInterface for the Batch Client that is used to read data from a Cloud Spanner database.Represents a Cloud Spanner database.Interface for all the APIs that are used to read/write data into a Cloud Spanner database.Represents the resource name of a Cloud Spanner Instance.An interface for Cloud Spanner.Base exception type for all exceptions produced by the Cloud Spanner service.Options for the Cloud Spanner service.