Skip to main content

arrow_tiberius/
write.rs

1//! Write-path options and policies.
2
3pub use crate::error::WritePhase;
4
5pub(crate) mod context;
6pub(crate) mod direct;
7/// Write-path planning and conversion policies.
8pub mod policy;
9/// Benchmark-only write profiling hooks.
10#[cfg(feature = "bench-profile")]
11pub mod profile;
12#[cfg(not(feature = "bench-profile"))]
13pub(crate) mod profile;
14pub(crate) mod record_batch;
15pub(crate) mod token_row;
16/// Baseline bulk writer public API skeleton.
17pub mod writer;
18
19pub use policy::{
20    BinaryPolicy, Date64Policy, Decimal256Policy, DecimalPolicy, FloatPolicy, NanosecondPolicy,
21    PlanOptions, SchemaCheck, StringPolicy, TimestampPolicy, TimezonePolicy, UInt64Policy,
22};
23pub use record_batch::{
24    validate_arrow_schema_against_mappings, validate_record_batch_schema_against_mappings,
25};
26pub use writer::{BulkWriter, WriteBackend, WriteOptions, WriteStats};