Struct google_spanner1::PartitionReadRequest
source · pub struct PartitionReadRequest {
pub index: Option<String>,
pub transaction: Option<TransactionSelector>,
pub key_set: Option<KeySet>,
pub partition_options: Option<PartitionOptions>,
pub table: Option<String>,
pub columns: Option<Vec<String>>,
}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§
§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.
transaction: Option<TransactionSelector>Read only snapshot transactions are supported, read/write and single use transactions are not.
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 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: 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.
columns: Option<Vec<String>>The columns of table to be returned for each row matching this request.
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 moresource§impl Debug for PartitionReadRequest
impl Debug for PartitionReadRequest
source§impl Default for PartitionReadRequest
impl Default for PartitionReadRequest
source§fn default() -> PartitionReadRequest
fn default() -> PartitionReadRequest
source§impl<'de> Deserialize<'de> for PartitionReadRequest
impl<'de> Deserialize<'de> for PartitionReadRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Serialize for PartitionReadRequest
impl Serialize for PartitionReadRequest
impl RequestValue for PartitionReadRequest
Auto Trait Implementations§
impl Freeze for PartitionReadRequest
impl RefUnwindSafe for PartitionReadRequest
impl Send for PartitionReadRequest
impl Sync for PartitionReadRequest
impl Unpin for PartitionReadRequest
impl UnwindSafe for PartitionReadRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more