Uses of Interface
com.google.cloud.spanner.Options.ReadOption
Packages that use Options.ReadOption
Package
Description
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.spannerModifier and TypeInterfaceDescriptionstatic interfaceMarker interface to mark options applicable to both Read and Query operationsstatic interfaceMarker interface to mark options applicable to Read, Query, Update and Write operationsMethods in com.google.cloud.spanner that return Options.ReadOptionModifier and TypeMethodDescriptionstatic Options.ReadOptionOptions.limit(long limit) Specifying this will cause the read to yield at most this many rows.static Options.ReadOptionOptions.lockHint(Options.RpcLockHint orderBy) static Options.ReadOptionOptions.orderBy(Options.RpcOrderBy orderBy) Specifies the order_by to use for the RPC.Methods in com.google.cloud.spanner with parameters of type Options.ReadOptionModifier and TypeMethodDescriptionBatchReadOnlyTransaction.partitionRead(PartitionOptions partitionOptions, String table, KeySet keys, Iterable<String> columns, Options.ReadOption... options) Returns a list ofPartitionto read zero or more rows from a database.BatchReadOnlyTransaction.partitionReadUsingIndex(PartitionOptions partitionOptions, String table, String index, KeySet keys, Iterable<String> columns, Options.ReadOption... options) Returns a list ofPartitionto read zero or more rows from a database using an index.ReadContext.read(String table, KeySet keys, Iterable<String> columns, Options.ReadOption... options) Reads zero or more rows from a database.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.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.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.