pipeline/
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 dispatcher;
16pub mod error;
17mod etl;
18mod manager;
19mod metrics;
20mod tablesuffix;
21
22pub use etl::processor::Processor;
23pub use etl::transform::transformer::greptime::{GreptimePipelineParams, SchemaInfo};
24pub use etl::transform::transformer::identity_pipeline;
25pub use etl::transform::GreptimeTransformer;
26pub use etl::value::{Array, Map, Value};
27pub use etl::{
28    json_array_to_map, json_to_map, parse, simd_json_array_to_map, simd_json_to_map, Content,
29    DispatchedTo, Pipeline, PipelineExecOutput, PipelineMap,
30};
31pub use manager::{
32    pipeline_operator, table, util, IdentityTimeIndex, PipelineContext, PipelineDefinition,
33    PipelineInfo, PipelineRef, PipelineTableRef, PipelineVersion, PipelineWay, SelectInfo,
34    GREPTIME_INTERNAL_IDENTITY_PIPELINE_NAME, GREPTIME_INTERNAL_TRACE_PIPELINE_V1_NAME,
35};