Skip to main content

uqa_core/
catalog_index.rs

1//
2// Unified Query Algebra
3//
4// Copyright (c) 2023-2026 Cognica, Inc.
5//
6
7//! Durable index catalog metadata shared by storage and planning.
8
9use crate::RelationIdentity;
10
11/// One row from the secondary-index registry.
12#[derive(Debug, Clone)]
13pub struct CatalogIndexRow {
14    pub relation: RelationIdentity,
15    pub index_type: String,
16    pub table_name: String,
17    pub columns_json: String,
18    pub parameters_json: String,
19    /// Durable semantic definition; absent on legacy ordinary secondary indexes.
20    pub definition_json: Option<String>,
21}