Skip to main content

nautilus_persistence/common/
mod.rs

1// -------------------------------------------------------------------------------------------------
2//  Copyright (C) 2015-2026 Nautech Systems Pty Ltd. All rights reserved.
3//  https://nautechsystems.io
4//
5//  Licensed under the GNU Lesser General Public License Version 3.0 (the "License");
6//  You may not use this file except in compliance with the License.
7//  You may obtain a copy of the License at https://www.gnu.org/licenses/lgpl-3.0.en.html
8//
9//  Unless required by applicable law or agreed to in writing, software
10//  distributed under the License is distributed on an "AS IS" BASIS,
11//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//  See the License for the specific language governing permissions and
13//  limitations under the License.
14// -------------------------------------------------------------------------------------------------
15
16//! Shared persistence primitives used by catalog and writer backends.
17
18pub const TABLE_PATH_COLUMN: &str = "_nautilus_table_path";
19pub const DATA_TYPE_COLUMN: &str = "_nautilus_data_type";
20pub const START_TS_COLUMN: &str = "_nautilus_start_ts";
21pub const END_TS_COLUMN: &str = "_nautilus_end_ts";
22pub const STATUS_COLUMN: &str = "_nautilus_status";
23pub const ROW_COUNT_COLUMN: &str = "_nautilus_row_count";
24pub const DATA_VERSION_COLUMN: &str = "_nautilus_data_version";
25pub const SOURCE_COLUMN: &str = "_nautilus_source";
26pub const CREATED_TS_COLUMN: &str = "_nautilus_created_ts";
27pub const SCHEMA_VERSION_COLUMN: &str = "_nautilus_schema_version";
28pub const METADATA_ID_COLUMN: &str = "_nautilus_metadata_id";
29pub const METADATA_JSON_COLUMN: &str = "_nautilus_metadata_json";
30pub const FORMAT_VERSION_COLUMN: &str = "_nautilus_format_version";
31pub const CLUSTER_KEY_COLUMN: &str = "_nautilus_cluster_key";
32
33pub mod conversion;
34pub mod coverage;
35pub mod custom;
36pub mod datafusion;
37pub mod paths;
38pub mod storage;
39
40pub(crate) mod arrow;
41pub(crate) mod backend_name;
42pub(crate) mod metadata;