pub enum Buffer {
Show 17 variants
Boolean(BooleanChunkedBuilder),
Int8(PrimitiveChunkedBuilder<Int8Type>),
Int16(PrimitiveChunkedBuilder<Int16Type>),
Int32(PrimitiveChunkedBuilder<Int32Type>),
Int64(PrimitiveChunkedBuilder<Int64Type>),
UInt8(PrimitiveChunkedBuilder<UInt8Type>),
UInt16(PrimitiveChunkedBuilder<UInt16Type>),
UInt32(PrimitiveChunkedBuilder<UInt32Type>),
UInt64(PrimitiveChunkedBuilder<UInt64Type>),
Float32(PrimitiveChunkedBuilder<Float32Type>),
Float64(PrimitiveChunkedBuilder<Float64Type>),
Utf8(Utf8Field),
Datetime {
buf: DatetimeField<Int64Type>,
time_unit: TimeUnit,
time_zone: Option<PlSmallStr>,
},
Date(DatetimeField<Int32Type>),
Categorical(CategoricalField),
DecimalFloat32(PrimitiveChunkedBuilder<Float32Type>, Vec<u8>),
DecimalFloat64(PrimitiveChunkedBuilder<Float64Type>, Vec<u8>),
}
Available on crate feature
polars-io
only.Variants§
Boolean(BooleanChunkedBuilder)
Int8(PrimitiveChunkedBuilder<Int8Type>)
Available on crate feature
dtype-i8
only.Int16(PrimitiveChunkedBuilder<Int16Type>)
Available on crate feature
dtype-i16
only.Int32(PrimitiveChunkedBuilder<Int32Type>)
Int64(PrimitiveChunkedBuilder<Int64Type>)
UInt8(PrimitiveChunkedBuilder<UInt8Type>)
Available on crate feature
dtype-u8
only.UInt16(PrimitiveChunkedBuilder<UInt16Type>)
Available on crate feature
dtype-u16
only.UInt32(PrimitiveChunkedBuilder<UInt32Type>)
UInt64(PrimitiveChunkedBuilder<UInt64Type>)
Float32(PrimitiveChunkedBuilder<Float32Type>)
Float64(PrimitiveChunkedBuilder<Float64Type>)
Utf8(Utf8Field)
Stores the Utf8 fields and the total string length seen for that column
Datetime
Available on crate feature
dtype-datetime
only.Date(DatetimeField<Int32Type>)
Available on crate feature
dtype-date
only.Categorical(CategoricalField)
DecimalFloat32(PrimitiveChunkedBuilder<Float32Type>, Vec<u8>)
DecimalFloat64(PrimitiveChunkedBuilder<Float64Type>, Vec<u8>)
Implementations§
Auto Trait Implementations§
impl Freeze for Buffer
impl !RefUnwindSafe for Buffer
impl Send for Buffer
impl Sync for Buffer
impl Unpin for Buffer
impl !UnwindSafe for Buffer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more