Trait mz_persist_types::columnar::sealed::ColumnRef
source · pub trait ColumnRef<Cfg>:
Sized
+ Send
+ Sync {
// Required methods
fn cfg(&self) -> &Cfg;
fn len(&self) -> usize;
fn to_arrow(&self) -> Arc<dyn Array>;
fn from_arrow(cfg: &Cfg, array: &dyn Array) -> Result<Self, String>;
}
Expand description
A common trait implemented by all Data::Col
types.
Required Methods§
sourcefn cfg(&self) -> &Cfg
fn cfg(&self) -> &Cfg
Returns the super::ColumnCfg for this column.
Object Safety§
This trait is not object safe.