- geEndType() - Method in class com.google.cloud.spanner.KeyRange
-
Indicates whether the end key is inclusive (CLOSED
) or exclusive (OPEN
).
- getArrayElementType() - Method in class com.google.cloud.spanner.Type
-
Returns the type descriptor for elements of this ARRAY
type.
- getBool() - Method in class com.google.cloud.spanner.Value
-
Returns the value of a BOOL
-typed instance.
- getBoolArray() - Method in class com.google.cloud.spanner.Value
-
Returns the value of an ARRAY<BOOL>
-typed instance.
- getBoolean(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBoolean(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBoolean(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getBoolean(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getBoolean(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-
NULL
column with type
Type.bool()
.
- getBoolean(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-
NULL
column with type
Type.bool()
.
- getBooleanArray(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBooleanArray(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBooleanArray(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getBooleanArray(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getBooleanArray(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.bool())
.
- getBooleanArray(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.bool())
.
- getBooleanArrayInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBooleanInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBooleanList(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBooleanList(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBooleanList(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getBooleanList(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getBooleanList(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.bool())
.
- getBooleanList(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.bool())
.
- getBooleanListInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBytes(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBytes(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBytes(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getBytes(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getBytes(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-
NULL
column with type
Type.bytes()
.
- getBytes(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-
NULL
column with type
Type.bytes()
.
- getBytes() - Method in class com.google.cloud.spanner.Value
-
Returns the value of a BYTES
-typed instance.
- getBytesArray() - Method in class com.google.cloud.spanner.Value
-
Returns the value of an ARRAY<BYTES>
-typed instance.
- getBytesInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBytesList(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBytesList(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getBytesList(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getBytesList(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getBytesList(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.bytes())
.
- getBytesList(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.bytes())
.
- getBytesListInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getClient() - Method in class com.google.cloud.spanner.testing.RemoteSpannerHelper
-
- getCode() - Method in class com.google.cloud.spanner.Type
-
Returns the type code corresponding to this type.
- getColumnCount() - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getColumnCount() - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getColumnCount() - Method in interface com.google.cloud.spanner.StructReader
-
Returns the number of columns in the underlying data.
- getColumnIndex(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getColumnIndex(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getColumnIndex(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the index of the column named columnName
.
- getColumns() - Method in class com.google.cloud.spanner.Mutation
-
For all types except
Mutation.Op.DELETE
, returns the columns that this mutation will affect.
- getColumnType(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getColumnType(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getColumnType(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getColumnType(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getColumnType(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the type of a column.
- getColumnType(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the type of a column.
- getCommitTimestamp() - Method in interface com.google.cloud.spanner.TransactionRunner
-
Returns the timestamp at which the transaction committed.
- getCurrentRowAsStruct() - Method in class com.google.cloud.spanner.ForwardingResultSet
-
- getCurrentRowAsStruct() - Method in interface com.google.cloud.spanner.ResultSet
-
Creates an immutable version of the row that the result set is positioned over.
- getDatabase(String, String) - Method in interface com.google.cloud.spanner.DatabaseAdminClient
-
Gets the current state of a Cloud Spanner database.
- getDatabase() - Method in class com.google.cloud.spanner.DatabaseId
-
Returns the database id.
- getDatabase(String) - Method in class com.google.cloud.spanner.Instance
-
- getDatabase(String) - Method in class com.google.cloud.spanner.spi.v1.GrpcSpannerRpc
-
- getDatabase(String) - Method in interface com.google.cloud.spanner.spi.v1.SpannerRpc
-
- getDatabaseAdminClient() - Method in interface com.google.cloud.spanner.Spanner
-
Returns a DatabaseAdminClient
to do admin operations on Cloud Spanner databases.
- getDatabaseClient(DatabaseId) - Method in interface com.google.cloud.spanner.Spanner
-
Returns a DatabaseClient
for the given database.
- getDatabaseClient(Database) - Method in class com.google.cloud.spanner.testing.RemoteSpannerHelper
-
- getDatabaseDdl(String, String) - Method in interface com.google.cloud.spanner.DatabaseAdminClient
-
Returns the schema of a Cloud Spanner database as a list of formatted DDL statements.
- getDatabaseDdl(String) - Method in class com.google.cloud.spanner.spi.v1.GrpcSpannerRpc
-
- getDatabaseDdl(String) - Method in interface com.google.cloud.spanner.spi.v1.SpannerRpc
-
- getDate(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDate(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDate(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getDate(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getDate(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-
NULL
column with type
Type.date()
.
- getDate(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-
NULL
column with type
Type.date()
.
- getDate() - Method in class com.google.cloud.spanner.Value
-
Returns the value of a DATE
-typed instance.
- getDateArray() - Method in class com.google.cloud.spanner.Value
-
Returns the value of an ARRAY<DATE>
-typed instance.
- getDateInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDateList(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDateList(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDateList(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getDateList(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getDateList(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.date())
.
- getDateList(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.date())
.
- getDateListInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDdl() - Method in class com.google.cloud.spanner.Database
-
Returns the schema of a Cloud Spanner database as a list of formatted DDL statements.
- getDefaultGrpcTransportOptions() - Static method in class com.google.cloud.spanner.SpannerOptions
-
- getDefaultHost() - Method in class com.google.cloud.spanner.SpannerOptions
-
- getDefaultInstance() - Static method in class com.google.cloud.spanner.SpannerOptions
-
Returns default instance of SpannerOptions
.
- getDefaultRpcChannelFactory() - Static method in class com.google.cloud.spanner.SpannerOptions
-
Returns the default RPC channel factory used when none is specified.
- getDisplayName() - Method in class com.google.cloud.spanner.InstanceConfigInfo
-
Returns the display name of this instance config.
- getDisplayName() - Method in class com.google.cloud.spanner.InstanceInfo
-
Returns the display name of the instance.
- getDouble(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDouble(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDouble(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getDouble(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getDouble(int) - Method in interface com.google.cloud.spanner.StructReader
-
- getDouble(String) - Method in interface com.google.cloud.spanner.StructReader
-
- getDoubleArray(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDoubleArray(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDoubleArray(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getDoubleArray(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getDoubleArray(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.float64())
.
- getDoubleArray(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.float64())
.
- getDoubleArrayInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDoubleInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDoubleList(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDoubleList(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getDoubleList(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getDoubleList(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getDoubleList(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.float64())
.
- getDoubleList(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.float64())
.
- getDoubleListInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getEnd() - Method in class com.google.cloud.spanner.KeyRange
-
Returns the end key of the range.
- getErrorCode() - Method in exception com.google.cloud.spanner.SpannerException
-
Returns the error code associated with this exception.
- getExactStaleness(TimeUnit) - Method in class com.google.cloud.spanner.TimestampBound
-
Returns the exact staleness, in the units requested, at which reads will be performed.
- getFieldIndex(String) - Method in class com.google.cloud.spanner.Type
-
Returns the index of the field named fieldName
in this STRUCT
type.
- getFloat64() - Method in class com.google.cloud.spanner.Value
-
Returns the value of a FLOAT64
-typed instance.
- getFloat64Array() - Method in class com.google.cloud.spanner.Value
-
Returns the value of an ARRAY<FLOAT64>
-typed instance.
- getId() - Method in class com.google.cloud.spanner.DatabaseInfo
-
Returns the database id.
- getId() - Method in class com.google.cloud.spanner.InstanceConfigInfo
-
- getId() - Method in class com.google.cloud.spanner.InstanceInfo
-
Returns the identifier of the instance.
- getInstance(String) - Method in interface com.google.cloud.spanner.InstanceAdminClient
-
Gets an instance.
- getInstance() - Method in class com.google.cloud.spanner.InstanceId
-
Returns the instance ID.
- getInstance(String) - Method in class com.google.cloud.spanner.spi.v1.GrpcSpannerRpc
-
- getInstance(String) - Method in interface com.google.cloud.spanner.spi.v1.SpannerRpc
-
- getInstanceAdminClient() - Method in interface com.google.cloud.spanner.Spanner
-
Returns an InstanceAdminClient
to do admin operations on Cloud Spanner instances.
- getInstanceConfig(String) - Method in interface com.google.cloud.spanner.InstanceAdminClient
-
Gets an instance config.
- getInstanceConfig() - Method in class com.google.cloud.spanner.InstanceConfigId
-
Returns id of this instance config.
- getInstanceConfig(String) - Method in class com.google.cloud.spanner.spi.v1.GrpcSpannerRpc
-
- getInstanceConfig(String) - Method in interface com.google.cloud.spanner.spi.v1.SpannerRpc
-
- getInstanceConfigId() - Method in class com.google.cloud.spanner.InstanceInfo
-
Returns the identifier of the instance configuration.
- getInstanceId() - Method in class com.google.cloud.spanner.DatabaseId
-
Returns the instance id for this databse.
- getInstanceId() - Method in class com.google.cloud.spanner.testing.RemoteSpannerHelper
-
- getInt64() - Method in class com.google.cloud.spanner.Value
-
Returns the value of a INT64
-typed instance.
- getInt64Array() - Method in class com.google.cloud.spanner.Value
-
Returns the value of an ARRAY<INT64>
-typed instance.
- getKeepAliveIntervalMinutes() - Method in class com.google.cloud.spanner.SessionPoolOptions
-
- getKeys() - Method in class com.google.cloud.spanner.KeySet
-
Returns the keys in this set.
- getKeySet() - Method in class com.google.cloud.spanner.Mutation
-
For
Mutation.Op.DELETE
mutations, returns the key set that defines the rows to be deleted.
- getLabels() - Method in class com.google.cloud.spanner.InstanceInfo
-
Returns the cloud labels attached to this instance.
- getLong(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getLong(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getLong(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getLong(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getLong(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-
NULL
column with type
Type.int64()
.
- getLong(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-
NULL
column with type
Type.int64()
.
- getLongArray(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getLongArray(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getLongArray(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getLongArray(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getLongArray(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.int64())
.
- getLongArray(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.int64())
.
- getLongArrayInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getLongInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getLongList(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getLongList(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getLongList(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getLongList(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getLongList(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.int64())
.
- getLongList(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.int64())
.
- getLongListInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getMaxIdleSessions() - Method in class com.google.cloud.spanner.SessionPoolOptions
-
- getMaxSessions() - Method in class com.google.cloud.spanner.SessionPoolOptions
-
- getMaxStaleness(TimeUnit) - Method in class com.google.cloud.spanner.TimestampBound
-
Returns the maximum staleness, in the units requested, at which reads will be performed.
- getMetadata() - Method in class com.google.cloud.spanner.Operation
-
Returns the metadata returned by the last refersh of this operation.
- getMinReadTimestamp() - Method in class com.google.cloud.spanner.TimestampBound
-
Returns the minimum timestamp at which reads will be performed.
- getMinSessions() - Method in class com.google.cloud.spanner.SessionPoolOptions
-
- getMode() - Method in class com.google.cloud.spanner.TimestampBound
-
- getName() - Method in class com.google.cloud.spanner.DatabaseId
-
Returns the name of this database.
- getName() - Method in class com.google.cloud.spanner.InstanceConfigId
-
Returns the name of the instance config.
- getName() - Method in class com.google.cloud.spanner.InstanceId
-
Returns the name of the instance.
- getName() - Method in class com.google.cloud.spanner.Operation
-
Returns the name of the operation.
- getName() - Method in interface com.google.cloud.spanner.Session
-
Returns the resource name associated with this session.
- getName() - Method in class com.google.cloud.spanner.Type.StructField
-
- getNextPageToken() - Method in class com.google.cloud.spanner.spi.v1.SpannerRpc.Paginated
-
Returns the token to use in the request for the next page, or null if this is the last page.
- getNodeCount() - Method in class com.google.cloud.spanner.InstanceInfo
-
Returns the node count of the instance.
- getOperation() - Method in class com.google.cloud.spanner.Mutation
-
Returns the type of operation that this mutation will perform.
- getOperation(String) - Method in class com.google.cloud.spanner.spi.v1.GrpcSpannerRpc
-
- getOperation(String) - Method in interface com.google.cloud.spanner.spi.v1.SpannerRpc
-
Retrieves a long running operation.
- getOptions() - Method in class com.google.cloud.spanner.testing.RemoteSpannerHelper
-
- getParameters() - Method in class com.google.cloud.spanner.Statement
-
Returns the parameters bound to this Statement
.
- getParts() - Method in class com.google.cloud.spanner.Key
-
Returns the parts in this key.
- getPrefetchChunks() - Method in class com.google.cloud.spanner.SpannerOptions
-
- getProject() - Method in class com.google.cloud.spanner.InstanceConfigId
-
Returns project of this instane config.
- getProject() - Method in class com.google.cloud.spanner.InstanceId
-
Returns the ID of the project that owns this instance.
- getRanges() - Method in class com.google.cloud.spanner.KeySet
-
Returns the ranges in this set.
- getReadTimestamp() - Method in interface com.google.cloud.spanner.ReadOnlyTransaction
-
Returns the timestamp chosen to perform reads and queries in this transaction.
- getReadTimestamp() - Method in class com.google.cloud.spanner.TimestampBound
-
Returns the timestamp at which reads will be performed.
- getResult() - Method in class com.google.cloud.spanner.Operation
-
Returns result of the operation if the operation is complete and had a result.
- getResults() - Method in class com.google.cloud.spanner.spi.v1.SpannerRpc.Paginated
-
Returns the current page of results.
- getRetryDelayInMillis() - Method in exception com.google.cloud.spanner.AbortedException
-
Return the retry delay for transaction in milliseconds.
- getRpcChannels() - Method in class com.google.cloud.spanner.SpannerOptions
-
- getScopes() - Method in class com.google.cloud.spanner.SpannerOptions
-
- getSelector() - Method in enum com.google.cloud.spanner.InstanceInfo.InstanceField
-
- getSessionPoolOptions() - Method in class com.google.cloud.spanner.SpannerOptions
-
- getSpannerRpcV1() - Method in class com.google.cloud.spanner.SpannerOptions
-
- getSql() - Method in class com.google.cloud.spanner.Statement
-
Returns the current SQL statement text.
- getStart() - Method in class com.google.cloud.spanner.KeyRange
-
Returns the start key of the range.
- getStartType() - Method in class com.google.cloud.spanner.KeyRange
-
Indicates whether the start key is inclusive (CLOSED
) or exclusive (OPEN
).
- getState() - Method in class com.google.cloud.spanner.DatabaseInfo
-
Returns the state of the database.
- getState() - Method in class com.google.cloud.spanner.InstanceInfo
-
Returns the current state of the instance.
- getStats() - Method in class com.google.cloud.spanner.ForwardingResultSet
-
- getStats() - Method in interface com.google.cloud.spanner.ResultSet
-
- getString(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getString(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getString(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getString(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getString(int) - Method in interface com.google.cloud.spanner.StructReader
-
- getString(String) - Method in interface com.google.cloud.spanner.StructReader
-
- getString() - Method in class com.google.cloud.spanner.Value
-
Returns the value of a STRING
-typed instance.
- getStringArray() - Method in class com.google.cloud.spanner.Value
-
Returns the value of an ARRAY<STRING>
-typed instance.
- getStringInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getStringList(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getStringList(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getStringList(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getStringList(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getStringList(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.string())
.
- getStringList(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.string())
.
- getStringListInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getStructFields() - Method in class com.google.cloud.spanner.Type
-
Returns the fields of this STRUCT
type.
- getStructList(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getStructList(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getStructList(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getStructList(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getStructList(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.struct(...))
.
- getStructList(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.struct(...))
.
- getStructListInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getTable() - Method in class com.google.cloud.spanner.Mutation
-
Returns the name of the table that this mutation will affect.
- getTimestamp(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getTimestamp(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getTimestamp(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getTimestamp(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getTimestamp(int) - Method in interface com.google.cloud.spanner.StructReader
-
- getTimestamp(String) - Method in interface com.google.cloud.spanner.StructReader
-
- getTimestamp() - Method in class com.google.cloud.spanner.Value
-
Returns the value of a TIMESTAMP
-typed instance.
- getTimestampArray() - Method in class com.google.cloud.spanner.Value
-
Returns the value of an ARRAY<TIMESTAMP>
-typed instance.
- getTimestampInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getTimestampList(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getTimestampList(String) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getTimestampList(int) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getTimestampList(String) - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getTimestampList(int) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.timestamp())
.
- getTimestampList(String) - Method in interface com.google.cloud.spanner.StructReader
-
Returns the value of a non-NULL
column with type Type.array(Type.timestamp())
.
- getTimestampListInternal(int) - Method in class com.google.cloud.spanner.AbstractStructReader
-
- getType() - Method in class com.google.cloud.spanner.ForwardingStructReader
-
- getType() - Method in interface com.google.cloud.spanner.StructReader
-
Returns the type of the underlying data.
- getType() - Method in class com.google.cloud.spanner.Type.StructField
-
- getType() - Method in class com.google.cloud.spanner.Value
-
Returns the type of this value.
- getUniqueDatabaseId() - Method in class com.google.cloud.spanner.testing.RemoteSpannerHelper
-
Returns a database id which is guaranteed to be unique within the context of this environment.
- getValues() - Method in class com.google.cloud.spanner.Mutation
-
For all types except
Mutation.Op.DELETE
, returns the values that this mutation will write.
- getWriteSessionsFraction() - Method in class com.google.cloud.spanner.SessionPoolOptions
-
- GrpcSpannerRpc - Class in com.google.cloud.spanner.spi.v1
-
Implementation of Cloud Spanner remote calls using gRPC.
- GrpcSpannerRpc(SpannerOptions) - Constructor for class com.google.cloud.spanner.spi.v1.GrpcSpannerRpc
-
- Session - Interface in com.google.cloud.spanner
-
A Session
can be used to perform transactions that read and/or modify data in a Cloud
Spanner database.
- SessionPoolOptions - Class in com.google.cloud.spanner
-
Options for the session pool used by DatabaseClient
.
- SessionPoolOptions.Builder - Class in com.google.cloud.spanner
-
Builder for creating SessionPoolOptions.
- SessionPoolOptions.Builder() - Constructor for class com.google.cloud.spanner.SessionPoolOptions.Builder
-
- set(String) - Method in class com.google.cloud.spanner.Mutation.WriteBuilder
-
Returns a binder to set the value of columnName
that should be applied by the
mutation.
- set(String) - Method in class com.google.cloud.spanner.Struct.Builder
-
Returns a binder to set the value of a new field in the struct named fieldName
.
- setAll() - Method in class com.google.cloud.spanner.KeySet.Builder
-
Makes the key set retrieve all rows of a table or index.
- setBlockIfPoolExhausted() - Method in class com.google.cloud.spanner.SessionPoolOptions.Builder
-
If all sessions are in use and there is no more room for creating new sessions, block for a
session to become available.
- setDisplayName(String) - Method in class com.google.cloud.spanner.Instance.Builder
-
- setDisplayName(String) - Method in class com.google.cloud.spanner.InstanceInfo.Builder
-
- setEnd(Key) - Method in class com.google.cloud.spanner.KeyRange.Builder
-
Sets the end key of the range.
- setEndType(KeyRange.Endpoint) - Method in class com.google.cloud.spanner.KeyRange.Builder
-
Sets whether the end key is inclusive (CLOSED
) or exclusive (OPEN
).
- setFailIfPoolExhausted() - Method in class com.google.cloud.spanner.SessionPoolOptions.Builder
-
If all sessions are in use and and
maxSessions
has been reached, fail the request by
throwing a
SpannerException
with the error code
RESOURCE_EXHAUSTED
.
- setInstanceConfigId(InstanceConfigId) - Method in class com.google.cloud.spanner.Instance.Builder
-
- setInstanceConfigId(InstanceConfigId) - Method in class com.google.cloud.spanner.InstanceInfo.Builder
-
- setKeepAliveIntervalMinutes(int) - Method in class com.google.cloud.spanner.SessionPoolOptions.Builder
-
How frequently to keep alive idle sessions.
- setMaxIdleSessions(int) - Method in class com.google.cloud.spanner.SessionPoolOptions.Builder
-
Maximum number of idle sessions that this pool will maintain.
- setMaxSessions(int) - Method in class com.google.cloud.spanner.SessionPoolOptions.Builder
-
Maximum number of sessions that this pool will have.
- setMinSessions(int) - Method in class com.google.cloud.spanner.SessionPoolOptions.Builder
-
Minimum number of sessions that this pool will always maintain.
- setNodeCount(int) - Method in class com.google.cloud.spanner.Instance.Builder
-
- setNodeCount(int) - Method in class com.google.cloud.spanner.InstanceInfo.Builder
-
- setNumChannels(int) - Method in class com.google.cloud.spanner.SpannerOptions.Builder
-
Sets the number of gRPC channels to use.
- setPrefetchChunks(int) - Method in class com.google.cloud.spanner.SpannerOptions.Builder
-
Specifying this will allow the client to prefetch up to prefetchChunks
PartialResultSet
chunks for each read and query.
- setRpcChannelFactory(SpannerOptions.RpcChannelFactory) - Method in class com.google.cloud.spanner.SpannerOptions.Builder
-
Sets the factory for creating gRPC channels.
- setSessionPoolOption(SessionPoolOptions) - Method in class com.google.cloud.spanner.SpannerOptions.Builder
-
Sets the options for managing the session pool.
- setStart(Key) - Method in class com.google.cloud.spanner.KeyRange.Builder
-
Sets the start key of the range.
- setStartType(KeyRange.Endpoint) - Method in class com.google.cloud.spanner.KeyRange.Builder
-
Sets whether the start key is inclusive (CLOSED
) or exclusive (OPEN
).
- setState(InstanceInfo.State) - Method in class com.google.cloud.spanner.Instance.Builder
-
- setState(InstanceInfo.State) - Method in class com.google.cloud.spanner.InstanceInfo.Builder
-
- setTransportOptions(TransportOptions) - Method in class com.google.cloud.spanner.SpannerOptions.Builder
-
- setUserAgentPrefix(String) - Method in class com.google.cloud.spanner.SpannerOptions.Builder
-
If specified, this will be prefixed to the default user agent sent in the requests.
- setWriteSessionsFraction(float) - Method in class com.google.cloud.spanner.SessionPoolOptions.Builder
-
Fraction of sessions to be kept prepared for write transactions.
- singleKey(Key) - Static method in class com.google.cloud.spanner.KeySet
-
Creates a key set containing a single key.
- singleUse() - Method in interface com.google.cloud.spanner.DatabaseClient
-
- singleUse(TimestampBound) - Method in interface com.google.cloud.spanner.DatabaseClient
-
Returns a context in which a single read can be performed at the given timestamp bound.
- singleUseReadOnlyTransaction() - Method in interface com.google.cloud.spanner.DatabaseClient
-
Returns a read-only transaction context in which a single read or query can be performed using
TimestampBound.strong()
concurrency.
- singleUseReadOnlyTransaction(TimestampBound) - Method in interface com.google.cloud.spanner.DatabaseClient
-
* Returns a read-only transaction context in which a single read or query can be performed at the
given timestamp bound.
- size() - Method in class com.google.cloud.spanner.Key
-
Returns the number of parts in this key, including null
values.
- Spanner - Interface in com.google.cloud.spanner
-
An interface for Cloud Spanner.
- SpannerErrorInterceptor - Class in com.google.cloud.spanner.spi.v1
-
Adds error details to statuses returned by the Cloud Spanner API.
- SpannerErrorInterceptor() - Constructor for class com.google.cloud.spanner.spi.v1.SpannerErrorInterceptor
-
- SpannerException - Exception in com.google.cloud.spanner
-
Base exception type for all exceptions produced by the Cloud Spanner service.
- SpannerExceptionFactory - Class in com.google.cloud.spanner
-
- SpannerExceptionFactory() - Constructor for class com.google.cloud.spanner.SpannerExceptionFactory
-
- SpannerFactory - Interface in com.google.cloud.spanner
-
Factory to create instance of Spanner
.
- SpannerOptions - Class in com.google.cloud.spanner
-
Options for the Cloud Spanner service.
- SpannerOptions.Builder - Class in com.google.cloud.spanner
-
- SpannerOptions.RpcChannelFactory - Interface in com.google.cloud.spanner
-
Interface for gRPC channel creation.
- SpannerRpc - Interface in com.google.cloud.spanner.spi.v1
-
Abstracts remote calls to the Cloud Spanner service.
- SpannerRpc.Option - Enum in com.google.cloud.spanner.spi.v1
-
Options passed in
SpannerRpc
methods to control how an RPC is issued.
- SpannerRpc.Paginated<T> - Class in com.google.cloud.spanner.spi.v1
-
Represents results from paginated RPCs, i.e., those where up to a maximum number of items is
returned from each call and a followup call must be made to fetch more.
- SpannerRpc.Paginated(Iterable<T>, String) - Constructor for class com.google.cloud.spanner.spi.v1.SpannerRpc.Paginated
-
Creates a new page of results.
- SpannerRpc.ResultStreamConsumer - Interface in com.google.cloud.spanner.spi.v1
-
Consumer for the results produced by a streaming read or query call.
- SpannerRpc.StreamingCall - Interface in com.google.cloud.spanner.spi.v1
-
Handle for cancellation of a streaming read or query call.
- SpannerRpcFactory - Interface in com.google.cloud.spanner.spi
-
Factory to create instances of SpannerRpc
.
- Statement - Class in com.google.cloud.spanner
-
A SQL statement and optional bound parameters that can be executed in a
ReadContext
.
- Statement.Builder - Class in com.google.cloud.spanner
-
Builder for Statement
.
- string() - Static method in class com.google.cloud.spanner.Type
-
Returns the descriptor for the STRING
type: a variable-length Unicode character string.
- string(String) - Static method in class com.google.cloud.spanner.Value
-
Returns a STRING
value.
- stringArray(Iterable<String>) - Static method in class com.google.cloud.spanner.Value
-
Returns an ARRAY<STRING>
value.
- strong() - Static method in class com.google.cloud.spanner.TimestampBound
-
Returns a timestamp bound that will perform reads and queries at a timestamp where all
previously committed transactions are visible.
- Struct - Class in com.google.cloud.spanner
-
- struct(Iterable<Type.StructField>) - Static method in class com.google.cloud.spanner.Type
-
Returns a descriptor for a STRUCT
type: an ordered collection of named and typed
fields.
- struct(Type.StructField...) - Static method in class com.google.cloud.spanner.Type
-
Returns a descriptor for a STRUCT
type: an ordered collection of named and typed
fields.
- Struct.Builder - Class in com.google.cloud.spanner
-
Builder for Struct
instances.
- StructReader - Interface in com.google.cloud.spanner
-
A base interface for reading the fields of a STRUCT
.
- timestamp() - Static method in class com.google.cloud.spanner.Type
-
Returns the descriptor for the TIMESTAMP
type: a nano precision timestamp in the range
[0000-01-01 00:00:00, 9999-12-31 23:59:59.999999999 UTC].
- timestamp(Timestamp) - Static method in class com.google.cloud.spanner.Value
-
Returns a TIMESTAMP
value.
- timestampArray(Iterable<Timestamp>) - Static method in class com.google.cloud.spanner.Value
-
Returns an ARRAY<TIMESTAMP>
value.
- TimestampBound - Class in com.google.cloud.spanner
-
Defines how Cloud Spanner will choose a timestamp for a read-only transaction or a single
read/query.
- TimestampBound.Mode - Enum in com.google.cloud.spanner
-
The type of timestamp bound.
- to(boolean) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.bool(value)
- to(Boolean) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.bool(value)
- to(long) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.int64(value)
- to(Long) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.int64(value)
- to(double) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.float64(value)
- to(Double) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.float64(value)
- to(String) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.string(value)
- to(ByteArray) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.bytes(value)
- to(Timestamp) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.timestamp(value)
- to(Date) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.date(value)
- toBoolArray(boolean[]) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.boolArray(values)
- toBoolArray(boolean[], int, int) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.boolArray(values, int, pos)
- toBoolArray(Iterable<Boolean>) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.boolArray(values)
- toBuilder() - Method in class com.google.cloud.spanner.Instance
-
- toBuilder() - Method in class com.google.cloud.spanner.InstanceInfo
-
- toBuilder() - Method in class com.google.cloud.spanner.Key
-
Returns a builder initialized with the value of this key.
- toBuilder() - Method in class com.google.cloud.spanner.KeyRange
-
Returns a builder initialized with the value of this range.
- toBuilder() - Method in class com.google.cloud.spanner.KeySet
-
Returns a builder initialized with the contents of this set.
- toBuilder() - Method in class com.google.cloud.spanner.SpannerOptions
-
- toBytesArray(Iterable<ByteArray>) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.bytesArray(values)
- toDateArray(Iterable<Date>) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.dateArray(values)
- toFloat64Array(double[]) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.float64Array(values)
- toFloat64Array(double[], int, int) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.float64Array(values, pos, length)
- toFloat64Array(Iterable<Double>) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.float64Array(values)
- toInt64Array(long[]) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.int64Array(values)
- toInt64Array(long[], int, int) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.int64Array(values, pos, length)
- toInt64Array(Iterable<Long>) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.int64Array(values)
- toString() - Method in class com.google.cloud.spanner.DatabaseId
-
- toString() - Method in class com.google.cloud.spanner.DatabaseInfo
-
- toString() - Method in class com.google.cloud.spanner.InstanceConfigId
-
- toString() - Method in class com.google.cloud.spanner.InstanceConfigInfo
-
- toString() - Method in class com.google.cloud.spanner.InstanceId
-
- toString() - Method in class com.google.cloud.spanner.InstanceInfo
-
- toString() - Method in class com.google.cloud.spanner.Key
-
- toString() - Method in class com.google.cloud.spanner.KeyRange
-
- toString() - Method in class com.google.cloud.spanner.KeySet
-
- toString() - Method in class com.google.cloud.spanner.Mutation
-
- toString() - Method in enum com.google.cloud.spanner.spi.v1.SpannerRpc.Option
-
- toString() - Method in class com.google.cloud.spanner.Statement
-
- toString() - Method in class com.google.cloud.spanner.TimestampBound
-
- toString() - Method in class com.google.cloud.spanner.Type
-
- toString() - Method in class com.google.cloud.spanner.Value
-
- toStringArray(Iterable<String>) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.stringArray(values)
- toTimestampArray(Iterable<Timestamp>) - Method in class com.google.cloud.spanner.ValueBinder
-
Binds to Value.timestampArray(values)
- TransactionContext - Interface in com.google.cloud.spanner
-
Context for a single attempt of a locking read-write transaction.
- TransactionRunner - Interface in com.google.cloud.spanner
-
An interface for executing a body of work in the context of a read-write transaction, with
retries for transaction aborts.
- TransactionRunner.TransactionCallable<T> - Interface in com.google.cloud.spanner
-
A unit of work to be performed in the context of a transaction.
- Type - Class in com.google.cloud.spanner
-
Describes a type in the Cloud Spanner type system.
- Type.Code - Enum in com.google.cloud.spanner
-
Enumerates the categories of types.
- Type.StructField - Class in com.google.cloud.spanner
-
Describes an individual field in a STRUCT type
.
- Value - Class in com.google.cloud.spanner
-
Represents a value to be consumed by the Cloud Spanner API.
- ValueBinder<R> - Class in com.google.cloud.spanner
-
An interface for binding a
Value
in some context.
- valueOf(String) - Static method in enum com.google.cloud.spanner.DatabaseInfo.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.spanner.ErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.spanner.InstanceInfo.InstanceField
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.spanner.InstanceInfo.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.spanner.KeyRange.Endpoint
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.spanner.Mutation.Op
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.spanner.ReadContext.QueryAnalyzeMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.spanner.spi.v1.SpannerRpc.Option
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.spanner.TimestampBound.Mode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.google.cloud.spanner.Type.Code
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.cloud.spanner.DatabaseInfo.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.cloud.spanner.ErrorCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.cloud.spanner.InstanceInfo.InstanceField
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.cloud.spanner.InstanceInfo.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.cloud.spanner.KeyRange.Endpoint
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.cloud.spanner.Mutation.Op
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.cloud.spanner.ReadContext.QueryAnalyzeMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.cloud.spanner.spi.v1.SpannerRpc.Option
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.cloud.spanner.TimestampBound.Mode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.google.cloud.spanner.Type.Code
-
Returns an array containing the constants of this enum type, in
the order they are declared.