pub struct DateTimePartsVTable;Trait Implementations§
Source§impl ArrayVTable<DateTimePartsVTable> for DateTimePartsVTable
impl ArrayVTable<DateTimePartsVTable> for DateTimePartsVTable
fn len(array: &DateTimePartsArray) -> usize
fn dtype(array: &DateTimePartsArray) -> &DType
fn stats(array: &DateTimePartsArray) -> StatsSetRef<'_>
Source§impl CanonicalVTable<DateTimePartsVTable> for DateTimePartsVTable
impl CanonicalVTable<DateTimePartsVTable> for DateTimePartsVTable
Source§fn canonicalize(array: &DateTimePartsArray) -> VortexResult<Canonical>
fn canonicalize(array: &DateTimePartsArray) -> 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 CastKernel for DateTimePartsVTable
impl CastKernel for DateTimePartsVTable
fn cast( &self, array: &DateTimePartsArray, dtype: &DType, ) -> VortexResult<ArrayRef>
Source§impl CompareKernel for DateTimePartsVTable
impl CompareKernel for DateTimePartsVTable
Source§fn compare(
&self,
lhs: &DateTimePartsArray,
rhs: &dyn Array,
operator: Operator,
) -> VortexResult<Option<ArrayRef>>
fn compare( &self, lhs: &DateTimePartsArray, rhs: &dyn Array, operator: Operator, ) -> VortexResult<Option<ArrayRef>>
Compares two arrays and returns a new boolean array with the result of the comparison. Or, returns None if comparison is not supported.
Source§impl Debug for DateTimePartsVTable
impl Debug for DateTimePartsVTable
Source§impl EncodeVTable<DateTimePartsVTable> for DateTimePartsVTable
impl EncodeVTable<DateTimePartsVTable> for DateTimePartsVTable
Source§fn encode(
_encoding: &DateTimePartsEncoding,
canonical: &Canonical,
_like: Option<&DateTimePartsArray>,
) -> VortexResult<Option<DateTimePartsArray>>
fn encode( _encoding: &DateTimePartsEncoding, canonical: &Canonical, _like: Option<&DateTimePartsArray>, ) -> VortexResult<Option<DateTimePartsArray>>
Try to encode a canonical array into this encoding. Read more
Source§impl FilterKernel for DateTimePartsVTable
impl FilterKernel for DateTimePartsVTable
Source§fn filter(
&self,
array: &DateTimePartsArray,
mask: &Mask,
) -> VortexResult<ArrayRef>
fn filter( &self, array: &DateTimePartsArray, mask: &Mask, ) -> VortexResult<ArrayRef>
Filter an array by the provided predicate. Read more
Source§impl IsConstantKernel for DateTimePartsVTable
impl IsConstantKernel for DateTimePartsVTable
Source§fn is_constant(
&self,
array: &DateTimePartsArray,
_opts: &IsConstantOpts,
) -> VortexResult<Option<bool>>
fn is_constant( &self, array: &DateTimePartsArray, _opts: &IsConstantOpts, ) -> VortexResult<Option<bool>>
Preconditions Read more
Source§impl OperationsVTable<DateTimePartsVTable> for DateTimePartsVTable
impl OperationsVTable<DateTimePartsVTable> for DateTimePartsVTable
Source§fn slice(
array: &DateTimePartsArray,
start: usize,
stop: usize,
) -> VortexResult<ArrayRef>
fn slice( array: &DateTimePartsArray, start: usize, stop: usize, ) -> VortexResult<ArrayRef>
Perform a constant-time slice of the array. Read more
Source§fn scalar_at(array: &DateTimePartsArray, index: usize) -> VortexResult<Scalar>
fn scalar_at(array: &DateTimePartsArray, index: usize) -> VortexResult<Scalar>
Fetch the scalar at the given index. Read more
Source§impl SerdeVTable<DateTimePartsVTable> for DateTimePartsVTable
impl SerdeVTable<DateTimePartsVTable> for DateTimePartsVTable
type Metadata = ProstMetadata<DateTimePartsMetadata>
Source§fn metadata(array: &DateTimePartsArray) -> VortexResult<Option<Self::Metadata>>
fn metadata(array: &DateTimePartsArray) -> VortexResult<Option<Self::Metadata>>
Exports the metadata for the array. Read more
Source§fn build(
_encoding: &DateTimePartsEncoding,
dtype: &DType,
len: usize,
metadata: &<Self::Metadata as DeserializeMetadata>::Output,
_buffers: &[ByteBuffer],
children: &dyn ArrayChildren,
) -> VortexResult<DateTimePartsArray>
fn build( _encoding: &DateTimePartsEncoding, dtype: &DType, len: usize, metadata: &<Self::Metadata as DeserializeMetadata>::Output, _buffers: &[ByteBuffer], children: &dyn ArrayChildren, ) -> VortexResult<DateTimePartsArray>
Build an array from its given parts.
Source§impl TakeKernel for DateTimePartsVTable
impl TakeKernel for DateTimePartsVTable
Source§fn take(
&self,
array: &DateTimePartsArray,
indices: &dyn Array,
) -> VortexResult<ArrayRef>
fn take( &self, array: &DateTimePartsArray, indices: &dyn Array, ) -> VortexResult<ArrayRef>
Source§impl VTable for DateTimePartsVTable
impl VTable for DateTimePartsVTable
type Array = DateTimePartsArray
type Encoding = DateTimePartsEncoding
type ArrayVTable = DateTimePartsVTable
type CanonicalVTable = DateTimePartsVTable
type OperationsVTable = DateTimePartsVTable
type ValidityVTable = ValidityVTableFromChild
type VisitorVTable = DateTimePartsVTable
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 = DateTimePartsVTable
type EncodeVTable = DateTimePartsVTable
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 = DateTimePartsVTable
type SerdeVTable = DateTimePartsVTable
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 ValidityChild<DateTimePartsVTable> for DateTimePartsVTable
impl ValidityChild<DateTimePartsVTable> for DateTimePartsVTable
fn validity_child(array: &DateTimePartsArray) -> &dyn Array
Source§impl VisitorVTable<DateTimePartsVTable> for DateTimePartsVTable
impl VisitorVTable<DateTimePartsVTable> for DateTimePartsVTable
Source§fn visit_buffers(
_array: &DateTimePartsArray,
_visitor: &mut dyn ArrayBufferVisitor,
)
fn visit_buffers( _array: &DateTimePartsArray, _visitor: &mut dyn ArrayBufferVisitor, )
Visit the buffers of the array.
Source§fn visit_children(
array: &DateTimePartsArray,
visitor: &mut dyn ArrayChildVisitor,
)
fn visit_children( array: &DateTimePartsArray, visitor: &mut dyn ArrayChildVisitor, )
Visit the children of the array.
Auto Trait Implementations§
impl Freeze for DateTimePartsVTable
impl RefUnwindSafe for DateTimePartsVTable
impl Send for DateTimePartsVTable
impl Sync for DateTimePartsVTable
impl Unpin for DateTimePartsVTable
impl UnwindSafe for DateTimePartsVTable
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