Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::PartitionReadRequest.
The request for PartitionRead
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#columns
def columns() -> ::Array<::String>
- (::Array<::String>) — The columns of table to be returned for each row matching this request.
#columns=
def columns=(value) -> ::Array<::String>
- value (::Array<::String>) — The columns of table to be returned for each row matching this request.
- (::Array<::String>) — The columns of table to be returned for each row matching this request.
#index
def index() -> ::String
#index=
def index=(value) -> ::String
#key_set
def key_set() -> ::Google::Cloud::Spanner::V1::KeySet
-
(::Google::Cloud::Spanner::V1::KeySet) — Required.
key_set
identifies the rows to be yielded.key_set
names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index.It is not an error for the
key_set
to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
#key_set=
def key_set=(value) -> ::Google::Cloud::Spanner::V1::KeySet
-
value (::Google::Cloud::Spanner::V1::KeySet) — Required.
key_set
identifies the rows to be yielded.key_set
names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index.It is not an error for the
key_set
to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
-
(::Google::Cloud::Spanner::V1::KeySet) — Required.
key_set
identifies the rows to be yielded.key_set
names the primary keys of the rows in table to be yielded, unless index is present. If index is present, then key_set instead names index keys in index.It is not an error for the
key_set
to name rows that do not exist in the database. Read yields nothing for nonexistent rows.
#partition_options
def partition_options() -> ::Google::Cloud::Spanner::V1::PartitionOptions
- (::Google::Cloud::Spanner::V1::PartitionOptions) — Additional options that affect how many partitions are created.
#partition_options=
def partition_options=(value) -> ::Google::Cloud::Spanner::V1::PartitionOptions
- value (::Google::Cloud::Spanner::V1::PartitionOptions) — Additional options that affect how many partitions are created.
- (::Google::Cloud::Spanner::V1::PartitionOptions) — Additional options that affect how many partitions are created.
#session
def session() -> ::String
- (::String) — Required. The session used to create the partitions.
#session=
def session=(value) -> ::String
- value (::String) — Required. The session used to create the partitions.
- (::String) — Required. The session used to create the partitions.
#table
def table() -> ::String
- (::String) — Required. The name of the table in the database to be read.
#table=
def table=(value) -> ::String
- value (::String) — Required. The name of the table in the database to be read.
- (::String) — Required. The name of the table in the database to be read.
#transaction
def transaction() -> ::Google::Cloud::Spanner::V1::TransactionSelector
- (::Google::Cloud::Spanner::V1::TransactionSelector) — Read only snapshot transactions are supported, read/write and single use transactions are not.
#transaction=
def transaction=(value) -> ::Google::Cloud::Spanner::V1::TransactionSelector
- value (::Google::Cloud::Spanner::V1::TransactionSelector) — Read only snapshot transactions are supported, read/write and single use transactions are not.
- (::Google::Cloud::Spanner::V1::TransactionSelector) — Read only snapshot transactions are supported, read/write and single use transactions are not.