Struct google_firestore1_beta1::api::PartitionQueryRequest[][src]

pub struct PartitionQueryRequest {
    pub page_size: Option<i32>,
    pub page_token: Option<String>,
    pub partition_count: Option<String>,
    pub structured_query: Option<StructuredQuery>,
}

The request for Firestore.PartitionQuery.

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

page_size: Option<i32>

The maximum number of partitions to return in this call, subject to partition_count. For example, if partition_count = 10 and page_size = 8, the first call to PartitionQuery will return up to 8 partitions and a next_page_token if more results exist. A second call to PartitionQuery will return up to 2 partitions, to complete the total of 10 specified in partition_count.

page_token: Option<String>

The next_page_token value returned from a previous call to PartitionQuery that may be used to get an additional set of results. There are no ordering guarantees between sets of results. Thus, using multiple sets of results will require merging the different result sets. For example, two subsequent calls using a page_token may return: * cursor B, cursor M, cursor Q * cursor A, cursor U, cursor W To obtain a complete result set ordered with respect to the results of the query supplied to PartitionQuery, the results sets should be merged: cursor A, cursor B, cursor M, cursor Q, cursor U, cursor W

partition_count: Option<String>

The desired maximum number of partition points. The partitions may be returned across multiple pages of results. The number must be positive. The actual number of partitions returned may be fewer. For example, this may be set to one fewer than the number of parallel queries to be run, or in running a data pipeline job, one fewer than the number of workers or compute instances available.

structured_query: Option<StructuredQuery>

A structured query. Query must specify collection with all descendants and be ordered by name ascending. Other filters, order bys, limits, offsets, and start/end cursors are not supported.

Trait Implementations

impl Clone for PartitionQueryRequest[src]

impl Debug for PartitionQueryRequest[src]

impl Default for PartitionQueryRequest[src]

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

impl RequestValue for PartitionQueryRequest[src]

impl Serialize for PartitionQueryRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for PartitionQueryRequest[src]

impl Send for PartitionQueryRequest[src]

impl Sync for PartitionQueryRequest[src]

impl Unpin for PartitionQueryRequest[src]

impl UnwindSafe for PartitionQueryRequest[src]

Blanket Implementations

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

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

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

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

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

impl<T> Instrument 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 = Infallible

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.