pub struct StorageDescriptor {
pub bucket_columns: Option<Vec<String>>,
pub columns: Option<Vec<Column>>,
pub compressed: Option<bool>,
pub input_format: Option<String>,
pub location: Option<String>,
pub number_of_buckets: Option<i64>,
pub output_format: Option<String>,
pub parameters: Option<HashMap<String, String>>,
pub serde_info: Option<SerDeInfo>,
pub skewed_info: Option<SkewedInfo>,
pub sort_columns: Option<Vec<Order>>,
pub stored_as_sub_directories: Option<bool>,
}
Describes the physical storage of table data.
bucket_columns: Option<Vec<String>>
A list of reducer grouping columns, clustering columns, and bucketing columns in the table.
columns: Option<Vec<Column>>
A list of the Columns
in the table.
True if the data in the table is compressed, or False if not.
The input format: SequenceFileInputFormat
(binary), or TextInputFormat
, or a custom format.
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.
Must be specified if the table contains any dimension columns.
The output format: SequenceFileOutputFormat
(binary), or IgnoreKeyTextOutputFormat
, or a custom format.
User-supplied properties in key-value form.
Serialization/deserialization (SerDe) information.
Information about values that appear very frequently in a column (skewed values).
sort_columns: Option<Vec<Order>>
A list specifying the sort order of each bucket in the table.
True if the table data is stored in subdirectories, or False if not.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
Deserialize this value from the given Serde deserializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static