pub struct PartitionReadRequest {
pub columns: Option<Vec<String>>,
pub index: Option<String>,
pub key_set: Option<KeySet>,
pub partition_options: Option<PartitionOptions>,
pub table: Option<String>,
pub transaction: Option<TransactionSelector>,
}Expand description
The request for PartitionRead
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§columns: Option<Vec<String>>The columns of table to be returned for each row matching this request.
index: Option<String>If non-empty, the name of an index on table. This index is used instead of the table primary key when interpreting key_set and sorting result rows. See key_set for further information.
key_set: Option<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 isn’t an error for the key_set to name rows that don’t exist in the database. Read yields nothing for nonexistent rows.
partition_options: Option<PartitionOptions>Additional options that affect how many partitions are created.
table: Option<String>Required. The name of the table in the database to be read.
transaction: Option<TransactionSelector>Read only snapshot transactions are supported, read/write and single use transactions are not.
Trait Implementations§
Source§impl Clone for PartitionReadRequest
impl Clone for PartitionReadRequest
Source§fn clone(&self) -> PartitionReadRequest
fn clone(&self) -> PartitionReadRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more