Skip to main content

FieldPathExecution

Trait FieldPathExecution 

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

Required Methods§

Source

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

Source

fn array<'a>(&self, batch: &'a RecordBatch) -> Result<&'a ArrayRef>

Source

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§