Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
Options.ReadAndQueryOption
Marker interface to mark options applicable to both Read and Query operations
|
static interface |
Options.ReadQueryUpdateTransactionOption
Marker interface to mark options applicable to Read, Query, Update and Write operations
|
Modifier and Type | Method and Description |
---|---|
static Options.ReadOption |
Options.limit(long limit)
Specifying this will cause the read to yield at most this many rows.
|
Modifier and Type | Method and Description |
---|---|
List<Partition> |
BatchReadOnlyTransaction.partitionRead(PartitionOptions partitionOptions,
String table,
KeySet keys,
Iterable<String> columns,
Options.ReadOption... options)
Returns a list of
Partition to read zero or more rows from a database. |
List<Partition> |
BatchReadOnlyTransaction.partitionReadUsingIndex(PartitionOptions partitionOptions,
String table,
String index,
KeySet keys,
Iterable<String> columns,
Options.ReadOption... options)
Returns a list of
Partition to read zero or more rows from a database using an index. |
ResultSet |
ReadContext.read(String table,
KeySet keys,
Iterable<String> columns,
Options.ReadOption... options)
Reads zero or more rows from a database.
|
AsyncResultSet |
ReadContext.readAsync(String table,
KeySet keys,
Iterable<String> columns,
Options.ReadOption... options)
Same as
#read(String, KeySet, Iterable, ReadOption...) , but is guaranteed to be
non-blocking and will return the results as an AsyncResultSet . |
ResultSet |
ReadContext.readUsingIndex(String table,
String index,
KeySet keys,
Iterable<String> columns,
Options.ReadOption... options)
Reads zero or more rows from a database using an index.
|
AsyncResultSet |
ReadContext.readUsingIndexAsync(String table,
String index,
KeySet keys,
Iterable<String> columns,
Options.ReadOption... options)
Same as
#readUsingIndex(String, String, KeySet, Iterable, ReadOption...) , but is
guaranteed to be non-blocking and will return its results as an AsyncResultSet . |
Copyright © 2022 Google LLC. All rights reserved.