Enum gapi_grpc::google::privacy::dlp::v2::big_query_options::SampleMethod[][src]

#[repr(i32)]pub enum SampleMethod {
    Unspecified,
    Top,
    RandomStart,
}

How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either rows_limit or rows_limit_percent. If not specified, rows are scanned in the order BigQuery reads them.

Variants

Unspecified
Top

Scan groups of rows in the order BigQuery provides (default). Multiple groups of rows may be scanned in parallel, so results may not appear in the same order the rows are read.

RandomStart

Randomly pick groups of rows to scan.

Implementations

impl SampleMethod[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of SampleMethod.

pub fn from_i32(value: i32) -> Option<SampleMethod>[src]

Converts an i32 to a SampleMethod, or None if value is not a valid variant.

Trait Implementations

impl Clone for SampleMethod[src]

impl Copy for SampleMethod[src]

impl Debug for SampleMethod[src]

impl Default for SampleMethod[src]

impl Eq for SampleMethod[src]

impl From<SampleMethod> for i32[src]

impl Hash for SampleMethod[src]

impl Ord for SampleMethod[src]

impl PartialEq<SampleMethod> for SampleMethod[src]

impl PartialOrd<SampleMethod> for SampleMethod[src]

impl StructuralEq for SampleMethod[src]

impl StructuralPartialEq for SampleMethod[src]

Auto Trait Implementations

impl RefUnwindSafe for SampleMethod

impl Send for SampleMethod

impl Sync for SampleMethod

impl Unpin for SampleMethod

impl UnwindSafe for SampleMethod

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]