Struct google_bigquery2::TimePartitioning [−][src]
pub struct TimePartitioning { pub field: Option<String>, pub expiration_ms: Option<String>, pub type_: Option<String>, pub require_partition_filter: Option<bool>, }
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields
field: Option<String>
[Beta] [Optional] If not set, the table is partitioned by pseudo column, referenced via either '_PARTITIONTIME' as TIMESTAMP type, or '_PARTITIONDATE' as DATE type. If field is specified, the table is instead partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED.
expiration_ms: Option<String>
[Optional] Number of milliseconds for which to keep the storage for partitions in the table. The storage in a partition will have an expiration time of its partition time plus this value.
type_: Option<String>
[Required] The only type supported is DAY, which will generate one partition per day.
require_partition_filter: Option<bool>
[Beta] [Optional] If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified.
Trait Implementations
impl Default for TimePartitioning
[src]
impl Default for TimePartitioning
fn default() -> TimePartitioning
[src]
fn default() -> TimePartitioning
Returns the "default value" for a type. Read more
impl Clone for TimePartitioning
[src]
impl Clone for TimePartitioning
fn clone(&self) -> TimePartitioning
[src]
fn clone(&self) -> TimePartitioning
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for TimePartitioning
[src]
impl Debug for TimePartitioning
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for TimePartitioning
[src]
impl Part for TimePartitioning
Auto Trait Implementations
impl Send for TimePartitioning
impl Send for TimePartitioning
impl Sync for TimePartitioning
impl Sync for TimePartitioning