pub struct Table {
pub create_time: Option<f64>,
pub created_by: Option<String>,
pub database_name: Option<String>,
pub description: Option<String>,
pub last_access_time: Option<f64>,
pub last_analyzed_time: Option<f64>,
pub name: String,
pub owner: Option<String>,
pub parameters: Option<HashMap<String, String>>,
pub partition_keys: Option<Vec<Column>>,
pub retention: Option<i64>,
pub storage_descriptor: Option<StorageDescriptor>,
pub table_type: Option<String>,
pub update_time: Option<f64>,
pub view_expanded_text: Option<String>,
pub view_original_text: Option<String>,
}
Represents a collection of related data organized in columns and rows.
Time when the table definition was created in the Data Catalog.
Person or entity who created the table.
Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
Description of the table.
Last time the table was accessed. This is usually taken from HDFS, and may not be reliable.
Last time column statistics were computed for this table.
Name of the table. For Hive compatibility, this must be entirely lowercase.
Properties associated with this table, as a list of key-value pairs.
A list of columns by which the table is partitioned. Only primitive types are supported as partition keys.
Retention time for this table.
A storage descriptor containing information about the physical storage of this table.
The type of this table (EXTERNAL_TABLE
, VIRTUAL_VIEW
, etc.).
Last time the table was updated.
view_expanded_text: Option<String>
If the table is a view, the expanded text of the view; otherwise null
.
If the table is a view, the original text of the view; otherwise null
.
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 !=
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. 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