#[non_exhaustive]pub struct PartitioningDefinition {
pub partitioned_column: Vec<PartitionedColumn>,
/* private fields */
}Expand description
The partitioning information, which includes managed table, external table and metastore partitioned table partition information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.partitioned_column: Vec<PartitionedColumn>Optional. Details about each partitioning column. This field is output only for all partitioning types other than metastore partitioned tables. BigQuery native tables only support 1 partitioning column. Other table types may support 0, 1 or more partitioning columns. For metastore partitioned tables, the order must match the definition order in the Hive Metastore, where it must match the physical layout of the table. For example,
CREATE TABLE a_table(id BIGINT, name STRING) PARTITIONED BY (city STRING, state STRING).
In this case the values must be [‘city’, ‘state’] in that order.
Implementations§
Source§impl PartitioningDefinition
impl PartitioningDefinition
Sourcepub fn set_partitioned_column<T, V>(self, v: T) -> Self
pub fn set_partitioned_column<T, V>(self, v: T) -> Self
Sets the value of partitioned_column.
§Example
use google_cloud_bigquery_v2::model::PartitionedColumn;
let x = PartitioningDefinition::new()
.set_partitioned_column([
PartitionedColumn::default()/* use setters */,
PartitionedColumn::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for PartitioningDefinition
impl Clone for PartitioningDefinition
Source§fn clone(&self) -> PartitioningDefinition
fn clone(&self) -> PartitioningDefinition
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PartitioningDefinition
impl Debug for PartitioningDefinition
Source§impl Default for PartitioningDefinition
impl Default for PartitioningDefinition
Source§fn default() -> PartitioningDefinition
fn default() -> PartitioningDefinition
Source§impl Message for PartitioningDefinition
impl Message for PartitioningDefinition
Source§impl PartialEq for PartitioningDefinition
impl PartialEq for PartitioningDefinition
impl StructuralPartialEq for PartitioningDefinition
Auto Trait Implementations§
impl Freeze for PartitioningDefinition
impl RefUnwindSafe for PartitioningDefinition
impl Send for PartitioningDefinition
impl Sync for PartitioningDefinition
impl Unpin for PartitioningDefinition
impl UnsafeUnpin for PartitioningDefinition
impl UnwindSafe for PartitioningDefinition
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request