pub type PbIndex = Index;Aliased Type§
pub struct PbIndex {Show 16 fields
pub id: TypedId<11>,
pub schema_id: TypedId<4>,
pub database_id: TypedId<3>,
pub name: String,
pub owner: u32,
pub index_table_id: TypedId<1>,
pub primary_table_id: TypedId<1>,
pub index_item: Vec<ExprNode>,
pub index_column_properties: Vec<IndexColumnProperties>,
pub initialized_at_epoch: Option<u64>,
pub created_at_epoch: Option<u64>,
pub stream_job_status: i32,
pub index_columns_len: u32,
pub initialized_at_cluster_version: Option<String>,
pub created_at_cluster_version: Option<String>,
pub create_type: i32,
}Fields§
§id: TypedId<11>§schema_id: TypedId<4>§database_id: TypedId<3>§name: String§owner: u32§index_table_id: TypedId<1>§primary_table_id: TypedId<1>§index_item: Vec<ExprNode>Only InputRef type index is supported Now.
The index of InputRef is the column index of the primary table.
index_column_properties: Vec<IndexColumnProperties>§initialized_at_epoch: Option<u64>§created_at_epoch: Option<u64>§stream_job_status: i32§index_columns_len: u32Use to record the prefix len of the index_item to reconstruct index columns provided by users.
initialized_at_cluster_version: Option<String>Cluster version (tracked by git commit) when initialized/created
created_at_cluster_version: Option<String>§create_type: i32Whether it should use background ddl or block until backfill finishes.