hamelin_legacy 0.4.3

Legacy AST translation code for Hamelin (to be deprecated)
Documentation
//! Legacy AST translation code for Hamelin.
//!
//! This crate contains the original one-shot AST translation code that will
//! eventually be deprecated in favor of the new typed AST approach in hamelin_lib.

pub mod ast;
pub mod compiler;
pub mod env;
pub mod translation;

#[cfg(feature = "trino")]
pub mod executor;
#[cfg(feature = "trino")]
pub mod trino_env;

pub use compiler::{Compiler, FunctionDescription};
pub use hamelin_executor::executor::TimeRange;
pub use translation::{
    ContextualResult, DMLTranslation, QueryTranslation, StatementTranslation, Translation,
};

#[cfg(feature = "trino")]
pub use executor::{LegacyTrinoConfig, LegacyTrinoExecutor};
#[cfg(feature = "trino")]
pub use trino_env::TrinoEnvironmentProvider;