Skip to main content

FieldPathExecution

Trait FieldPathExecution 

Source
pub trait FieldPathExecution {
    // Required methods
    fn field(&self, schema: &Schema) -> Result<Field, Error>;
    fn array<'a>(
        &self,
        batch: &'a RecordBatch,
    ) -> Result<&'a Arc<dyn Array>, Error>;
    fn value(
        &self,
        batch: &RecordBatch,
        row: usize,
    ) -> Result<ScalarValue, Error>;
}

Required Methods§

Source

fn field(&self, schema: &Schema) -> Result<Field, Error>

Source

fn array<'a>(&self, batch: &'a RecordBatch) -> Result<&'a Arc<dyn Array>, Error>

Source

fn value(&self, batch: &RecordBatch, row: usize) -> Result<ScalarValue, Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§