Skip to main content

Engine

Trait Engine 

Source
pub trait Engine: AsAny {
    // Required methods
    fn evaluation_handler(&self) -> Arc<dyn EvaluationHandler> ⓘ;
    fn storage_handler(&self) -> Arc<dyn StorageHandler> ⓘ;
    fn json_handler(&self) -> Arc<dyn JsonHandler> ⓘ;
    fn parquet_handler(&self) -> Arc<dyn ParquetHandler> ⓘ;
}
Expand description

The Engine trait encapsulates all the functionality an engine or connector needs to provide to the Delta Kernel in order to read the Delta table.

Engines/Connectors are expected to pass an implementation of this trait when reading a Delta table.

Required Methods§

Source

fn evaluation_handler(&self) -> Arc<dyn EvaluationHandler> ⓘ

Get the connector provided EvaluationHandler.

Source

fn storage_handler(&self) -> Arc<dyn StorageHandler> ⓘ

Get the connector provided StorageHandler

Source

fn json_handler(&self) -> Arc<dyn JsonHandler> ⓘ

Get the connector provided JsonHandler.

Source

fn parquet_handler(&self) -> Arc<dyn ParquetHandler> ⓘ

Get the connector provided ParquetHandler.

Implementors§