exon_common/lib.rs
1// Copyright 2023 WHERE TRUE Technologies.
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//! Common utilities for Exon.
15
16mod object_store_files_from_table_path;
17
18mod array_builder;
19mod table_schema;
20
21pub use array_builder::ExonArrayBuilder;
22pub use object_store_files_from_table_path::object_store_files_from_table_path;
23pub use table_schema::TableSchema;
24pub use table_schema::TableSchemaBuilder;
25
26/// Default batch size for reading and writing.
27pub const DEFAULT_BATCH_SIZE: usize = 8 * 1024;