risingwave_pb::catalog

Type Alias PbIndex

source
pub type PbIndex = Index;
Expand description

Alias for Index.

Aliased Type§

struct PbIndex {
Show 15 fields pub id: u32, pub schema_id: u32, pub database_id: u32, pub name: String, pub owner: u32, pub index_table_id: u32, pub primary_table_id: u32, 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>,
}

Fields§

§id: u32§schema_id: u32§database_id: u32§name: String§owner: u32§index_table_id: u32§primary_table_id: u32§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: u32

Use 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>