pub struct TableInfo {
pub name: String,
pub catalog_name: String,
pub namespace_name: String,
pub table_id: u32,
pub table_type: TableType,
pub columns: Vec<ColumnInfo>,
pub primary_key: Option<Vec<String>>,
pub storage_location: Option<String>,
pub data_source_format: DataSourceFormat,
pub storage_options: StorageInfo,
pub comment: Option<String>,
pub properties: HashMap<String, String>,
}Expand description
テーブル情報(公開 API 返却用)。
Fields§
§name: Stringテーブル名。
catalog_name: String所属 Catalog 名。
namespace_name: String所属 Namespace 名。
table_id: u32テーブル ID。
table_type: TableTypeテーブル種別。
columns: Vec<ColumnInfo>カラム情報。
primary_key: Option<Vec<String>>主キー。
storage_location: Option<String>ストレージロケーション。
data_source_format: DataSourceFormatデータソース形式。
storage_options: StorageInfoストレージ設定。
comment: Option<String>コメント。
properties: HashMap<String, String>カスタムプロパティ。
Trait Implementations§
Source§impl From<&TableMetadata> for TableInfo
impl From<&TableMetadata> for TableInfo
Source§fn from(value: &TableMetadata) -> Self
fn from(value: &TableMetadata) -> Self
Converts to this type from the input type.
Source§impl From<TableMetadata> for TableInfo
impl From<TableMetadata> for TableInfo
Source§fn from(value: TableMetadata) -> Self
fn from(value: TableMetadata) -> Self
Converts to this type from the input type.
impl Eq for TableInfo
impl StructuralPartialEq for TableInfo
Auto Trait Implementations§
impl Freeze for TableInfo
impl RefUnwindSafe for TableInfo
impl Send for TableInfo
impl Sync for TableInfo
impl Unpin for TableInfo
impl UnwindSafe for TableInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more