Struct aws_sdk_glue::model::StorageDescriptor
source · [−]#[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
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
sourceimpl 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.
pub fn additional_locations(&self) -> Option<&[String]>
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.
sourceimpl StorageDescriptor
impl StorageDescriptor
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StorageDescriptor
Trait Implementations
sourceimpl Clone for StorageDescriptor
impl Clone for StorageDescriptor
sourcefn clone(&self) -> StorageDescriptor
fn clone(&self) -> StorageDescriptor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StorageDescriptor
impl Debug for StorageDescriptor
sourceimpl PartialEq<StorageDescriptor> for StorageDescriptor
impl PartialEq<StorageDescriptor> for StorageDescriptor
sourcefn eq(&self, other: &StorageDescriptor) -> bool
fn eq(&self, other: &StorageDescriptor) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StorageDescriptor) -> bool
fn ne(&self, other: &StorageDescriptor) -> bool
This method tests for !=
.
impl StructuralPartialEq for StorageDescriptor
Auto Trait Implementations
impl RefUnwindSafe for StorageDescriptor
impl Send for StorageDescriptor
impl Sync for StorageDescriptor
impl Unpin for StorageDescriptor
impl UnwindSafe for StorageDescriptor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more