Struct aws_sdk_glue::model::StorageDescriptor
source · #[non_exhaustive]pub struct StorageDescriptor { /* private fields */ }Expand description
Describes the physical storage of table data.
Implementations§
source§impl StorageDescriptor
impl StorageDescriptor
sourcepub fn location(&self) -> Option<&str>
pub fn location(&self) -> Option<&str>
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) -> Option<&[String]>
pub fn additional_locations(&self) -> Option<&[String]>
A list of locations that point to the path where a Delta table is located.
sourcepub fn input_format(&self) -> Option<&str>
pub fn input_format(&self) -> Option<&str>
The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
sourcepub fn output_format(&self) -> Option<&str>
pub fn output_format(&self) -> Option<&str>
The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
sourcepub fn compressed(&self) -> bool
pub fn compressed(&self) -> bool
True if the data in the table is compressed, or False if not.
sourcepub fn number_of_buckets(&self) -> i32
pub fn number_of_buckets(&self) -> i32
Must be specified if the table contains any dimension columns.
sourcepub fn serde_info(&self) -> Option<&SerDeInfo>
pub fn serde_info(&self) -> Option<&SerDeInfo>
The serialization/deserialization (SerDe) information.
sourcepub fn bucket_columns(&self) -> Option<&[String]>
pub fn bucket_columns(&self) -> Option<&[String]>
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
sourcepub fn sort_columns(&self) -> Option<&[Order]>
pub fn sort_columns(&self) -> Option<&[Order]>
A list specifying the sort order of each bucket in the table.
sourcepub fn parameters(&self) -> Option<&HashMap<String, String>>
pub fn parameters(&self) -> Option<&HashMap<String, String>>
The user-supplied properties in key-value form.
sourcepub fn skewed_info(&self) -> Option<&SkewedInfo>
pub fn skewed_info(&self) -> Option<&SkewedInfo>
The information about values that appear frequently in a column (skewed values).
sourcepub fn stored_as_sub_directories(&self) -> bool
pub fn stored_as_sub_directories(&self) -> bool
True if the table data is stored in subdirectories, or False if not.
sourcepub fn schema_reference(&self) -> Option<&SchemaReference>
pub fn 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.
source§impl StorageDescriptor
impl StorageDescriptor
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StorageDescriptor.
Trait Implementations§
source§impl Clone for StorageDescriptor
impl Clone for StorageDescriptor
source§fn clone(&self) -> StorageDescriptor
fn clone(&self) -> StorageDescriptor
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StorageDescriptor
impl Debug for StorageDescriptor
source§impl PartialEq<StorageDescriptor> for StorageDescriptor
impl PartialEq<StorageDescriptor> for StorageDescriptor
source§fn eq(&self, other: &StorageDescriptor) -> bool
fn eq(&self, other: &StorageDescriptor) -> bool
self and other values to be equal, and is used
by ==.