Struct aws_sdk_glue::model::S3JsonSource
source · [−]#[non_exhaustive]pub struct S3JsonSource { /* private fields */ }Expand description
Specifies a JSON data store stored in Amazon S3.
Implementations
sourceimpl S3JsonSource
impl S3JsonSource
sourcepub fn compression_type(&self) -> Option<&CompressionType>
pub fn compression_type(&self) -> Option<&CompressionType>
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 exclusions(&self) -> Option<&[String]>
pub fn exclusions(&self) -> Option<&[String]>
A string containing a JSON list of Unix-style glob patterns to exclude. For example, "[\"**.pdf\"]" excludes all PDF files.
sourcepub fn group_size(&self) -> Option<&str>
pub fn group_size(&self) -> Option<&str>
The target group size in bytes. The default is computed based on the input data size and the size of your cluster. When there are fewer than 50,000 input files, "groupFiles" must be set to "inPartition" for this to take effect.
sourcepub fn group_files(&self) -> Option<&str>
pub fn group_files(&self) -> Option<&str>
Grouping files is turned on by default when the input contains more than 50,000 files. To turn on grouping with fewer than 50,000 files, set this parameter to "inPartition". To disable grouping when there are more than 50,000 files, set this parameter to "none".
sourcepub fn recurse(&self) -> Option<bool>
pub fn recurse(&self) -> Option<bool>
If set to true, recursively reads files in all subdirectories under the specified paths.
sourcepub fn max_band(&self) -> Option<i32>
pub fn max_band(&self) -> Option<i32>
This option controls the duration in milliseconds after which the s3 listing is likely to be consistent. Files with modification timestamps falling within the last maxBand milliseconds are tracked specially when using JobBookmarks to account for Amazon S3 eventual consistency. Most users don't need to set this option. The default is 900000 milliseconds, or 15 minutes.
sourcepub fn max_files_in_band(&self) -> Option<i32>
pub fn max_files_in_band(&self) -> Option<i32>
This option specifies the maximum number of files to save from the last maxBand seconds. If this number is exceeded, extra files are skipped and only processed in the next job run.
sourcepub fn additional_options(&self) -> Option<&S3DirectSourceAdditionalOptions>
pub fn additional_options(&self) -> Option<&S3DirectSourceAdditionalOptions>
Specifies additional connection options.
sourcepub fn multiline(&self) -> Option<bool>
pub fn multiline(&self) -> Option<bool>
A Boolean value that specifies whether a single record can span multiple lines. This can occur when a field contains a quoted new-line character. You must set this option to True if any record spans multiple lines. The default value is False, which allows for more aggressive file-splitting during parsing.
sourcepub fn output_schemas(&self) -> Option<&[GlueSchema]>
pub fn output_schemas(&self) -> Option<&[GlueSchema]>
Specifies the data schema for the S3 JSON source.
sourceimpl S3JsonSource
impl S3JsonSource
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3JsonSource.
Trait Implementations
sourceimpl Clone for S3JsonSource
impl Clone for S3JsonSource
sourcefn clone(&self) -> S3JsonSource
fn clone(&self) -> S3JsonSource
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more