Struct aws_sdk_glue::types::S3HudiSource
source · #[non_exhaustive]pub struct S3HudiSource {
pub name: String,
pub paths: Vec<String>,
pub additional_hudi_options: Option<HashMap<String, String>>,
pub additional_options: Option<S3DirectSourceAdditionalOptions>,
pub output_schemas: Option<Vec<GlueSchema>>,
}Expand description
Specifies a Hudi data source stored in Amazon S3.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe name of the Hudi source.
paths: Vec<String>A list of the Amazon S3 paths to read from.
additional_hudi_options: Option<HashMap<String, String>>Specifies additional connection options.
additional_options: Option<S3DirectSourceAdditionalOptions>Specifies additional options for the connector.
output_schemas: Option<Vec<GlueSchema>>Specifies the data schema for the Hudi source.
Implementations§
source§impl S3HudiSource
impl S3HudiSource
sourcepub fn additional_hudi_options(&self) -> Option<&HashMap<String, String>>
pub fn additional_hudi_options(&self) -> Option<&HashMap<String, String>>
Specifies additional connection options.
sourcepub fn additional_options(&self) -> Option<&S3DirectSourceAdditionalOptions>
pub fn additional_options(&self) -> Option<&S3DirectSourceAdditionalOptions>
Specifies additional options for the connector.
sourcepub fn output_schemas(&self) -> &[GlueSchema]
pub fn output_schemas(&self) -> &[GlueSchema]
Specifies the data schema for the Hudi source.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .output_schemas.is_none().
source§impl S3HudiSource
impl S3HudiSource
sourcepub fn builder() -> S3HudiSourceBuilder
pub fn builder() -> S3HudiSourceBuilder
Creates a new builder-style object to manufacture S3HudiSource.
Trait Implementations§
source§impl Clone for S3HudiSource
impl Clone for S3HudiSource
source§fn clone(&self) -> S3HudiSource
fn clone(&self) -> S3HudiSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for S3HudiSource
impl Debug for S3HudiSource
source§impl PartialEq for S3HudiSource
impl PartialEq for S3HudiSource
source§fn eq(&self, other: &S3HudiSource) -> bool
fn eq(&self, other: &S3HudiSource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for S3HudiSource
Auto Trait Implementations§
impl RefUnwindSafe for S3HudiSource
impl Send for S3HudiSource
impl Sync for S3HudiSource
impl Unpin for S3HudiSource
impl UnwindSafe for S3HudiSource
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.