Struct aws_sdk_glue::types::S3GlueParquetTarget
source · #[non_exhaustive]pub struct S3GlueParquetTarget {
pub name: String,
pub inputs: Vec<String>,
pub partition_keys: Option<Vec<Vec<String>>>,
pub path: String,
pub compression: Option<ParquetCompressionType>,
pub schema_change_policy: Option<DirectSchemaChangePolicy>,
}
Expand description
Specifies a data target that writes to Amazon S3 in Apache Parquet columnar storage.
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.name: String
The name of the data target.
inputs: Vec<String>
The nodes that are inputs to the data target.
partition_keys: Option<Vec<Vec<String>>>
Specifies native partitioning using a sequence of keys.
path: String
A single Amazon S3 path to write to.
compression: Option<ParquetCompressionType>
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are "gzip"
and "bzip"
).
schema_change_policy: Option<DirectSchemaChangePolicy>
A policy that specifies update behavior for the crawler.
Implementations§
source§impl S3GlueParquetTarget
impl S3GlueParquetTarget
sourcepub fn partition_keys(&self) -> &[Vec<String>]
pub fn partition_keys(&self) -> &[Vec<String>]
Specifies native partitioning using a sequence of keys.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .partition_keys.is_none()
.
sourcepub fn compression(&self) -> Option<&ParquetCompressionType>
pub fn compression(&self) -> Option<&ParquetCompressionType>
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are "gzip"
and "bzip"
).
sourcepub fn schema_change_policy(&self) -> Option<&DirectSchemaChangePolicy>
pub fn schema_change_policy(&self) -> Option<&DirectSchemaChangePolicy>
A policy that specifies update behavior for the crawler.
source§impl S3GlueParquetTarget
impl S3GlueParquetTarget
sourcepub fn builder() -> S3GlueParquetTargetBuilder
pub fn builder() -> S3GlueParquetTargetBuilder
Creates a new builder-style object to manufacture S3GlueParquetTarget
.
Trait Implementations§
source§impl Clone for S3GlueParquetTarget
impl Clone for S3GlueParquetTarget
source§fn clone(&self) -> S3GlueParquetTarget
fn clone(&self) -> S3GlueParquetTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3GlueParquetTarget
impl Debug for S3GlueParquetTarget
source§impl PartialEq for S3GlueParquetTarget
impl PartialEq for S3GlueParquetTarget
source§fn eq(&self, other: &S3GlueParquetTarget) -> bool
fn eq(&self, other: &S3GlueParquetTarget) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3GlueParquetTarget
Auto Trait Implementations§
impl Freeze for S3GlueParquetTarget
impl RefUnwindSafe for S3GlueParquetTarget
impl Send for S3GlueParquetTarget
impl Sync for S3GlueParquetTarget
impl Unpin for S3GlueParquetTarget
impl UnwindSafe for S3GlueParquetTarget
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
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more