Struct aws_sdk_glue::types::builders::StorageDescriptorBuilder
source · #[non_exhaustive]pub struct StorageDescriptorBuilder { /* private fields */ }
Expand description
A builder for StorageDescriptor
.
Implementations§
source§impl StorageDescriptorBuilder
impl StorageDescriptorBuilder
sourcepub fn columns(self, input: Column) -> Self
pub fn columns(self, input: Column) -> Self
Appends an item to columns
.
To override the contents of this collection use set_columns
.
A list of the Columns
in the table.
sourcepub fn set_columns(self, input: Option<Vec<Column>>) -> Self
pub fn set_columns(self, input: Option<Vec<Column>>) -> Self
A list of the Columns
in the table.
sourcepub fn get_columns(&self) -> &Option<Vec<Column>>
pub fn get_columns(&self) -> &Option<Vec<Column>>
A list of the Columns
in the table.
sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
The physical location of the table. By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The physical location of the table. By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The physical location of the table. By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
sourcepub fn additional_locations(self, input: impl Into<String>) -> Self
pub fn additional_locations(self, input: impl Into<String>) -> Self
Appends an item to additional_locations
.
To override the contents of this collection use set_additional_locations
.
A list of locations that point to the path where a Delta table is located.
sourcepub fn set_additional_locations(self, input: Option<Vec<String>>) -> Self
pub fn set_additional_locations(self, input: Option<Vec<String>>) -> Self
A list of locations that point to the path where a Delta table is located.
sourcepub fn get_additional_locations(&self) -> &Option<Vec<String>>
pub fn get_additional_locations(&self) -> &Option<Vec<String>>
A list of locations that point to the path where a Delta table is located.
sourcepub fn input_format(self, input: impl Into<String>) -> Self
pub fn input_format(self, input: impl Into<String>) -> Self
The input format: SequenceFileInputFormat
(binary), or TextInputFormat
, or a custom format.
sourcepub fn set_input_format(self, input: Option<String>) -> Self
pub fn set_input_format(self, input: Option<String>) -> Self
The input format: SequenceFileInputFormat
(binary), or TextInputFormat
, or a custom format.
sourcepub fn get_input_format(&self) -> &Option<String>
pub fn get_input_format(&self) -> &Option<String>
The input format: SequenceFileInputFormat
(binary), or TextInputFormat
, or a custom format.
sourcepub fn output_format(self, input: impl Into<String>) -> Self
pub fn output_format(self, input: impl Into<String>) -> Self
The output format: SequenceFileOutputFormat
(binary), or IgnoreKeyTextOutputFormat
, or a custom format.
sourcepub fn set_output_format(self, input: Option<String>) -> Self
pub fn set_output_format(self, input: Option<String>) -> Self
The output format: SequenceFileOutputFormat
(binary), or IgnoreKeyTextOutputFormat
, or a custom format.
sourcepub fn get_output_format(&self) -> &Option<String>
pub fn get_output_format(&self) -> &Option<String>
The output format: SequenceFileOutputFormat
(binary), or IgnoreKeyTextOutputFormat
, or a custom format.
sourcepub fn compressed(self, input: bool) -> Self
pub fn compressed(self, input: bool) -> Self
True
if the data in the table is compressed, or False
if not.
sourcepub fn set_compressed(self, input: Option<bool>) -> Self
pub fn set_compressed(self, input: Option<bool>) -> Self
True
if the data in the table is compressed, or False
if not.
sourcepub fn get_compressed(&self) -> &Option<bool>
pub fn get_compressed(&self) -> &Option<bool>
True
if the data in the table is compressed, or False
if not.
sourcepub fn number_of_buckets(self, input: i32) -> Self
pub fn number_of_buckets(self, input: i32) -> Self
Must be specified if the table contains any dimension columns.
sourcepub fn set_number_of_buckets(self, input: Option<i32>) -> Self
pub fn set_number_of_buckets(self, input: Option<i32>) -> Self
Must be specified if the table contains any dimension columns.
sourcepub fn get_number_of_buckets(&self) -> &Option<i32>
pub fn get_number_of_buckets(&self) -> &Option<i32>
Must be specified if the table contains any dimension columns.
sourcepub fn serde_info(self, input: SerDeInfo) -> Self
pub fn serde_info(self, input: SerDeInfo) -> Self
The serialization/deserialization (SerDe) information.
sourcepub fn set_serde_info(self, input: Option<SerDeInfo>) -> Self
pub fn set_serde_info(self, input: Option<SerDeInfo>) -> Self
The serialization/deserialization (SerDe) information.
sourcepub fn get_serde_info(&self) -> &Option<SerDeInfo>
pub fn get_serde_info(&self) -> &Option<SerDeInfo>
The serialization/deserialization (SerDe) information.
sourcepub fn bucket_columns(self, input: impl Into<String>) -> Self
pub fn bucket_columns(self, input: impl Into<String>) -> Self
Appends an item to bucket_columns
.
To override the contents of this collection use set_bucket_columns
.
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
sourcepub fn set_bucket_columns(self, input: Option<Vec<String>>) -> Self
pub fn set_bucket_columns(self, input: Option<Vec<String>>) -> Self
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
sourcepub fn get_bucket_columns(&self) -> &Option<Vec<String>>
pub fn get_bucket_columns(&self) -> &Option<Vec<String>>
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
sourcepub fn sort_columns(self, input: Order) -> Self
pub fn sort_columns(self, input: Order) -> Self
Appends an item to sort_columns
.
To override the contents of this collection use set_sort_columns
.
A list specifying the sort order of each bucket in the table.
sourcepub fn set_sort_columns(self, input: Option<Vec<Order>>) -> Self
pub fn set_sort_columns(self, input: Option<Vec<Order>>) -> Self
A list specifying the sort order of each bucket in the table.
sourcepub fn get_sort_columns(&self) -> &Option<Vec<Order>>
pub fn get_sort_columns(&self) -> &Option<Vec<Order>>
A list specifying the sort order of each bucket in the table.
sourcepub fn parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn parameters(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to parameters
.
To override the contents of this collection use set_parameters
.
The user-supplied properties in key-value form.
sourcepub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_parameters(self, input: Option<HashMap<String, String>>) -> Self
The user-supplied properties in key-value form.
sourcepub fn get_parameters(&self) -> &Option<HashMap<String, String>>
pub fn get_parameters(&self) -> &Option<HashMap<String, String>>
The user-supplied properties in key-value form.
sourcepub fn skewed_info(self, input: SkewedInfo) -> Self
pub fn skewed_info(self, input: SkewedInfo) -> Self
The information about values that appear frequently in a column (skewed values).
sourcepub fn set_skewed_info(self, input: Option<SkewedInfo>) -> Self
pub fn set_skewed_info(self, input: Option<SkewedInfo>) -> Self
The information about values that appear frequently in a column (skewed values).
sourcepub fn get_skewed_info(&self) -> &Option<SkewedInfo>
pub fn get_skewed_info(&self) -> &Option<SkewedInfo>
The information about values that appear frequently in a column (skewed values).
sourcepub fn stored_as_sub_directories(self, input: bool) -> Self
pub fn stored_as_sub_directories(self, input: bool) -> Self
True
if the table data is stored in subdirectories, or False
if not.
sourcepub fn set_stored_as_sub_directories(self, input: Option<bool>) -> Self
pub fn set_stored_as_sub_directories(self, input: Option<bool>) -> Self
True
if the table data is stored in subdirectories, or False
if not.
sourcepub fn get_stored_as_sub_directories(&self) -> &Option<bool>
pub fn get_stored_as_sub_directories(&self) -> &Option<bool>
True
if the table data is stored in subdirectories, or False
if not.
sourcepub fn schema_reference(self, input: SchemaReference) -> Self
pub fn schema_reference(self, input: SchemaReference) -> Self
An object that references a schema stored in the Glue Schema Registry.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
sourcepub fn set_schema_reference(self, input: Option<SchemaReference>) -> Self
pub fn set_schema_reference(self, input: Option<SchemaReference>) -> Self
An object that references a schema stored in the Glue Schema Registry.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
sourcepub fn get_schema_reference(&self) -> &Option<SchemaReference>
pub fn get_schema_reference(&self) -> &Option<SchemaReference>
An object that references a schema stored in the Glue Schema Registry.
When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.
sourcepub fn build(self) -> StorageDescriptor
pub fn build(self) -> StorageDescriptor
Consumes the builder and constructs a StorageDescriptor
.
Trait Implementations§
source§impl Clone for StorageDescriptorBuilder
impl Clone for StorageDescriptorBuilder
source§fn clone(&self) -> StorageDescriptorBuilder
fn clone(&self) -> StorageDescriptorBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StorageDescriptorBuilder
impl Debug for StorageDescriptorBuilder
source§impl Default for StorageDescriptorBuilder
impl Default for StorageDescriptorBuilder
source§fn default() -> StorageDescriptorBuilder
fn default() -> StorageDescriptorBuilder
source§impl PartialEq for StorageDescriptorBuilder
impl PartialEq for StorageDescriptorBuilder
source§fn eq(&self, other: &StorageDescriptorBuilder) -> bool
fn eq(&self, other: &StorageDescriptorBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StorageDescriptorBuilder
Auto Trait Implementations§
impl Freeze for StorageDescriptorBuilder
impl RefUnwindSafe for StorageDescriptorBuilder
impl Send for StorageDescriptorBuilder
impl Sync for StorageDescriptorBuilder
impl Unpin for StorageDescriptorBuilder
impl UnwindSafe for StorageDescriptorBuilder
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