Trait peppi_arrow::Arrow [−][src]
pub trait Arrow {
type Builder: ArrayBuilder;
fn default() -> Self;
fn data_type<C: Context>(context: C) -> DataType;
fn builder<C: Context>(len: usize, context: C) -> Self::Builder;
fn write<C: Context>(&self, builder: &mut dyn ArrayBuilder, context: C);
fn write_null<C: Context>(builder: &mut dyn ArrayBuilder, context: C);
fn read(&mut self, array: ArrayRef, idx: usize);
fn fields<C: Context>(_context: C) -> Vec<Field>ⓘ { ... }
fn is_nullable() -> bool { ... }
}
Associated Types
type Builder: ArrayBuilder
Required methods
fn write<C: Context>(&self, builder: &mut dyn ArrayBuilder, context: C)
fn write_null<C: Context>(builder: &mut dyn ArrayBuilder, context: C)
Provided methods
Implementations on Foreign Types
type Builder = PrimitiveBuilder<Int8Type>
type Builder = PrimitiveBuilder<UInt8Type>
type Builder = PrimitiveBuilder<Int16Type>
type Builder = PrimitiveBuilder<UInt16Type>
type Builder = PrimitiveBuilder<Int32Type>
type Builder = PrimitiveBuilder<UInt32Type>
type Builder = PrimitiveBuilder<Int64Type>
type Builder = PrimitiveBuilder<UInt64Type>
type Builder = PrimitiveBuilder<Float32Type>
type Builder = BooleanBuilder
type Builder = ListBuilder<T::Builder>
TODO: replace with FixedSizeListArray once Parquet supports those