See: Description
| Interface | Description |
|---|---|
| BatchClient |
Interface for the Batch Client that is used to read data from a Cloud Spanner database.
|
| BatchReadOnlyTransaction |
BatchReadOnlyTransaction can be configured to read at timestamps in the past and allows
for exporting arbitrarily large amounts of data from Cloud Spanner databases. |
| DatabaseAdminClient |
Client to do admin operations on a Cloud Spanner Database.
|
| DatabaseClient |
Interface for all the APIs that are used to read/write data into a Cloud Spanner database.
|
| InstanceAdminClient |
Client to do admin operations on Cloud Spanner Instance and Instance Configs.
|
| Options.ListOption |
Marker interface to mark options applicable to list operations in admin API.
|
| Options.QueryOption |
Marker interface to mark options applicable to query operation.
|
| Options.ReadAndQueryOption |
Marker interface to mark options applicable to both Read and Query operations
|
| Options.ReadOption |
Marker interface to mark options applicable to read operation
|
| ReadContext |
A concurrency context in which to run a read or SQL statement.
|
| ReadOnlyTransaction |
A transaction type that provides guaranteed consistency across several reads, but does not allow
writes.
|
| ResultSet |
Provides access to the data returned by a Cloud Spanner read or query.
|
| Session |
A
Session can be used to perform transactions that read and/or modify data in a Cloud
Spanner database. |
| Spanner |
An interface for Cloud Spanner.
|
| SpannerFactory |
Factory to create instance of
Spanner. |
| StructReader |
A base interface for reading the fields of a
STRUCT. |
| TransactionContext |
Context for a single attempt of a locking read-write transaction.
|
| TransactionManager |
An interface for managing the life cycle of a read write transaction including all its retries.
|
| TransactionRunner |
An interface for executing a body of work in the context of a read-write transaction, with
retries for transaction aborts.
|
| TransactionRunner.TransactionCallable<T> |
A unit of work to be performed in the context of a transaction.
|
| Class | Description |
|---|---|
| AbstractStructReader |
Base class for assisting
StructReader implementations. |
| BatchClientImpl |
Default implementation for Batch Client interface.
|
| BatchTransactionId |
BatchTransactionId is unique identifier for BatchReadOnlyTransaction. |
| Database |
Represents a Cloud Spanner database.
|
| DatabaseId |
Represents an id of a Cloud Spanner database resource.
|
| DatabaseInfo |
Represents a Cloud Spanner database.
|
| ForwardingResultSet |
Forwarding implementation of ResultSet that forwards all calls to a delegate.
|
| ForwardingStructReader |
Forwarding implements of StructReader
|
| Instance |
Represents a Cloud Spanner Instance.
|
| Instance.Builder |
Builder of
Instance. |
| InstanceConfig |
Represents a Cloud Spanner instance config.
InstanceConfig adds a layer of service related
functionality over InstanceConfigInfo. |
| InstanceConfigId |
Returns id of a Cloud Spanner instance config.
|
| InstanceConfigInfo |
Represents a Cloud Spanner instance config resource.
|
| InstanceId |
Represents the resource name of a Cloud Spanner Instance.
|
| InstanceInfo |
Represents a Cloud Spanner Instance.
|
| InstanceInfo.Builder |
Builder for
InstanceInfo. |
| Key |
Represents a row key in a Cloud Spanner table or index.
|
| Key.Builder |
Builder for
Key instances. |
| KeyRange |
Represents a range of rows in a table or index.
|
| KeyRange.Builder |
Builder for
KeyRange instances. |
| KeySet |
Defines a collection of Cloud Spanner keys and/or key ranges.
|
| KeySet.Builder |
Builder for
KeySet instances. |
| Mutation |
Represents an individual table modification to be applied to Cloud Spanner.
|
| Mutation.WriteBuilder |
Builder for
Mutation.Op.INSERT, Mutation.Op.INSERT_OR_UPDATE, Mutation.Op.UPDATE, and Mutation.Op.REPLACE mutations. |
| Operation<R,M> |
Represents a long running operation.
|
| Options |
Specifies options for various spanner operations
|
| Partition |
Defines the segments of data to be read in a batch read/query context.
|
| PartitionOptions |
Defines the configuration for the number and size of partitions returned from
BatchReadOnlyTransaction.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...)
and BatchReadOnlyTransaction.partitionQuery(com.google.cloud.spanner.PartitionOptions, com.google.cloud.spanner.Statement, com.google.cloud.spanner.Options.QueryOption...) |
| PartitionOptions.Builder |
Builder for
PartitionOptions instance. |
| ResultSets |
Utility methods for working with
ResultSet. |
| SessionPoolOptions |
Options for the session pool used by
DatabaseClient. |
| SessionPoolOptions.Builder |
Builder for creating SessionPoolOptions.
|
| SpannerExceptionFactory |
A factory for creating instances of
SpannerException and its subtypes. |
| SpannerOptions |
Options for the Cloud Spanner service.
|
| SpannerOptions.Builder |
Builder for
SpannerOptions instances. |
| Statement |
A SQL statement and optional bound parameters that can be executed in a
ReadContext. |
| Statement.Builder |
Builder for
Statement. |
| Struct |
Represents a non-
NULL value of Type.Code.STRUCT. |
| Struct.Builder |
Builder for constructing non-
NULL Struct instances. |
| TimestampBound |
Defines how Cloud Spanner will choose a timestamp for a read-only transaction or a single
read/query.
|
| Type |
Describes a type in the Cloud Spanner type system.
|
| Type.StructField |
Describes an individual field in a
STRUCT type. |
| Value |
Represents a value to be consumed by the Cloud Spanner API.
|
| ValueBinder<R> |
An interface for binding a
Value in some context. |
| Enum | Description |
|---|---|
| DatabaseInfo.State |
State of the database.
|
| ErrorCode |
Enumerates the major types of error that the Cloud Spanner service can produce.
|
| InstanceInfo.InstanceField |
Represent an updatable field in Cloud Spanner instance.
|
| InstanceInfo.State |
State of the Instance.
|
| KeyRange.Endpoint |
Defines whether a range includes or excludes its endpoint keys.
|
| Mutation.Op |
Enumerates the types of mutation that can be applied.
|
| ReadContext.QueryAnalyzeMode |
Used to specify the mode in which the query should be analyzed by
ReadContext.analyzeQuery(Statement,QueryAnalyzeMode). |
| TimestampBound.Mode |
The type of timestamp bound.
|
| TransactionManager.TransactionState |
State of the transaction manager.
|
| Type.Code |
Enumerates the categories of types.
|
| Exception | Description |
|---|---|
| AbortedException |
Exception thrown by Cloud Spanner when an operation detects that a transaction has aborted.
|
| SessionNotFoundException |
Exception thrown by Cloud Spanner when an operation detects that the session that is being used
is no longer valid.
|
| SpannerBatchUpdateException | |
| SpannerException |
Base exception type for all exceptions produced by the Cloud Spanner service.
|
Copyright © 2019 Google LLC. All rights reserved.