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§
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>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".