file_engine/lib.rs
1// Copyright 2023 Greptime Team
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
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#![feature(assert_matches)]
16
17pub mod config;
18pub mod engine;
19pub mod error;
20pub(crate) mod manifest;
21pub(crate) mod query;
22pub(crate) mod region;
23
24#[cfg(any(test, feature = "test"))]
25pub mod test_util;
26
27use datatypes::schema::ColumnSchema;
28use serde::{Deserialize, Serialize};
29
30#[derive(Debug, Clone, Serialize, Deserialize)]
31pub struct FileOptions {
32 pub files: Vec<String>,
33 pub file_column_schemas: Vec<ColumnSchema>,
34}