pub struct ByteBoolVTable;
Trait Implementations§
Source§impl ArrayVTable<ByteBoolVTable> for ByteBoolVTable
impl ArrayVTable<ByteBoolVTable> for ByteBoolVTable
fn len(array: &ByteBoolArray) -> usize
fn dtype(array: &ByteBoolArray) -> &DType
fn stats(array: &ByteBoolArray) -> StatsSetRef<'_>
Source§impl CanonicalVTable<ByteBoolVTable> for ByteBoolVTable
impl CanonicalVTable<ByteBoolVTable> for ByteBoolVTable
Source§fn canonicalize(array: &ByteBoolArray) -> VortexResult<Canonical>
fn canonicalize(array: &ByteBoolArray) -> VortexResult<Canonical>
Returns the canonical representation of the array. Read more
Source§fn append_to_builder(
array: &<V as VTable>::Array,
builder: &mut dyn ArrayBuilder,
) -> Result<(), VortexError>
fn append_to_builder( array: &<V as VTable>::Array, builder: &mut dyn ArrayBuilder, ) -> Result<(), VortexError>
Writes the array into a canonical builder. Read more
Source§impl Debug for ByteBoolVTable
impl Debug for ByteBoolVTable
Source§impl MaskKernel for ByteBoolVTable
impl MaskKernel for ByteBoolVTable
Source§fn mask(&self, array: &ByteBoolArray, mask: &Mask) -> VortexResult<ArrayRef>
fn mask(&self, array: &ByteBoolArray, mask: &Mask) -> VortexResult<ArrayRef>
Replace masked values with null in array.
Source§impl OperationsVTable<ByteBoolVTable> for ByteBoolVTable
impl OperationsVTable<ByteBoolVTable> for ByteBoolVTable
Source§fn slice(
array: &ByteBoolArray,
start: usize,
stop: usize,
) -> VortexResult<ArrayRef>
fn slice( array: &ByteBoolArray, start: usize, stop: usize, ) -> VortexResult<ArrayRef>
Perform a constant-time slice of the array. Read more
Source§fn scalar_at(array: &ByteBoolArray, index: usize) -> VortexResult<Scalar>
fn scalar_at(array: &ByteBoolArray, index: usize) -> VortexResult<Scalar>
Fetch the scalar at the given index. Read more
Source§impl SerdeVTable<ByteBoolVTable> for ByteBoolVTable
impl SerdeVTable<ByteBoolVTable> for ByteBoolVTable
type Metadata = EmptyMetadata
Source§fn metadata(_array: &ByteBoolArray) -> VortexResult<Option<Self::Metadata>>
fn metadata(_array: &ByteBoolArray) -> VortexResult<Option<Self::Metadata>>
Exports the metadata for the array. Read more
Source§fn build(
_encoding: &ByteBoolEncoding,
dtype: &DType,
len: usize,
_metadata: &<Self::Metadata as DeserializeMetadata>::Output,
buffers: &[ByteBuffer],
children: &dyn ArrayChildren,
) -> VortexResult<ByteBoolArray>
fn build( _encoding: &ByteBoolEncoding, dtype: &DType, len: usize, _metadata: &<Self::Metadata as DeserializeMetadata>::Output, buffers: &[ByteBuffer], children: &dyn ArrayChildren, ) -> VortexResult<ByteBoolArray>
Build an array from its given parts.
Source§impl TakeKernel for ByteBoolVTable
impl TakeKernel for ByteBoolVTable
Source§fn take(
&self,
array: &ByteBoolArray,
indices: &dyn Array,
) -> VortexResult<ArrayRef>
fn take( &self, array: &ByteBoolArray, indices: &dyn Array, ) -> VortexResult<ArrayRef>
Source§impl VTable for ByteBoolVTable
impl VTable for ByteBoolVTable
type Array = ByteBoolArray
type Encoding = ByteBoolEncoding
type ArrayVTable = ByteBoolVTable
type CanonicalVTable = ByteBoolVTable
type OperationsVTable = ByteBoolVTable
type ValidityVTable = ValidityVTableFromValidityHelper
type VisitorVTable = ByteBoolVTable
Source§type ComputeVTable = NotSupported
type ComputeVTable = NotSupported
Optionally enable implementing dynamic compute dispatch for this encoding.
Can be disabled by assigning to the
NotSupported
type.Source§type EncodeVTable = NotSupported
type EncodeVTable = NotSupported
Optionally enable the
EncodeVTable
for this encoding. This allows it to partake in
compression.
Can be disabled by assigning to the NotSupported
type.Source§type SerdeVTable = ByteBoolVTable
type SerdeVTable = ByteBoolVTable
Optionally enable serde for this encoding by implementing the
SerdeVTable
trait.
Can be disabled by assigning to the NotSupported
type.Source§fn id(_encoding: &Self::Encoding) -> EncodingId
fn id(_encoding: &Self::Encoding) -> EncodingId
Returns the ID of the encoding.
Source§fn encoding(_array: &Self::Array) -> EncodingRef
fn encoding(_array: &Self::Array) -> EncodingRef
Returns the encoding for the array.
Source§impl VisitorVTable<ByteBoolVTable> for ByteBoolVTable
impl VisitorVTable<ByteBoolVTable> for ByteBoolVTable
Source§fn visit_buffers(array: &ByteBoolArray, visitor: &mut dyn ArrayBufferVisitor)
fn visit_buffers(array: &ByteBoolArray, visitor: &mut dyn ArrayBufferVisitor)
Visit the buffers of the array.
Source§fn visit_children(array: &ByteBoolArray, visitor: &mut dyn ArrayChildVisitor)
fn visit_children(array: &ByteBoolArray, visitor: &mut dyn ArrayChildVisitor)
Visit the children of the array.
Auto Trait Implementations§
impl Freeze for ByteBoolVTable
impl RefUnwindSafe for ByteBoolVTable
impl Send for ByteBoolVTable
impl Sync for ByteBoolVTable
impl Unpin for ByteBoolVTable
impl UnwindSafe for ByteBoolVTable
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> 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