Skip to main content

query/
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
15mod analyze;
16pub mod datafusion;
17pub mod dist_plan;
18pub mod dummy_catalog;
19pub mod error;
20pub mod executor;
21pub mod log_query;
22pub mod metrics;
23pub mod optimizer;
24pub mod options;
25pub mod parser;
26mod part_sort;
27pub mod physical_wrapper;
28pub mod plan;
29pub mod planner;
30pub mod promql;
31pub mod query_engine;
32mod range_select;
33pub mod region_query;
34pub mod sql;
35pub(crate) mod window_sort;
36
37#[cfg(test)]
38pub(crate) mod test_util;
39#[cfg(test)]
40mod tests;
41
42pub use crate::analyze::{analyze_plan_metrics_to_json_value, dist_analyze_output_schema};
43pub use crate::datafusion::DfContextProviderAdapter;
44pub use crate::query_engine::{
45    QueryEngine, QueryEngineContext, QueryEngineFactory, QueryEngineRef,
46};