pub struct CategoricalChunkedBuilder { /* private fields */ }Implementations§
Source§impl CategoricalChunkedBuilder
impl CategoricalChunkedBuilder
pub fn new( name: PlSmallStr, capacity: usize, ordering: CategoricalOrdering, ) -> CategoricalChunkedBuilder
Sourcepub fn register_value(&mut self, s: &str) -> (u32, bool)
pub fn register_value(&mut self, s: &str) -> (u32, bool)
Registers a value to a categorical index without pushing it. Returns the index and if the value was new.
pub fn append_value(&mut self, s: &str)
pub fn append_null(&mut self)
pub fn append(&mut self, opt_s: Option<&str>)
pub fn drain_iter_and_finish<'a, I>(self, i: I) -> CategoricalChunked
pub fn finish(self) -> CategoricalChunked
Auto Trait Implementations§
impl Freeze for CategoricalChunkedBuilder
impl RefUnwindSafe for CategoricalChunkedBuilder
impl Send for CategoricalChunkedBuilder
impl Sync for CategoricalChunkedBuilder
impl Unpin for CategoricalChunkedBuilder
impl UnwindSafe for CategoricalChunkedBuilder
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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