Trait mz_persist_types::columnar::ColumnPush

source ·
pub trait ColumnPush<T: Data>: ColumnMut<T::Cfg> {
    // Required methods
    fn push<'a>(&mut self, val: T::Ref<'a>);
    fn finish(self) -> T::Col;
}
Expand description

A type that may be added into a column of [T].

Required Methods§

source

fn push<'a>(&mut self, val: T::Ref<'a>)

Pushes a new value into this column.

source

fn finish(self) -> T::Col

Finishes the mutable column returning the corresponding Data::Col.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ColumnPush<Option<bool>> for BooleanBuilder

source§

fn push<'a>(&mut self, val: Option<bool>)

source§

fn finish(self) -> <Option<bool> as Data>::Col

source§

impl ColumnPush<Option<f32>> for PrimitiveBuilder<Float32Type>

source§

fn push<'a>(&mut self, val: Option<f32>)

source§

fn finish(self) -> <Option<f32> as Data>::Col

source§

impl ColumnPush<Option<f64>> for PrimitiveBuilder<Float64Type>

source§

fn push<'a>(&mut self, val: Option<f64>)

source§

fn finish(self) -> <Option<f64> as Data>::Col

source§

impl ColumnPush<Option<i8>> for PrimitiveBuilder<Int8Type>

source§

fn push<'a>(&mut self, val: Option<i8>)

source§

fn finish(self) -> <Option<i8> as Data>::Col

source§

impl ColumnPush<Option<i16>> for PrimitiveBuilder<Int16Type>

source§

fn push<'a>(&mut self, val: Option<i16>)

source§

fn finish(self) -> <Option<i16> as Data>::Col

source§

impl ColumnPush<Option<i32>> for PrimitiveBuilder<Int32Type>

source§

fn push<'a>(&mut self, val: Option<i32>)

source§

fn finish(self) -> <Option<i32> as Data>::Col

source§

impl ColumnPush<Option<i64>> for PrimitiveBuilder<Int64Type>

source§

fn push<'a>(&mut self, val: Option<i64>)

source§

fn finish(self) -> <Option<i64> as Data>::Col

source§

impl ColumnPush<Option<u8>> for PrimitiveBuilder<UInt8Type>

source§

fn push<'a>(&mut self, val: Option<u8>)

source§

fn finish(self) -> <Option<u8> as Data>::Col

source§

impl ColumnPush<Option<u16>> for PrimitiveBuilder<UInt16Type>

source§

fn push<'a>(&mut self, val: Option<u16>)

source§

fn finish(self) -> <Option<u16> as Data>::Col

source§

impl ColumnPush<Option<u32>> for PrimitiveBuilder<UInt32Type>

source§

fn push<'a>(&mut self, val: Option<u32>)

source§

fn finish(self) -> <Option<u32> as Data>::Col

source§

impl ColumnPush<Option<u64>> for PrimitiveBuilder<UInt64Type>

source§

fn push<'a>(&mut self, val: Option<u64>)

source§

fn finish(self) -> <Option<u64> as Data>::Col

source§

impl ColumnPush<Option<String>> for StringBuilder

source§

fn push<'a>(&mut self, val: Option<&'a str>)

source§

fn finish(self) -> <Option<String> as Data>::Col

source§

impl ColumnPush<Option<Vec<u8>>> for BinaryBuilder

source§

fn push<'a>(&mut self, val: Option<&'a [u8]>)

source§

fn finish(self) -> <Vec<u8> as Data>::Col

source§

impl ColumnPush<Option<OpaqueData>> for BinaryBuilder

source§

fn push<'a>(&mut self, val: <Option<OpaqueData> as Data>::Ref<'a>)

source§

fn finish(self) -> <Option<OpaqueData> as Data>::Col

source§

impl ColumnPush<bool> for BooleanBufferBuilder

source§

fn push<'a>(&mut self, val: bool)

source§

fn finish(self) -> <bool as Data>::Col

source§

impl ColumnPush<f32> for PrimitiveBuilder<Float32Type>

source§

fn push<'a>(&mut self, val: f32)

source§

fn finish(self) -> <f32 as Data>::Col

source§

impl ColumnPush<f64> for PrimitiveBuilder<Float64Type>

source§

fn push<'a>(&mut self, val: f64)

source§

fn finish(self) -> <f64 as Data>::Col

source§

impl ColumnPush<i8> for PrimitiveBuilder<Int8Type>

source§

fn push<'a>(&mut self, val: i8)

source§

fn finish(self) -> <i8 as Data>::Col

source§

impl ColumnPush<i16> for PrimitiveBuilder<Int16Type>

source§

fn push<'a>(&mut self, val: i16)

source§

fn finish(self) -> <i16 as Data>::Col

source§

impl ColumnPush<i32> for PrimitiveBuilder<Int32Type>

source§

fn push<'a>(&mut self, val: i32)

source§

fn finish(self) -> <i32 as Data>::Col

source§

impl ColumnPush<i64> for PrimitiveBuilder<Int64Type>

source§

fn push<'a>(&mut self, val: i64)

source§

fn finish(self) -> <i64 as Data>::Col

source§

impl ColumnPush<u8> for PrimitiveBuilder<UInt8Type>

source§

fn push<'a>(&mut self, val: u8)

source§

fn finish(self) -> <u8 as Data>::Col

source§

impl ColumnPush<u16> for PrimitiveBuilder<UInt16Type>

source§

fn push<'a>(&mut self, val: u16)

source§

fn finish(self) -> <u16 as Data>::Col

source§

impl ColumnPush<u32> for PrimitiveBuilder<UInt32Type>

source§

fn push<'a>(&mut self, val: u32)

source§

fn finish(self) -> <u32 as Data>::Col

source§

impl ColumnPush<u64> for PrimitiveBuilder<UInt64Type>

source§

fn push<'a>(&mut self, val: u64)

source§

fn finish(self) -> <u64 as Data>::Col

source§

impl ColumnPush<String> for StringBuilder

source§

fn push<'a>(&mut self, val: &'a str)

source§

fn finish(self) -> <String as Data>::Col

source§

impl ColumnPush<Vec<u8>> for BinaryBuilder

source§

fn push<'a>(&mut self, val: &'a [u8])

source§

fn finish(self) -> <Vec<u8> as Data>::Col

source§

impl ColumnPush<OpaqueData> for BinaryBuilder

source§

fn push<'a>(&mut self, val: <OpaqueData as Data>::Ref<'a>)

source§

fn finish(self) -> <OpaqueData as Data>::Col

Implementors§