The request for PartitionRead
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#columns
def columns() -> ::Array<::String>
Returns
- (::Array<::String>) — The columns of table to be returned for each row matching this request.
#columns=
def columns=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The columns of table to be returned for each row matching this request.
Returns
- (::Array<::String>) — The columns of table to be returned for each row matching this request.
#index
def index() -> ::String
Returns
#index=
def index=(value) -> ::String
Parameter
Returns
#key_set
def key_set() -> ::Google::Cloud::Spanner::V1::KeySet
Returns
-
(::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
Parameter
-
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.
Returns
-
(::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
Returns
- (::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
Parameter
- value (::Google::Cloud::Spanner::V1::PartitionOptions) — Additional options that affect how many partitions are created.
Returns
- (::Google::Cloud::Spanner::V1::PartitionOptions) — Additional options that affect how many partitions are created.
#session
def session() -> ::String
Returns
- (::String) — Required. The session used to create the partitions.
#session=
def session=(value) -> ::String
Parameter
- value (::String) — Required. The session used to create the partitions.
Returns
- (::String) — Required. The session used to create the partitions.
#table
def table() -> ::String
Returns
- (::String) — Required. The name of the table in the database to be read.
#table=
def table=(value) -> ::String
Parameter
- value (::String) — Required. The name of the table in the database to be read.
Returns
- (::String) — Required. The name of the table in the database to be read.
#transaction
def transaction() -> ::Google::Cloud::Spanner::V1::TransactionSelector
Returns
- (::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
Parameter
- value (::Google::Cloud::Spanner::V1::TransactionSelector) — Read only snapshot transactions are supported, read/write and single use transactions are not.
Returns
- (::Google::Cloud::Spanner::V1::TransactionSelector) — Read only snapshot transactions are supported, read/write and single use transactions are not.