[][src]Struct google_spanner1::PartitionOptions

pub struct PartitionOptions {
    pub max_partitions: Option<String>,
    pub partition_size_bytes: Option<String>,
}

Options for a PartitionQueryRequest and PartitionReadRequest.

This type is not used in any activity, and only used as part of another schema.

Fields

max_partitions: Option<String>

Note: This hint is currently ignored by PartitionQuery and PartitionRead requests.

The desired maximum number of partitions to return. For example, this may be set to the number of workers available. The default for this option is currently 10,000. The maximum value is currently 200,000. This is only a hint. The actual number of partitions returned may be smaller or larger than this maximum count request.

partition_size_bytes: Option<String>

Note: This hint is currently ignored by PartitionQuery and PartitionRead requests.

The desired data size for each partition generated. The default for this option is currently 1 GiB. This is only a hint. The actual size of each partition may be smaller or larger than this size request.

Trait Implementations

impl Part for PartitionOptions[src]

impl Clone for PartitionOptions[src]

impl Default for PartitionOptions[src]

impl Debug for PartitionOptions[src]

impl Serialize for PartitionOptions[src]

impl<'de> Deserialize<'de> for PartitionOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]