#[non_exhaustive]
pub struct StorageDescriptor {
Show 14 fields pub columns: Option<Vec<Column>>, pub location: Option<String>, pub additional_locations: Option<Vec<String>>, pub input_format: Option<String>, pub output_format: Option<String>, pub compressed: bool, pub number_of_buckets: i32, pub serde_info: Option<SerDeInfo>, pub bucket_columns: Option<Vec<String>>, pub sort_columns: Option<Vec<Order>>, pub parameters: Option<HashMap<String, String>>, pub skewed_info: Option<SkewedInfo>, pub stored_as_sub_directories: bool, pub schema_reference: Option<SchemaReference>,
}
Expand description

Describes the physical storage of table data.

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.
columns: Option<Vec<Column>>

A list of the Columns in the table.

location: 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.

additional_locations: Option<Vec<String>>input_format: Option<String>

The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.

output_format: Option<String>

The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.

compressed: bool

True if the data in the table is compressed, or False if not.

number_of_buckets: i32

Must be specified if the table contains any dimension columns.

serde_info: Option<SerDeInfo>

The serialization/deserialization (SerDe) information.

bucket_columns: Option<Vec<String>>

A list of reducer grouping columns, clustering columns, and bucketing columns in the table.

sort_columns: Option<Vec<Order>>

A list specifying the sort order of each bucket in the table.

parameters: Option<HashMap<String, String>>

The user-supplied properties in key-value form.

skewed_info: Option<SkewedInfo>

The information about values that appear frequently in a column (skewed values).

stored_as_sub_directories: bool

True if the table data is stored in subdirectories, or False if not.

schema_reference: 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.

Implementations

A list of the Columns in the table.

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.

The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.

The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.

True if the data in the table is compressed, or False if not.

Must be specified if the table contains any dimension columns.

The serialization/deserialization (SerDe) information.

A list of reducer grouping columns, clustering columns, and bucketing columns in the table.

A list specifying the sort order of each bucket in the table.

The user-supplied properties in key-value form.

The information about values that appear frequently in a column (skewed values).

True if the table data is stored in subdirectories, or False if not.

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.

Creates a new builder-style object to manufacture StorageDescriptor

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more