Uses of Interface
com.google.cloud.spanner.Options.ReadOption
-
Packages that use Options.ReadOption Package Description com.google.cloud.spanner A client for Cloud Spanner - A no-compromise relational database service. -
-
Uses of Options.ReadOption in com.google.cloud.spanner
Subinterfaces of Options.ReadOption in com.google.cloud.spanner Modifier and Type Interface Description static interface
Options.ReadAndQueryOption
Marker interface to mark options applicable to both Read and Query operationsstatic interface
Options.ReadQueryUpdateTransactionOption
Marker interface to mark options applicable to Read, Query, Update and Write operationsMethods in com.google.cloud.spanner that return Options.ReadOption Modifier and Type Method Description static Options.ReadOption
Options. limit(long limit)
Specifying this will cause the read to yield at most this many rows.Methods in com.google.cloud.spanner with parameters of type Options.ReadOption Modifier and Type Method Description List<Partition>
BatchReadOnlyTransaction. partitionRead(PartitionOptions partitionOptions, String table, KeySet keys, Iterable<String> columns, Options.ReadOption... options)
Returns a list ofPartition
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 ofPartition
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 asReadContext.read(String, KeySet, Iterable, ReadOption...)
, but is guaranteed to be non-blocking and will return the results as anAsyncResultSet
.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 asReadContext.readUsingIndex(String, String, KeySet, Iterable, ReadOption...)
, but is guaranteed to be non-blocking and will return its results as anAsyncResultSet
.
-