pub struct Column(/* private fields */);Implementations§
Source§impl Column
impl Column
pub fn from_data(data: Arc<dyn ColumnData>) -> Self
pub fn from_canonical(canon: Canonical) -> Self
pub fn from_column_buffer(buffer: ColumnBuffer) -> Self
pub fn data(&self) -> &dyn ColumnData
pub fn ty(&self) -> Type
pub fn is_nullable(&self) -> bool
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn encoding(&self) -> EncodingId
pub fn stats(&self) -> &StatsSet
pub fn nones(&self) -> Option<&NoneBitmap>
pub fn is_defined(&self, idx: usize) -> bool
pub fn get_value(&self, idx: usize) -> Value
pub fn iter(&self) -> Box<dyn Iterator<Item = Value> + '_>
pub fn as_string(&self, idx: usize) -> String
pub fn children(&self) -> &[Column]
pub fn metadata(&self) -> &dyn Any
pub fn to_canonical(&self) -> Result<Arc<Canonical>>
pub fn filter(&self, mask: &RowMask) -> Result<Column>
pub fn take(&self, indices: &Column) -> Result<Column>
pub fn slice(&self, start: usize, end: usize) -> Result<Column>
pub fn materialize(&mut self) -> Result<&mut Canonical>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Column
impl !RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnsafeUnpin for Column
impl !UnwindSafe for Column
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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