Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
com.google.cloud.spanner.connection |
Internal API for Google Cloud Spanner.
|
com.google.cloud.spanner.spi.v1 | |
com.google.cloud.spanner.v1 |
The interfaces provided are listed below, along with usage samples.
|
com.google.cloud.spanner.v1.stub | |
com.google.spanner.v1 |
Class and Description |
---|
ExecuteSqlRequest.QueryOptions
Query optimizer configuration.
|
ResultSetStats
Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
|
Class and Description |
---|
ResultSetStats
Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
|
Class and Description |
---|
BeginTransactionRequest
The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
|
CommitRequest
The request for [Commit][google.spanner.v1.Spanner.Commit].
|
CommitResponse
The response for [Commit][google.spanner.v1.Spanner.Commit].
|
ExecuteBatchDmlRequest
The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
|
ExecuteBatchDmlResponse
The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
|
ExecuteSqlRequest
The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
|
PartialResultSet
Partial results from a streaming read or SQL query.
|
PartitionQueryRequest
The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
|
PartitionReadRequest
The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
|
PartitionResponse
The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
|
ReadRequest
The request for [Read][google.spanner.v1.Spanner.Read] and
[StreamingRead][google.spanner.v1.Spanner.StreamingRead].
|
ResultSet
Results from [Read][google.spanner.v1.Spanner.Read] or
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
|
RollbackRequest
The request for [Rollback][google.spanner.v1.Spanner.Rollback].
|
Session
A session in the Cloud Spanner API.
|
Transaction
A transaction.
|
Class and Description |
---|
BatchCreateSessionsRequest
The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
|
BatchCreateSessionsResponse
The response for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
|
BeginTransactionRequest
The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
|
CommitRequest
The request for [Commit][google.spanner.v1.Spanner.Commit].
|
CommitResponse
The response for [Commit][google.spanner.v1.Spanner.Commit].
|
CreateSessionRequest
The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
|
DatabaseName |
DeleteSessionRequest
The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession].
|
ExecuteBatchDmlRequest
The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
|
ExecuteBatchDmlResponse
The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
|
ExecuteSqlRequest
The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
|
GetSessionRequest
The request for [GetSession][google.spanner.v1.Spanner.GetSession].
|
ListSessionsRequest
The request for [ListSessions][google.spanner.v1.Spanner.ListSessions].
|
ListSessionsResponse
The response for [ListSessions][google.spanner.v1.Spanner.ListSessions].
|
Mutation
A modification to one or more Cloud Spanner rows.
|
PartialResultSet
Partial results from a streaming read or SQL query.
|
PartitionQueryRequest
The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
|
PartitionReadRequest
The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
|
PartitionResponse
The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
|
ReadRequest
The request for [Read][google.spanner.v1.Spanner.Read] and
[StreamingRead][google.spanner.v1.Spanner.StreamingRead].
|
ResultSet
Results from [Read][google.spanner.v1.Spanner.Read] or
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
|
RollbackRequest
The request for [Rollback][google.spanner.v1.Spanner.Rollback].
|
Session
A session in the Cloud Spanner API.
|
SessionName |
Transaction
A transaction.
|
TransactionOptions
Transactions:
Each session can have at most one active transaction at a time (note that
standalone reads and queries use a transaction internally and do count
towards the one transaction limit).
|
Class and Description |
---|
BatchCreateSessionsRequest
The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
|
BatchCreateSessionsResponse
The response for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
|
BeginTransactionRequest
The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
|
CommitRequest
The request for [Commit][google.spanner.v1.Spanner.Commit].
|
CommitResponse
The response for [Commit][google.spanner.v1.Spanner.Commit].
|
CreateSessionRequest
The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
|
DeleteSessionRequest
The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession].
|
ExecuteBatchDmlRequest
The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
|
ExecuteBatchDmlResponse
The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
|
ExecuteSqlRequest
The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
|
GetSessionRequest
The request for [GetSession][google.spanner.v1.Spanner.GetSession].
|
ListSessionsRequest
The request for [ListSessions][google.spanner.v1.Spanner.ListSessions].
|
ListSessionsResponse
The response for [ListSessions][google.spanner.v1.Spanner.ListSessions].
|
PartialResultSet
Partial results from a streaming read or SQL query.
|
PartitionQueryRequest
The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
|
PartitionReadRequest
The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
|
PartitionResponse
The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
|
ReadRequest
The request for [Read][google.spanner.v1.Spanner.Read] and
[StreamingRead][google.spanner.v1.Spanner.StreamingRead].
|
ResultSet
Results from [Read][google.spanner.v1.Spanner.Read] or
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
|
RollbackRequest
The request for [Rollback][google.spanner.v1.Spanner.Rollback].
|
Session
A session in the Cloud Spanner API.
|
Transaction
A transaction.
|
Class and Description |
---|
BatchCreateSessionsRequest
The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
|
BatchCreateSessionsRequest.Builder
The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
|
BatchCreateSessionsRequestOrBuilder |
BatchCreateSessionsResponse
The response for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
|
BatchCreateSessionsResponse.Builder
The response for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions].
|
BatchCreateSessionsResponseOrBuilder |
BeginTransactionRequest
The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
|
BeginTransactionRequest.Builder
The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
|
BeginTransactionRequestOrBuilder |
CommitRequest
The request for [Commit][google.spanner.v1.Spanner.Commit].
|
CommitRequest.Builder
The request for [Commit][google.spanner.v1.Spanner.Commit].
|
CommitRequest.TransactionCase |
CommitRequestOrBuilder |
CommitResponse
The response for [Commit][google.spanner.v1.Spanner.Commit].
|
CommitResponse.Builder
The response for [Commit][google.spanner.v1.Spanner.Commit].
|
CommitResponse.CommitStats
Additional statistics about a commit.
|
CommitResponse.CommitStats.Builder
Additional statistics about a commit.
|
CommitResponse.CommitStatsOrBuilder |
CommitResponseOrBuilder |
CreateSessionRequest
The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
|
CreateSessionRequest.Builder
The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
|
CreateSessionRequestOrBuilder |
DatabaseName |
DatabaseName.Builder
Builder for projects/{project}/instances/{instance}/databases/{database}.
|
DeleteSessionRequest
The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession].
|
DeleteSessionRequest.Builder
The request for [DeleteSession][google.spanner.v1.Spanner.DeleteSession].
|
DeleteSessionRequestOrBuilder |
ExecuteBatchDmlRequest
The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
|
ExecuteBatchDmlRequest.Builder
The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
|
ExecuteBatchDmlRequest.Statement
A single DML statement.
|
ExecuteBatchDmlRequest.Statement.Builder
A single DML statement.
|
ExecuteBatchDmlRequest.StatementOrBuilder |
ExecuteBatchDmlRequestOrBuilder |
ExecuteBatchDmlResponse
The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
|
ExecuteBatchDmlResponse.Builder
The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml].
|
ExecuteBatchDmlResponseOrBuilder |
ExecuteSqlRequest
The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
|
ExecuteSqlRequest.Builder
The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and
[ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql].
|
ExecuteSqlRequest.QueryMode
Mode in which the statement must be processed.
|
ExecuteSqlRequest.QueryOptions
Query optimizer configuration.
|
ExecuteSqlRequest.QueryOptions.Builder
Query optimizer configuration.
|
ExecuteSqlRequest.QueryOptionsOrBuilder |
ExecuteSqlRequestOrBuilder |
GetSessionRequest
The request for [GetSession][google.spanner.v1.Spanner.GetSession].
|
GetSessionRequest.Builder
The request for [GetSession][google.spanner.v1.Spanner.GetSession].
|
GetSessionRequestOrBuilder |
KeyRange
KeyRange represents a range of rows in a table or index.
|
KeyRange.Builder
KeyRange represents a range of rows in a table or index.
|
KeyRange.EndKeyTypeCase |
KeyRange.StartKeyTypeCase |
KeyRangeOrBuilder |
KeySet
`KeySet` defines a collection of Cloud Spanner keys and/or key ranges.
|
KeySet.Builder
`KeySet` defines a collection of Cloud Spanner keys and/or key ranges.
|
KeySetOrBuilder |
ListSessionsRequest
The request for [ListSessions][google.spanner.v1.Spanner.ListSessions].
|
ListSessionsRequest.Builder
The request for [ListSessions][google.spanner.v1.Spanner.ListSessions].
|
ListSessionsRequestOrBuilder |
ListSessionsResponse
The response for [ListSessions][google.spanner.v1.Spanner.ListSessions].
|
ListSessionsResponse.Builder
The response for [ListSessions][google.spanner.v1.Spanner.ListSessions].
|
ListSessionsResponseOrBuilder |
Mutation
A modification to one or more Cloud Spanner rows.
|
Mutation.Builder
A modification to one or more Cloud Spanner rows.
|
Mutation.Delete
Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
|
Mutation.Delete.Builder
Arguments to [delete][google.spanner.v1.Mutation.delete] operations.
|
Mutation.DeleteOrBuilder |
Mutation.OperationCase |
Mutation.Write
Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and
[replace][google.spanner.v1.Mutation.replace] operations.
|
Mutation.Write.Builder
Arguments to [insert][google.spanner.v1.Mutation.insert], [update][google.spanner.v1.Mutation.update], [insert_or_update][google.spanner.v1.Mutation.insert_or_update], and
[replace][google.spanner.v1.Mutation.replace] operations.
|
Mutation.WriteOrBuilder |
MutationOrBuilder |
PartialResultSet
Partial results from a streaming read or SQL query.
|
PartialResultSet.Builder
Partial results from a streaming read or SQL query.
|
PartialResultSetOrBuilder |
Partition
Information returned for each partition returned in a
PartitionResponse.
|
Partition.Builder
Information returned for each partition returned in a
PartitionResponse.
|
PartitionOptions
Options for a PartitionQueryRequest and
PartitionReadRequest.
|
PartitionOptions.Builder
Options for a PartitionQueryRequest and
PartitionReadRequest.
|
PartitionOptionsOrBuilder |
PartitionOrBuilder |
PartitionQueryRequest
The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
|
PartitionQueryRequest.Builder
The request for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
|
PartitionQueryRequestOrBuilder |
PartitionReadRequest
The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
|
PartitionReadRequest.Builder
The request for [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
|
PartitionReadRequestOrBuilder |
PartitionResponse
The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
|
PartitionResponse.Builder
The response for [PartitionQuery][google.spanner.v1.Spanner.PartitionQuery]
or [PartitionRead][google.spanner.v1.Spanner.PartitionRead]
|
PartitionResponseOrBuilder |
PlanNode
Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
|
PlanNode.Builder
Node information for nodes appearing in a [QueryPlan.plan_nodes][google.spanner.v1.QueryPlan.plan_nodes].
|
PlanNode.ChildLink
Metadata associated with a parent-child relationship appearing in a
[PlanNode][google.spanner.v1.PlanNode].
|
PlanNode.ChildLink.Builder
Metadata associated with a parent-child relationship appearing in a
[PlanNode][google.spanner.v1.PlanNode].
|
PlanNode.ChildLinkOrBuilder |
PlanNode.Kind
The kind of [PlanNode][google.spanner.v1.PlanNode].
|
PlanNode.ShortRepresentation
Condensed representation of a node and its subtree.
|
PlanNode.ShortRepresentation.Builder
Condensed representation of a node and its subtree.
|
PlanNode.ShortRepresentationOrBuilder |
PlanNodeOrBuilder |
QueryPlan
Contains an ordered list of nodes appearing in the query plan.
|
QueryPlan.Builder
Contains an ordered list of nodes appearing in the query plan.
|
QueryPlanOrBuilder |
ReadRequest
The request for [Read][google.spanner.v1.Spanner.Read] and
[StreamingRead][google.spanner.v1.Spanner.StreamingRead].
|
ReadRequest.Builder
The request for [Read][google.spanner.v1.Spanner.Read] and
[StreamingRead][google.spanner.v1.Spanner.StreamingRead].
|
ReadRequestOrBuilder |
RequestOptions
Common request options for various APIs.
|
RequestOptions.Builder
Common request options for various APIs.
|
RequestOptions.Priority
The relative priority for requests.
|
RequestOptionsOrBuilder |
ResultSet
Results from [Read][google.spanner.v1.Spanner.Read] or
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
|
ResultSet.Builder
Results from [Read][google.spanner.v1.Spanner.Read] or
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql].
|
ResultSetMetadata
Metadata about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
|
ResultSetMetadata.Builder
Metadata about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
|
ResultSetMetadataOrBuilder |
ResultSetOrBuilder |
ResultSetStats
Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
|
ResultSetStats.Builder
Additional statistics about a [ResultSet][google.spanner.v1.ResultSet] or [PartialResultSet][google.spanner.v1.PartialResultSet].
|
ResultSetStats.RowCountCase |
ResultSetStatsOrBuilder |
RollbackRequest
The request for [Rollback][google.spanner.v1.Spanner.Rollback].
|
RollbackRequest.Builder
The request for [Rollback][google.spanner.v1.Spanner.Rollback].
|
RollbackRequestOrBuilder |
Session
A session in the Cloud Spanner API.
|
Session.Builder
A session in the Cloud Spanner API.
|
SessionName |
SessionName.Builder
Builder for projects/{project}/instances/{instance}/databases/{database}/sessions/{session}.
|
SessionOrBuilder |
SpannerGrpc.SpannerBlockingStub
Cloud Spanner API
The Cloud Spanner API can be used to manage sessions and execute
transactions on data stored in Cloud Spanner databases.
|
SpannerGrpc.SpannerFutureStub
Cloud Spanner API
The Cloud Spanner API can be used to manage sessions and execute
transactions on data stored in Cloud Spanner databases.
|
SpannerGrpc.SpannerStub
Cloud Spanner API
The Cloud Spanner API can be used to manage sessions and execute
transactions on data stored in Cloud Spanner databases.
|
StructType
`StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.
|
StructType.Builder
`StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.
|
StructType.Field
Message representing a single field of a struct.
|
StructType.Field.Builder
Message representing a single field of a struct.
|
StructType.FieldOrBuilder |
StructTypeOrBuilder |
Transaction
A transaction.
|
Transaction.Builder
A transaction.
|
TransactionOptions
Transactions:
Each session can have at most one active transaction at a time (note that
standalone reads and queries use a transaction internally and do count
towards the one transaction limit).
|
TransactionOptions.Builder
Transactions:
Each session can have at most one active transaction at a time (note that
standalone reads and queries use a transaction internally and do count
towards the one transaction limit).
|
TransactionOptions.ModeCase |
TransactionOptions.PartitionedDml
Message type to initiate a Partitioned DML transaction.
|
TransactionOptions.PartitionedDml.Builder
Message type to initiate a Partitioned DML transaction.
|
TransactionOptions.PartitionedDmlOrBuilder |
TransactionOptions.ReadOnly
Message type to initiate a read-only transaction.
|
TransactionOptions.ReadOnly.Builder
Message type to initiate a read-only transaction.
|
TransactionOptions.ReadOnly.TimestampBoundCase |
TransactionOptions.ReadOnlyOrBuilder |
TransactionOptions.ReadWrite
Message type to initiate a read-write transaction.
|
TransactionOptions.ReadWrite.Builder
Message type to initiate a read-write transaction.
|
TransactionOptions.ReadWriteOrBuilder |
TransactionOptionsOrBuilder |
TransactionOrBuilder |
TransactionSelector
This message is used to select the transaction in which a
[Read][google.spanner.v1.Spanner.Read] or
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] call runs.
|
TransactionSelector.Builder
This message is used to select the transaction in which a
[Read][google.spanner.v1.Spanner.Read] or
[ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] call runs.
|
TransactionSelector.SelectorCase |
TransactionSelectorOrBuilder |
Type
`Type` indicates the type of a Cloud Spanner value, as might be stored in a
table cell or returned from an SQL query.
|
Type.Builder
`Type` indicates the type of a Cloud Spanner value, as might be stored in a
table cell or returned from an SQL query.
|
TypeAnnotationCode
`TypeAnnotationCode` is used as a part of [Type][google.spanner.v1.Type] to
disambiguate SQL types that should be used for a given Cloud Spanner value.
|
TypeCode
`TypeCode` is used as part of [Type][google.spanner.v1.Type] to
indicate the type of a Cloud Spanner value.
|
TypeOrBuilder |
Copyright © 2022 Google LLC. All rights reserved.