diff --git a/encodings/alp/public-api.lock b/encodings/alp/public-api.lock index bef9dad627f..0446871e200 100644 --- a/encodings/alp/public-api.lock +++ b/encodings/alp/public-api.lock @@ -76,9 +76,9 @@ pub fn vortex_alp::ALP::deserialize(bytes: &[u8], _dtype: &vortex_array::dtype:: pub fn vortex_alp::ALP::dtype(array: &vortex_alp::ALPArray) -> &vortex_array::dtype::DType -pub fn vortex_alp::ALP::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_alp::ALP::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_alp::ALP::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_alp::ALP::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_alp::ALP::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -90,7 +90,7 @@ pub fn vortex_alp::ALP::nbuffers(_array: &vortex_alp::ALPArray) -> usize pub fn vortex_alp::ALP::nchildren(array: &vortex_alp::ALPArray) -> usize -pub fn vortex_alp::ALP::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_alp::ALP::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_alp::ALP::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -238,9 +238,9 @@ pub fn vortex_alp::ALPRD::deserialize(bytes: &[u8], _dtype: &vortex_array::dtype pub fn vortex_alp::ALPRD::dtype(array: &vortex_alp::ALPRDArray) -> &vortex_array::dtype::DType -pub fn vortex_alp::ALPRD::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_alp::ALPRD::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_alp::ALPRD::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_alp::ALPRD::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_alp::ALPRD::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -252,7 +252,7 @@ pub fn vortex_alp::ALPRD::nbuffers(_array: &vortex_alp::ALPRDArray) -> usize pub fn vortex_alp::ALPRD::nchildren(array: &vortex_alp::ALPRDArray) -> usize -pub fn vortex_alp::ALPRD::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_alp::ALPRD::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_alp::ALPRD::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/alp/src/alp/array.rs b/encodings/alp/src/alp/array.rs index 086b699bf54..467ff3fdee1 100644 --- a/encodings/alp/src/alp/array.rs +++ b/encodings/alp/src/alp/array.rs @@ -25,6 +25,7 @@ use vortex_array::serde::ArrayChildren; use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::VTable; use vortex_array::vtable::ValidityChild; @@ -240,15 +241,14 @@ impl VTable for ALP { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { - let array = Arc::try_unwrap(array).unwrap_or_else(|arc| (*arc).clone()); + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done( - execute_decompress(array, ctx)?.into_array(), + execute_decompress(Arc::unwrap_or_clone(array).into_inner(), ctx)?.into_array(), )) } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -256,7 +256,7 @@ impl VTable for ALP { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/encodings/alp/src/alp_rd/array.rs b/encodings/alp/src/alp_rd/array.rs index a02b1bdde59..bc5bcde0a5b 100644 --- a/encodings/alp/src/alp_rd/array.rs +++ b/encodings/alp/src/alp_rd/array.rs @@ -31,6 +31,7 @@ use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::validity::Validity; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::VTable; use vortex_array::vtable::ValidityChild; @@ -303,9 +304,9 @@ impl VTable for ALPRD { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { - let array = require_child!(Self, array, array.left_parts(), 0 => Primitive); - let array = require_child!(Self, array, array.right_parts(), 1 => Primitive); + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { + let array = require_child!(array, array.left_parts(), 0 => Primitive); + let array = require_child!(array, array.right_parts(), 1 => Primitive); let right_bit_width = array.right_bit_width(); let ALPRDArrayParts { @@ -315,7 +316,7 @@ impl VTable for ALPRD { left_parts_patches, dtype, .. - } = Arc::unwrap_or_clone(array).into_parts(); + } = Arc::unwrap_or_clone(array).into_inner().into_parts(); let ptype = dtype.as_ptype(); let left_parts = left_parts @@ -362,7 +363,7 @@ impl VTable for ALPRD { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -370,7 +371,7 @@ impl VTable for ALPRD { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/encodings/bytebool/public-api.lock b/encodings/bytebool/public-api.lock index d706e53134d..287d87047ab 100644 --- a/encodings/bytebool/public-api.lock +++ b/encodings/bytebool/public-api.lock @@ -58,9 +58,9 @@ pub fn vortex_bytebool::ByteBool::deserialize(_bytes: &[u8], _dtype: &vortex_arr pub fn vortex_bytebool::ByteBool::dtype(array: &vortex_bytebool::ByteBoolArray) -> &vortex_array::dtype::DType -pub fn vortex_bytebool::ByteBool::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_bytebool::ByteBool::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_bytebool::ByteBool::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_bytebool::ByteBool::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_bytebool::ByteBool::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -72,7 +72,7 @@ pub fn vortex_bytebool::ByteBool::nbuffers(_array: &vortex_bytebool::ByteBoolArr pub fn vortex_bytebool::ByteBool::nchildren(array: &vortex_bytebool::ByteBoolArray) -> usize -pub fn vortex_bytebool::ByteBool::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_bytebool::ByteBool::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_bytebool::ByteBool::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/bytebool/src/array.rs b/encodings/bytebool/src/array.rs index 8e9a7939fd8..93d55e6513a 100644 --- a/encodings/bytebool/src/array.rs +++ b/encodings/bytebool/src/array.rs @@ -22,6 +22,7 @@ use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::validity::Validity; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::OperationsVTable; use vortex_array::vtable::VTable; @@ -181,14 +182,14 @@ impl VTable for ByteBool { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { crate::rules::RULES.evaluate(array, parent, child_idx) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { let boolean_buffer = BitBuffer::from(array.as_slice()); let validity = array.validity().clone(); Ok(ExecutionResult::done( @@ -197,7 +198,7 @@ impl VTable for ByteBool { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/encodings/datetime-parts/public-api.lock b/encodings/datetime-parts/public-api.lock index dbefad5ab23..039f980af1a 100644 --- a/encodings/datetime-parts/public-api.lock +++ b/encodings/datetime-parts/public-api.lock @@ -66,9 +66,9 @@ pub fn vortex_datetime_parts::DateTimeParts::deserialize(bytes: &[u8], _dtype: & pub fn vortex_datetime_parts::DateTimeParts::dtype(array: &vortex_datetime_parts::DateTimePartsArray) -> &vortex_array::dtype::DType -pub fn vortex_datetime_parts::DateTimeParts::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_datetime_parts::DateTimeParts::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_datetime_parts::DateTimeParts::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_datetime_parts::DateTimeParts::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_datetime_parts::DateTimeParts::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -80,7 +80,7 @@ pub fn vortex_datetime_parts::DateTimeParts::nbuffers(_array: &vortex_datetime_p pub fn vortex_datetime_parts::DateTimeParts::nchildren(_array: &vortex_datetime_parts::DateTimePartsArray) -> usize -pub fn vortex_datetime_parts::DateTimeParts::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_datetime_parts::DateTimeParts::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_datetime_parts::DateTimeParts::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/datetime-parts/src/array.rs b/encodings/datetime-parts/src/array.rs index 58750254e9f..feed6b968a4 100644 --- a/encodings/datetime-parts/src/array.rs +++ b/encodings/datetime-parts/src/array.rs @@ -24,6 +24,7 @@ use vortex_array::serde::ArrayChildren; use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::VTable; use vortex_array::vtable::ValidityChild; @@ -227,14 +228,14 @@ impl VTable for DateTimeParts { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done( decode_to_temporal(&array, ctx)?.into_array(), )) } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -242,7 +243,7 @@ impl VTable for DateTimeParts { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/encodings/decimal-byte-parts/public-api.lock b/encodings/decimal-byte-parts/public-api.lock index ca8fede28b3..cf5f0278275 100644 --- a/encodings/decimal-byte-parts/public-api.lock +++ b/encodings/decimal-byte-parts/public-api.lock @@ -66,9 +66,9 @@ pub fn vortex_decimal_byte_parts::DecimalByteParts::deserialize(bytes: &[u8], _d pub fn vortex_decimal_byte_parts::DecimalByteParts::dtype(array: &vortex_decimal_byte_parts::DecimalBytePartsArray) -> &vortex_array::dtype::DType -pub fn vortex_decimal_byte_parts::DecimalByteParts::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_decimal_byte_parts::DecimalByteParts::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_decimal_byte_parts::DecimalByteParts::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_decimal_byte_parts::DecimalByteParts::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_decimal_byte_parts::DecimalByteParts::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -80,7 +80,7 @@ pub fn vortex_decimal_byte_parts::DecimalByteParts::nbuffers(_array: &vortex_dec pub fn vortex_decimal_byte_parts::DecimalByteParts::nchildren(_array: &vortex_decimal_byte_parts::DecimalBytePartsArray) -> usize -pub fn vortex_decimal_byte_parts::DecimalByteParts::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_decimal_byte_parts::DecimalByteParts::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_decimal_byte_parts::DecimalByteParts::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/decimal-byte-parts/src/decimal_byte_parts/mod.rs b/encodings/decimal-byte-parts/src/decimal_byte_parts/mod.rs index 281b9a131d2..6f14649bc91 100644 --- a/encodings/decimal-byte-parts/src/decimal_byte_parts/mod.rs +++ b/encodings/decimal-byte-parts/src/decimal_byte_parts/mod.rs @@ -33,6 +33,7 @@ use vortex_array::serde::ArrayChildren; use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::OperationsVTable; use vortex_array::vtable::VTable; @@ -188,19 +189,19 @@ impl VTable for DecimalByteParts { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { PARENT_RULES.evaluate(array, parent, child_idx) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { to_canonical_decimal(&array, ctx).map(ExecutionResult::done) } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/encodings/fastlanes/public-api.lock b/encodings/fastlanes/public-api.lock index 5bb268e1820..bac3994aac8 100644 --- a/encodings/fastlanes/public-api.lock +++ b/encodings/fastlanes/public-api.lock @@ -176,9 +176,9 @@ pub fn vortex_fastlanes::BitPacked::deserialize(bytes: &[u8], _dtype: &vortex_ar pub fn vortex_fastlanes::BitPacked::dtype(array: &vortex_fastlanes::BitPackedArray) -> &vortex_array::dtype::DType -pub fn vortex_fastlanes::BitPacked::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_fastlanes::BitPacked::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_fastlanes::BitPacked::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_fastlanes::BitPacked::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_fastlanes::BitPacked::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -190,7 +190,7 @@ pub fn vortex_fastlanes::BitPacked::nbuffers(_array: &vortex_fastlanes::BitPacke pub fn vortex_fastlanes::BitPacked::nchildren(array: &vortex_fastlanes::BitPackedArray) -> usize -pub fn vortex_fastlanes::BitPacked::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_fastlanes::BitPacked::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_fastlanes::BitPacked::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -330,7 +330,7 @@ pub fn vortex_fastlanes::Delta::deserialize(bytes: &[u8], _dtype: &vortex_array: pub fn vortex_fastlanes::Delta::dtype(array: &vortex_fastlanes::DeltaArray) -> &vortex_array::dtype::DType -pub fn vortex_fastlanes::Delta::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_fastlanes::Delta::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult pub fn vortex_fastlanes::Delta::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -342,7 +342,7 @@ pub fn vortex_fastlanes::Delta::nbuffers(_array: &vortex_fastlanes::DeltaArray) pub fn vortex_fastlanes::Delta::nchildren(_array: &vortex_fastlanes::DeltaArray) -> usize -pub fn vortex_fastlanes::Delta::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_fastlanes::Delta::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_fastlanes::Delta::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -472,9 +472,9 @@ pub fn vortex_fastlanes::FoR::deserialize(bytes: &[u8], dtype: &vortex_array::dt pub fn vortex_fastlanes::FoR::dtype(array: &vortex_fastlanes::FoRArray) -> &vortex_array::dtype::DType -pub fn vortex_fastlanes::FoR::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_fastlanes::FoR::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_fastlanes::FoR::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_fastlanes::FoR::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_fastlanes::FoR::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -486,7 +486,7 @@ pub fn vortex_fastlanes::FoR::nbuffers(_array: &vortex_fastlanes::FoRArray) -> u pub fn vortex_fastlanes::FoR::nchildren(_array: &vortex_fastlanes::FoRArray) -> usize -pub fn vortex_fastlanes::FoR::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_fastlanes::FoR::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_fastlanes::FoR::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -600,9 +600,9 @@ pub fn vortex_fastlanes::RLE::deserialize(bytes: &[u8], _dtype: &vortex_array::d pub fn vortex_fastlanes::RLE::dtype(array: &vortex_fastlanes::RLEArray) -> &vortex_array::dtype::DType -pub fn vortex_fastlanes::RLE::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_fastlanes::RLE::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_fastlanes::RLE::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_fastlanes::RLE::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_fastlanes::RLE::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -614,7 +614,7 @@ pub fn vortex_fastlanes::RLE::nbuffers(_array: &vortex_fastlanes::RLEArray) -> u pub fn vortex_fastlanes::RLE::nchildren(_array: &vortex_fastlanes::RLEArray) -> usize -pub fn vortex_fastlanes::RLE::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_fastlanes::RLE::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_fastlanes::RLE::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/fastlanes/src/bitpacking/compute/slice.rs b/encodings/fastlanes/src/bitpacking/compute/slice.rs index a66b05d4736..8d0328725f8 100644 --- a/encodings/fastlanes/src/bitpacking/compute/slice.rs +++ b/encodings/fastlanes/src/bitpacking/compute/slice.rs @@ -59,7 +59,6 @@ mod tests { use vortex_array::arrays::PrimitiveArray; use vortex_array::arrays::SliceArray; use vortex_array::session::ArraySession; - use vortex_array::vtable::VTable; use vortex_error::VortexResult; use vortex_session::VortexSession; @@ -77,13 +76,11 @@ mod tests { let slice_array = SliceArray::new(bitpacked.clone().into_array(), 500..1500); let mut ctx = SESSION.create_execution_ctx(); - let reduced = ::execute_parent( - &bitpacked, - &slice_array.into_array(), - 0, - &mut ctx, - )? - .expect("expected slice kernel to execute"); + let bitpacked_ref = bitpacked.into_array(); + let reduced = bitpacked_ref + .vtable() + .execute_parent(&bitpacked_ref, &slice_array.into_array(), 0, &mut ctx)? + .expect("expected slice kernel to execute"); assert!(reduced.is::()); let reduced_bp = reduced.as_::(); diff --git a/encodings/fastlanes/src/bitpacking/vtable/mod.rs b/encodings/fastlanes/src/bitpacking/vtable/mod.rs index dd286a4e43d..58553d4d639 100644 --- a/encodings/fastlanes/src/bitpacking/vtable/mod.rs +++ b/encodings/fastlanes/src/bitpacking/vtable/mod.rs @@ -25,6 +25,7 @@ use vortex_array::serde::ArrayChildren; use vortex_array::stats::StatsSetRef; use vortex_array::validity::Validity; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::VTable; use vortex_array::vtable::ValidityVTableFromValidityHelper; @@ -164,7 +165,7 @@ impl VTable for BitPacked { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -359,14 +360,14 @@ impl VTable for BitPacked { }) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done( unpack_array(&array, ctx)?.into_array(), )) } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/encodings/fastlanes/src/bitpacking/vtable/operations.rs b/encodings/fastlanes/src/bitpacking/vtable/operations.rs index da791e11f2a..fb897de3db1 100644 --- a/encodings/fastlanes/src/bitpacking/vtable/operations.rs +++ b/encodings/fastlanes/src/bitpacking/vtable/operations.rs @@ -48,7 +48,6 @@ mod test { use vortex_array::scalar::Scalar; use vortex_array::session::ArraySession; use vortex_array::validity::Validity; - use vortex_array::vtable::VTable; use vortex_buffer::Alignment; use vortex_buffer::Buffer; use vortex_buffer::ByteBuffer; @@ -61,12 +60,14 @@ mod test { LazyLock::new(|| vortex_session::VortexSession::empty().with::()); fn slice_via_kernel(array: &BitPackedArray, range: Range) -> BitPackedArray { - let slice_array = SliceArray::new(array.clone().into_array(), range); + let array_ref = array.clone().into_array(); + let slice_array = SliceArray::new(array_ref.clone(), range); let mut ctx = SESSION.create_execution_ctx(); - let sliced = - ::execute_parent(array, &slice_array.into_array(), 0, &mut ctx) - .expect("execute_parent failed") - .expect("expected slice kernel to execute"); + let sliced = array_ref + .vtable() + .execute_parent(&array_ref, &slice_array.into_array(), 0, &mut ctx) + .expect("execute_parent failed") + .expect("expected slice kernel to execute"); sliced.as_::().clone() } diff --git a/encodings/fastlanes/src/delta/vtable/mod.rs b/encodings/fastlanes/src/delta/vtable/mod.rs index fc4dc9b9b20..67b1325bd4e 100644 --- a/encodings/fastlanes/src/delta/vtable/mod.rs +++ b/encodings/fastlanes/src/delta/vtable/mod.rs @@ -21,6 +21,7 @@ use vortex_array::match_each_unsigned_integer_ptype; use vortex_array::serde::ArrayChildren; use vortex_array::stats::StatsSetRef; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::VTable; use vortex_error::VortexResult; @@ -125,7 +126,7 @@ impl VTable for Delta { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -194,7 +195,7 @@ impl VTable for Delta { DeltaArray::try_new(bases, deltas, metadata.0.offset as usize, len) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done( delta_decompress(&array, ctx)?.into_array(), )) diff --git a/encodings/fastlanes/src/for/vtable/mod.rs b/encodings/fastlanes/src/for/vtable/mod.rs index fb40d6d93da..54ab93d93e4 100644 --- a/encodings/fastlanes/src/for/vtable/mod.rs +++ b/encodings/fastlanes/src/for/vtable/mod.rs @@ -19,6 +19,7 @@ use vortex_array::scalar::ScalarValue; use vortex_array::serde::ArrayChildren; use vortex_array::stats::StatsSetRef; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::VTable; use vortex_array::vtable::ValidityVTableFromChild; @@ -164,19 +165,19 @@ impl VTable for FoR { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { PARENT_RULES.evaluate(array, parent, child_idx) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done(decompress(&array, ctx)?.into_array())) } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/encodings/fastlanes/src/rle/vtable/mod.rs b/encodings/fastlanes/src/rle/vtable/mod.rs index b4f3eaa0c93..c82c94d9c0a 100644 --- a/encodings/fastlanes/src/rle/vtable/mod.rs +++ b/encodings/fastlanes/src/rle/vtable/mod.rs @@ -20,6 +20,7 @@ use vortex_array::dtype::PType; use vortex_array::serde::ArrayChildren; use vortex_array::stats::StatsSetRef; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::VTable; use vortex_array::vtable::ValidityVTableFromChildSliceHelper; @@ -138,7 +139,7 @@ impl VTable for RLE { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -228,7 +229,7 @@ impl VTable for RLE { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, @@ -236,7 +237,7 @@ impl VTable for RLE { PARENT_KERNELS.execute(array, parent, child_idx, ctx) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done( rle_decompress(&array, ctx)?.into_array(), )) diff --git a/encodings/fsst/public-api.lock b/encodings/fsst/public-api.lock index ed1ec0a49f6..f5d3c61381b 100644 --- a/encodings/fsst/public-api.lock +++ b/encodings/fsst/public-api.lock @@ -68,9 +68,9 @@ pub fn vortex_fsst::FSST::deserialize(bytes: &[u8], _dtype: &vortex_array::dtype pub fn vortex_fsst::FSST::dtype(array: &vortex_fsst::FSSTArray) -> &vortex_array::dtype::DType -pub fn vortex_fsst::FSST::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_fsst::FSST::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_fsst::FSST::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_fsst::FSST::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_fsst::FSST::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -82,7 +82,7 @@ pub fn vortex_fsst::FSST::nbuffers(_array: &vortex_fsst::FSSTArray) -> usize pub fn vortex_fsst::FSST::nchildren(array: &vortex_fsst::FSSTArray) -> usize -pub fn vortex_fsst::FSST::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_fsst::FSST::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_fsst::FSST::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/fsst/src/array.rs b/encodings/fsst/src/array.rs index c7685665c66..d537201450b 100644 --- a/encodings/fsst/src/array.rs +++ b/encodings/fsst/src/array.rs @@ -35,6 +35,7 @@ use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::validity::Validity; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::VTable; use vortex_array::vtable::ValidityChild; @@ -343,12 +344,12 @@ impl VTable for FSST { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { canonicalize_fsst(&array, ctx).map(ExecutionResult::done) } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, @@ -357,7 +358,7 @@ impl VTable for FSST { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { diff --git a/encodings/pco/public-api.lock b/encodings/pco/public-api.lock index a90997eb263..e2a15ed3df5 100644 --- a/encodings/pco/public-api.lock +++ b/encodings/pco/public-api.lock @@ -50,7 +50,7 @@ pub fn vortex_pco::Pco::deserialize(bytes: &[u8], _dtype: &vortex_array::dtype:: pub fn vortex_pco::Pco::dtype(array: &vortex_pco::PcoArray) -> &vortex_array::dtype::DType -pub fn vortex_pco::Pco::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_pco::Pco::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult pub fn vortex_pco::Pco::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -62,7 +62,7 @@ pub fn vortex_pco::Pco::nbuffers(array: &vortex_pco::PcoArray) -> usize pub fn vortex_pco::Pco::nchildren(array: &vortex_pco::PcoArray) -> usize -pub fn vortex_pco::Pco::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_pco::Pco::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_pco::Pco::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/pco/src/array.rs b/encodings/pco/src/array.rs index e2156eb106a..a2e7be7b955 100644 --- a/encodings/pco/src/array.rs +++ b/encodings/pco/src/array.rs @@ -40,6 +40,7 @@ use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::validity::Validity; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::OperationsVTable; use vortex_array::vtable::VTable; @@ -270,12 +271,12 @@ impl VTable for Pco { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done(array.decompress(ctx)?.into_array())) } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { diff --git a/encodings/runend/public-api.lock b/encodings/runend/public-api.lock index c0df646eea3..3e7eca7f426 100644 --- a/encodings/runend/public-api.lock +++ b/encodings/runend/public-api.lock @@ -78,9 +78,9 @@ pub fn vortex_runend::RunEnd::deserialize(bytes: &[u8], _dtype: &vortex_array::d pub fn vortex_runend::RunEnd::dtype(array: &vortex_runend::RunEndArray) -> &vortex_array::dtype::DType -pub fn vortex_runend::RunEnd::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_runend::RunEnd::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_runend::RunEnd::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_runend::RunEnd::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_runend::RunEnd::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -92,7 +92,7 @@ pub fn vortex_runend::RunEnd::nbuffers(_array: &vortex_runend::RunEndArray) -> u pub fn vortex_runend::RunEnd::nchildren(_array: &vortex_runend::RunEndArray) -> usize -pub fn vortex_runend::RunEnd::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_runend::RunEnd::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_runend::RunEnd::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/runend/src/array.rs b/encodings/runend/src/array.rs index 58fe7ee5476..6402e3b511c 100644 --- a/encodings/runend/src/array.rs +++ b/encodings/runend/src/array.rs @@ -30,6 +30,7 @@ use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::validity::Validity; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::VTable; use vortex_array::vtable::ValidityVTable; @@ -192,7 +193,7 @@ impl VTable for RunEnd { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -200,7 +201,7 @@ impl VTable for RunEnd { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, @@ -208,7 +209,7 @@ impl VTable for RunEnd { PARENT_KERNELS.execute(array, parent, child_idx, ctx) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { run_end_canonicalize(&array, ctx).map(ExecutionResult::done) } } diff --git a/encodings/sequence/public-api.lock b/encodings/sequence/public-api.lock index 797d8f408c7..2568daccc35 100644 --- a/encodings/sequence/public-api.lock +++ b/encodings/sequence/public-api.lock @@ -66,9 +66,9 @@ pub fn vortex_sequence::Sequence::deserialize(bytes: &[u8], dtype: &vortex_array pub fn vortex_sequence::Sequence::dtype(array: &vortex_sequence::SequenceArray) -> &vortex_array::dtype::DType -pub fn vortex_sequence::Sequence::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_sequence::Sequence::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_sequence::Sequence::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_sequence::Sequence::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_sequence::Sequence::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -80,7 +80,7 @@ pub fn vortex_sequence::Sequence::nbuffers(_array: &vortex_sequence::SequenceArr pub fn vortex_sequence::Sequence::nchildren(_array: &vortex_sequence::SequenceArray) -> usize -pub fn vortex_sequence::Sequence::reduce_parent(array: &vortex_sequence::SequenceArray, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_sequence::Sequence::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_sequence::Sequence::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/sequence/src/array.rs b/encodings/sequence/src/array.rs index f39ca5d39b0..1f638eae90b 100644 --- a/encodings/sequence/src/array.rs +++ b/encodings/sequence/src/array.rs @@ -32,6 +32,7 @@ use vortex_array::stats::StatsSet; use vortex_array::stats::StatsSetRef; use vortex_array::validity::Validity; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::OperationsVTable; use vortex_array::vtable::VTable; @@ -386,12 +387,12 @@ impl VTable for Sequence { Ok(()) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { sequence_decompress(&array).map(ExecutionResult::done) } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, @@ -400,7 +401,7 @@ impl VTable for Sequence { } fn reduce_parent( - array: &SequenceArray, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { diff --git a/encodings/sparse/public-api.lock b/encodings/sparse/public-api.lock index 5d1d6aa986e..084ae72c63e 100644 --- a/encodings/sparse/public-api.lock +++ b/encodings/sparse/public-api.lock @@ -82,9 +82,9 @@ pub fn vortex_sparse::Sparse::deserialize(bytes: &[u8], dtype: &vortex_array::dt pub fn vortex_sparse::Sparse::dtype(array: &vortex_sparse::SparseArray) -> &vortex_array::dtype::DType -pub fn vortex_sparse::Sparse::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_sparse::Sparse::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_sparse::Sparse::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_sparse::Sparse::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_sparse::Sparse::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -96,7 +96,7 @@ pub fn vortex_sparse::Sparse::nbuffers(_array: &vortex_sparse::SparseArray) -> u pub fn vortex_sparse::Sparse::nchildren(array: &vortex_sparse::SparseArray) -> usize -pub fn vortex_sparse::Sparse::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_sparse::Sparse::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_sparse::Sparse::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/sparse/src/lib.rs b/encodings/sparse/src/lib.rs index 3b656abb3db..b98616a5548 100644 --- a/encodings/sparse/src/lib.rs +++ b/encodings/sparse/src/lib.rs @@ -31,6 +31,7 @@ use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::validity::Validity; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::VTable; use vortex_array::vtable::ValidityVTable; @@ -244,7 +245,7 @@ impl VTable for Sparse { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -252,7 +253,7 @@ impl VTable for Sparse { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, @@ -260,7 +261,7 @@ impl VTable for Sparse { PARENT_KERNELS.execute(array, parent, child_idx, ctx) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { execute_sparse(&array, ctx).map(ExecutionResult::done) } } diff --git a/encodings/zigzag/public-api.lock b/encodings/zigzag/public-api.lock index c3d955f1341..3a93a0f5f5e 100644 --- a/encodings/zigzag/public-api.lock +++ b/encodings/zigzag/public-api.lock @@ -62,9 +62,9 @@ pub fn vortex_zigzag::ZigZag::deserialize(_bytes: &[u8], _dtype: &vortex_array:: pub fn vortex_zigzag::ZigZag::dtype(array: &vortex_zigzag::ZigZagArray) -> &vortex_array::dtype::DType -pub fn vortex_zigzag::ZigZag::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_zigzag::ZigZag::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_zigzag::ZigZag::execute_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_zigzag::ZigZag::execute_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_zigzag::ZigZag::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -76,7 +76,7 @@ pub fn vortex_zigzag::ZigZag::nbuffers(_array: &vortex_zigzag::ZigZagArray) -> u pub fn vortex_zigzag::ZigZag::nchildren(_array: &vortex_zigzag::ZigZagArray) -> usize -pub fn vortex_zigzag::ZigZag::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_zigzag::ZigZag::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_zigzag::ZigZag::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/zigzag/src/array.rs b/encodings/zigzag/src/array.rs index 92ee5ebf41e..867596ea818 100644 --- a/encodings/zigzag/src/array.rs +++ b/encodings/zigzag/src/array.rs @@ -22,6 +22,7 @@ use vortex_array::serde::ArrayChildren; use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::OperationsVTable; use vortex_array::vtable::VTable; @@ -154,14 +155,14 @@ impl VTable for ZigZag { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done( zigzag_decode(array.encoded().clone().execute(ctx)?).into_array(), )) } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -169,7 +170,7 @@ impl VTable for ZigZag { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/encodings/zstd/public-api.lock b/encodings/zstd/public-api.lock index 8d37b696280..7abfb2c9b6f 100644 --- a/encodings/zstd/public-api.lock +++ b/encodings/zstd/public-api.lock @@ -50,7 +50,7 @@ pub fn vortex_zstd::Zstd::deserialize(bytes: &[u8], _dtype: &vortex_array::dtype pub fn vortex_zstd::Zstd::dtype(array: &vortex_zstd::ZstdArray) -> &vortex_array::dtype::DType -pub fn vortex_zstd::Zstd::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_zstd::Zstd::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult pub fn vortex_zstd::Zstd::id(&self) -> vortex_array::vtable::dyn_::ArrayId @@ -62,7 +62,7 @@ pub fn vortex_zstd::Zstd::nbuffers(array: &vortex_zstd::ZstdArray) -> usize pub fn vortex_zstd::Zstd::nchildren(array: &vortex_zstd::ZstdArray) -> usize -pub fn vortex_zstd::Zstd::reduce_parent(array: &Self::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_zstd::Zstd::reduce_parent(array: &vortex_array::vtable::typed::Array, parent: &vortex_array::array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_zstd::Zstd::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> diff --git a/encodings/zstd/src/array.rs b/encodings/zstd/src/array.rs index 579f0bc7a23..1f501856989 100644 --- a/encodings/zstd/src/array.rs +++ b/encodings/zstd/src/array.rs @@ -34,6 +34,7 @@ use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::validity::Validity; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::OperationsVTable; use vortex_array::vtable::VTable; @@ -279,7 +280,7 @@ impl VTable for Zstd { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { array .decompress(ctx)? .execute::(ctx) @@ -287,7 +288,7 @@ impl VTable for Zstd { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { diff --git a/encodings/zstd/src/zstd_buffers.rs b/encodings/zstd/src/zstd_buffers.rs index 138c3ae285f..b84f341a3fc 100644 --- a/encodings/zstd/src/zstd_buffers.rs +++ b/encodings/zstd/src/zstd_buffers.rs @@ -21,6 +21,7 @@ use vortex_array::session::ArraySessionExt; use vortex_array::stats::ArrayStats; use vortex_array::stats::StatsSetRef; use vortex_array::vtable; +use vortex_array::vtable::Array; use vortex_array::vtable::ArrayId; use vortex_array::vtable::OperationsVTable; use vortex_array::vtable::VTable; @@ -471,7 +472,7 @@ impl VTable for ZstdBuffers { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { let session = ctx.session(); let inner_array = array.decompress_and_build_inner(session)?; inner_array diff --git a/vortex-array/public-api.lock b/vortex-array/public-api.lock index 6eb168876d8..821ef35e111 100644 --- a/vortex-array/public-api.lock +++ b/vortex-array/public-api.lock @@ -920,9 +920,9 @@ pub fn vortex_array::arrays::Bool::deserialize(bytes: &[u8], _dtype: &vortex_arr pub fn vortex_array::arrays::Bool::dtype(array: &vortex_array::arrays::BoolArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Bool::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Bool::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Bool::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Bool::id(&self) -> vortex_array::vtable::ArrayId @@ -934,9 +934,9 @@ pub fn vortex_array::arrays::Bool::nbuffers(_array: &vortex_array::arrays::BoolA pub fn vortex_array::arrays::Bool::nchildren(array: &vortex_array::arrays::BoolArray) -> usize -pub fn vortex_array::arrays::Bool::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Bool::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Bool::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -1134,9 +1134,9 @@ pub fn vortex_array::arrays::Chunked::deserialize(_bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::Chunked::dtype(array: &vortex_array::arrays::ChunkedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Chunked::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Chunked::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Chunked::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Chunked::id(&self) -> vortex_array::vtable::ArrayId @@ -1148,9 +1148,9 @@ pub fn vortex_array::arrays::Chunked::nbuffers(_array: &vortex_array::arrays::Ch pub fn vortex_array::arrays::Chunked::nchildren(array: &vortex_array::arrays::ChunkedArray) -> usize -pub fn vortex_array::arrays::Chunked::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Chunked::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Chunked::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -1306,9 +1306,9 @@ pub fn vortex_array::arrays::Constant::deserialize(_bytes: &[u8], dtype: &vortex pub fn vortex_array::arrays::Constant::dtype(array: &vortex_array::arrays::ConstantArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Constant::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Constant::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Constant::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Constant::id(&self) -> vortex_array::vtable::ArrayId @@ -1320,9 +1320,9 @@ pub fn vortex_array::arrays::Constant::nbuffers(_array: &vortex_array::arrays::C pub fn vortex_array::arrays::Constant::nchildren(_array: &vortex_array::arrays::ConstantArray) -> usize -pub fn vortex_array::arrays::Constant::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Constant::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Constant::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -1518,9 +1518,9 @@ pub fn vortex_array::arrays::Decimal::deserialize(bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Decimal::dtype(array: &vortex_array::arrays::DecimalArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Decimal::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Decimal::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Decimal::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Decimal::id(&self) -> vortex_array::vtable::ArrayId @@ -1532,9 +1532,9 @@ pub fn vortex_array::arrays::Decimal::nbuffers(_array: &vortex_array::arrays::De pub fn vortex_array::arrays::Decimal::nchildren(array: &vortex_array::arrays::DecimalArray) -> usize -pub fn vortex_array::arrays::Decimal::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Decimal::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Decimal::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -1732,9 +1732,9 @@ pub fn vortex_array::arrays::dict::Dict::deserialize(bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::dict::Dict::dtype(array: &vortex_array::arrays::dict::DictArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::dict::Dict::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::dict::Dict::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::dict::Dict::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::dict::Dict::id(&self) -> vortex_array::vtable::ArrayId @@ -1746,9 +1746,9 @@ pub fn vortex_array::arrays::dict::Dict::nbuffers(_array: &vortex_array::arrays: pub fn vortex_array::arrays::dict::Dict::nchildren(_array: &vortex_array::arrays::dict::DictArray) -> usize -pub fn vortex_array::arrays::dict::Dict::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::dict::Dict::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::dict::Dict::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -1842,9 +1842,9 @@ pub fn vortex_array::arrays::dict::Dict::deserialize(bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::dict::Dict::dtype(array: &vortex_array::arrays::dict::DictArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::dict::Dict::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::dict::Dict::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::dict::Dict::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::dict::Dict::id(&self) -> vortex_array::vtable::ArrayId @@ -1856,9 +1856,9 @@ pub fn vortex_array::arrays::dict::Dict::nbuffers(_array: &vortex_array::arrays: pub fn vortex_array::arrays::dict::Dict::nchildren(_array: &vortex_array::arrays::dict::DictArray) -> usize -pub fn vortex_array::arrays::dict::Dict::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::dict::Dict::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::dict::Dict::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -2144,9 +2144,9 @@ pub fn vortex_array::arrays::Extension::deserialize(_bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::Extension::dtype(array: &vortex_array::arrays::ExtensionArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Extension::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Extension::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Extension::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Extension::id(&self) -> vortex_array::vtable::ArrayId @@ -2158,9 +2158,9 @@ pub fn vortex_array::arrays::Extension::nbuffers(_array: &vortex_array::arrays:: pub fn vortex_array::arrays::Extension::nchildren(_array: &vortex_array::arrays::ExtensionArray) -> usize -pub fn vortex_array::arrays::Extension::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Extension::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Extension::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -2286,9 +2286,9 @@ pub fn vortex_array::arrays::Filter::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Filter::dtype(array: &vortex_array::arrays::FilterArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Filter::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Filter::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Filter::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Filter::id(&self) -> vortex_array::vtable::ArrayId @@ -2300,9 +2300,9 @@ pub fn vortex_array::arrays::Filter::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Filter::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Filter::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Filter::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Filter::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -2508,9 +2508,9 @@ pub fn vortex_array::arrays::FixedSizeList::deserialize(_bytes: &[u8], _dtype: & pub fn vortex_array::arrays::FixedSizeList::dtype(array: &vortex_array::arrays::FixedSizeListArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::FixedSizeList::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::FixedSizeList::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::FixedSizeList::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::FixedSizeList::id(&self) -> vortex_array::vtable::ArrayId @@ -2522,9 +2522,9 @@ pub fn vortex_array::arrays::FixedSizeList::nbuffers(_array: &vortex_array::arra pub fn vortex_array::arrays::FixedSizeList::nchildren(array: &vortex_array::arrays::FixedSizeListArray) -> usize -pub fn vortex_array::arrays::FixedSizeList::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::FixedSizeList::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::FixedSizeList::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -2662,9 +2662,9 @@ pub fn vortex_array::arrays::List::deserialize(bytes: &[u8], _dtype: &vortex_arr pub fn vortex_array::arrays::List::dtype(array: &vortex_array::arrays::ListArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::List::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::List::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::List::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::List::id(&self) -> vortex_array::vtable::ArrayId @@ -2676,9 +2676,9 @@ pub fn vortex_array::arrays::List::nbuffers(_array: &vortex_array::arrays::ListA pub fn vortex_array::arrays::List::nchildren(array: &vortex_array::arrays::ListArray) -> usize -pub fn vortex_array::arrays::List::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::List::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::List::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -2836,9 +2836,9 @@ pub fn vortex_array::arrays::ListView::deserialize(bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::ListView::dtype(array: &vortex_array::arrays::ListViewArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::ListView::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::ListView::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::ListView::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::ListView::id(&self) -> vortex_array::vtable::ArrayId @@ -2850,9 +2850,9 @@ pub fn vortex_array::arrays::ListView::nbuffers(_array: &vortex_array::arrays::L pub fn vortex_array::arrays::ListView::nchildren(array: &vortex_array::arrays::ListViewArray) -> usize -pub fn vortex_array::arrays::ListView::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::ListView::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::ListView::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -3020,9 +3020,9 @@ pub fn vortex_array::arrays::Masked::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Masked::dtype(array: &vortex_array::arrays::MaskedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Masked::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Masked::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Masked::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Masked::id(&self) -> vortex_array::vtable::ArrayId @@ -3034,9 +3034,9 @@ pub fn vortex_array::arrays::Masked::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Masked::nchildren(array: &Self::Array) -> usize -pub fn vortex_array::arrays::Masked::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Masked::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Masked::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -3164,9 +3164,9 @@ pub fn vortex_array::arrays::null::Null::deserialize(_bytes: &[u8], _dtype: &vor pub fn vortex_array::arrays::null::Null::dtype(_array: &vortex_array::arrays::null::NullArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::null::Null::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::null::Null::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::null::Null::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::null::Null::id(&self) -> vortex_array::vtable::ArrayId @@ -3178,9 +3178,9 @@ pub fn vortex_array::arrays::null::Null::nbuffers(_array: &vortex_array::arrays: pub fn vortex_array::arrays::null::Null::nchildren(_array: &vortex_array::arrays::null::NullArray) -> usize -pub fn vortex_array::arrays::null::Null::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::null::Null::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::null::Null::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -3380,9 +3380,9 @@ pub fn vortex_array::arrays::Primitive::deserialize(_bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::Primitive::dtype(array: &vortex_array::arrays::PrimitiveArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Primitive::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Primitive::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Primitive::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Primitive::id(&self) -> vortex_array::vtable::ArrayId @@ -3394,9 +3394,9 @@ pub fn vortex_array::arrays::Primitive::nbuffers(_array: &vortex_array::arrays:: pub fn vortex_array::arrays::Primitive::nchildren(array: &vortex_array::arrays::PrimitiveArray) -> usize -pub fn vortex_array::arrays::Primitive::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Primitive::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Primitive::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -3686,9 +3686,9 @@ pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::deserialize(_bytes: &[u8 pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::dtype(array: &vortex_array::arrays::scalar_fn::ScalarFnArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::id(&self) -> vortex_array::vtable::ArrayId @@ -3700,9 +3700,9 @@ pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::nbuffers(_array: &vortex pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::nchildren(array: &vortex_array::arrays::scalar_fn::ScalarFnArray) -> usize -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -3774,9 +3774,9 @@ pub fn vortex_array::arrays::Shared::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Shared::dtype(array: &vortex_array::arrays::SharedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Shared::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Shared::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Shared::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Shared::id(&self) -> vortex_array::vtable::ArrayId @@ -3788,9 +3788,9 @@ pub fn vortex_array::arrays::Shared::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Shared::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Shared::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Shared::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Shared::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -3898,9 +3898,9 @@ pub fn vortex_array::arrays::slice::Slice::deserialize(_bytes: &[u8], _dtype: &v pub fn vortex_array::arrays::slice::Slice::dtype(array: &vortex_array::arrays::slice::SliceArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::slice::Slice::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::slice::Slice::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::slice::Slice::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::slice::Slice::id(&self) -> vortex_array::vtable::ArrayId @@ -3912,9 +3912,9 @@ pub fn vortex_array::arrays::slice::Slice::nbuffers(_array: &Self::Array) -> usi pub fn vortex_array::arrays::slice::Slice::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::slice::Slice::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::slice::Slice::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::slice::Slice::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -4158,9 +4158,9 @@ pub fn vortex_array::arrays::Struct::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Struct::dtype(array: &vortex_array::arrays::StructArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Struct::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Struct::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Struct::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Struct::id(&self) -> vortex_array::vtable::ArrayId @@ -4172,9 +4172,9 @@ pub fn vortex_array::arrays::Struct::nbuffers(_array: &vortex_array::arrays::Str pub fn vortex_array::arrays::Struct::nchildren(array: &vortex_array::arrays::StructArray) -> usize -pub fn vortex_array::arrays::Struct::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Struct::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Struct::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -4380,9 +4380,9 @@ pub fn vortex_array::arrays::VarBin::deserialize(bytes: &[u8], _dtype: &vortex_a pub fn vortex_array::arrays::VarBin::dtype(array: &vortex_array::arrays::VarBinArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::VarBin::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::VarBin::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::VarBin::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBin::id(&self) -> vortex_array::vtable::ArrayId @@ -4394,9 +4394,9 @@ pub fn vortex_array::arrays::VarBin::nbuffers(_array: &vortex_array::arrays::Var pub fn vortex_array::arrays::VarBin::nchildren(array: &vortex_array::arrays::VarBinArray) -> usize -pub fn vortex_array::arrays::VarBin::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::VarBin::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBin::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -4788,9 +4788,9 @@ pub fn vortex_array::arrays::VarBinView::deserialize(_bytes: &[u8], _dtype: &vor pub fn vortex_array::arrays::VarBinView::dtype(array: &vortex_array::arrays::VarBinViewArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::VarBinView::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::VarBinView::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::VarBinView::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBinView::id(&self) -> vortex_array::vtable::ArrayId @@ -4802,9 +4802,9 @@ pub fn vortex_array::arrays::VarBinView::nbuffers(array: &vortex_array::arrays:: pub fn vortex_array::arrays::VarBinView::nchildren(array: &vortex_array::arrays::VarBinViewArray) -> usize -pub fn vortex_array::arrays::VarBinView::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::VarBinView::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBinView::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -4984,9 +4984,9 @@ pub fn vortex_array::arrays::Variant::deserialize(_bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::Variant::dtype(array: &Self::Array) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Variant::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Variant::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Variant::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Variant::id(&self) -> vortex_array::vtable::ArrayId @@ -4998,9 +4998,9 @@ pub fn vortex_array::arrays::Variant::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Variant::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Variant::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Variant::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Variant::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -5130,9 +5130,9 @@ pub fn vortex_array::arrays::Bool::deserialize(bytes: &[u8], _dtype: &vortex_arr pub fn vortex_array::arrays::Bool::dtype(array: &vortex_array::arrays::BoolArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Bool::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Bool::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Bool::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Bool::id(&self) -> vortex_array::vtable::ArrayId @@ -5144,9 +5144,9 @@ pub fn vortex_array::arrays::Bool::nbuffers(_array: &vortex_array::arrays::BoolA pub fn vortex_array::arrays::Bool::nchildren(array: &vortex_array::arrays::BoolArray) -> usize -pub fn vortex_array::arrays::Bool::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Bool::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Bool::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -5316,9 +5316,9 @@ pub fn vortex_array::arrays::Chunked::deserialize(_bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::Chunked::dtype(array: &vortex_array::arrays::ChunkedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Chunked::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Chunked::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Chunked::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Chunked::id(&self) -> vortex_array::vtable::ArrayId @@ -5330,9 +5330,9 @@ pub fn vortex_array::arrays::Chunked::nbuffers(_array: &vortex_array::arrays::Ch pub fn vortex_array::arrays::Chunked::nchildren(array: &vortex_array::arrays::ChunkedArray) -> usize -pub fn vortex_array::arrays::Chunked::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Chunked::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Chunked::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -5486,9 +5486,9 @@ pub fn vortex_array::arrays::Constant::deserialize(_bytes: &[u8], dtype: &vortex pub fn vortex_array::arrays::Constant::dtype(array: &vortex_array::arrays::ConstantArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Constant::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Constant::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Constant::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Constant::id(&self) -> vortex_array::vtable::ArrayId @@ -5500,9 +5500,9 @@ pub fn vortex_array::arrays::Constant::nbuffers(_array: &vortex_array::arrays::C pub fn vortex_array::arrays::Constant::nchildren(_array: &vortex_array::arrays::ConstantArray) -> usize -pub fn vortex_array::arrays::Constant::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Constant::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Constant::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -5634,9 +5634,9 @@ pub fn vortex_array::arrays::Decimal::deserialize(bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Decimal::dtype(array: &vortex_array::arrays::DecimalArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Decimal::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Decimal::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Decimal::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Decimal::id(&self) -> vortex_array::vtable::ArrayId @@ -5648,9 +5648,9 @@ pub fn vortex_array::arrays::Decimal::nbuffers(_array: &vortex_array::arrays::De pub fn vortex_array::arrays::Decimal::nchildren(array: &vortex_array::arrays::DecimalArray) -> usize -pub fn vortex_array::arrays::Decimal::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Decimal::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Decimal::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -5816,9 +5816,9 @@ pub fn vortex_array::arrays::dict::Dict::deserialize(bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::dict::Dict::dtype(array: &vortex_array::arrays::dict::DictArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::dict::Dict::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::dict::Dict::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::dict::Dict::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::dict::Dict::id(&self) -> vortex_array::vtable::ArrayId @@ -5830,9 +5830,9 @@ pub fn vortex_array::arrays::dict::Dict::nbuffers(_array: &vortex_array::arrays: pub fn vortex_array::arrays::dict::Dict::nchildren(_array: &vortex_array::arrays::dict::DictArray) -> usize -pub fn vortex_array::arrays::dict::Dict::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::dict::Dict::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::dict::Dict::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -5976,9 +5976,9 @@ pub fn vortex_array::arrays::Extension::deserialize(_bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::Extension::dtype(array: &vortex_array::arrays::ExtensionArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Extension::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Extension::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Extension::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Extension::id(&self) -> vortex_array::vtable::ArrayId @@ -5990,9 +5990,9 @@ pub fn vortex_array::arrays::Extension::nbuffers(_array: &vortex_array::arrays:: pub fn vortex_array::arrays::Extension::nchildren(_array: &vortex_array::arrays::ExtensionArray) -> usize -pub fn vortex_array::arrays::Extension::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Extension::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Extension::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -6116,9 +6116,9 @@ pub fn vortex_array::arrays::Filter::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Filter::dtype(array: &vortex_array::arrays::FilterArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Filter::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Filter::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Filter::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Filter::id(&self) -> vortex_array::vtable::ArrayId @@ -6130,9 +6130,9 @@ pub fn vortex_array::arrays::Filter::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Filter::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Filter::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Filter::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Filter::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -6254,9 +6254,9 @@ pub fn vortex_array::arrays::FixedSizeList::deserialize(_bytes: &[u8], _dtype: & pub fn vortex_array::arrays::FixedSizeList::dtype(array: &vortex_array::arrays::FixedSizeListArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::FixedSizeList::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::FixedSizeList::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::FixedSizeList::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::FixedSizeList::id(&self) -> vortex_array::vtable::ArrayId @@ -6268,9 +6268,9 @@ pub fn vortex_array::arrays::FixedSizeList::nbuffers(_array: &vortex_array::arra pub fn vortex_array::arrays::FixedSizeList::nchildren(array: &vortex_array::arrays::FixedSizeListArray) -> usize -pub fn vortex_array::arrays::FixedSizeList::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::FixedSizeList::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::FixedSizeList::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -6406,9 +6406,9 @@ pub fn vortex_array::arrays::List::deserialize(bytes: &[u8], _dtype: &vortex_arr pub fn vortex_array::arrays::List::dtype(array: &vortex_array::arrays::ListArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::List::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::List::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::List::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::List::id(&self) -> vortex_array::vtable::ArrayId @@ -6420,9 +6420,9 @@ pub fn vortex_array::arrays::List::nbuffers(_array: &vortex_array::arrays::ListA pub fn vortex_array::arrays::List::nchildren(array: &vortex_array::arrays::ListArray) -> usize -pub fn vortex_array::arrays::List::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::List::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::List::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -6558,9 +6558,9 @@ pub fn vortex_array::arrays::ListView::deserialize(bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::ListView::dtype(array: &vortex_array::arrays::ListViewArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::ListView::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::ListView::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::ListView::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::ListView::id(&self) -> vortex_array::vtable::ArrayId @@ -6572,9 +6572,9 @@ pub fn vortex_array::arrays::ListView::nbuffers(_array: &vortex_array::arrays::L pub fn vortex_array::arrays::ListView::nchildren(array: &vortex_array::arrays::ListViewArray) -> usize -pub fn vortex_array::arrays::ListView::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::ListView::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::ListView::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -6722,9 +6722,9 @@ pub fn vortex_array::arrays::Masked::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Masked::dtype(array: &vortex_array::arrays::MaskedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Masked::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Masked::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Masked::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Masked::id(&self) -> vortex_array::vtable::ArrayId @@ -6736,9 +6736,9 @@ pub fn vortex_array::arrays::Masked::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Masked::nchildren(array: &Self::Array) -> usize -pub fn vortex_array::arrays::Masked::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Masked::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Masked::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -6862,9 +6862,9 @@ pub fn vortex_array::arrays::null::Null::deserialize(_bytes: &[u8], _dtype: &vor pub fn vortex_array::arrays::null::Null::dtype(_array: &vortex_array::arrays::null::NullArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::null::Null::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::null::Null::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::null::Null::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::null::Null::id(&self) -> vortex_array::vtable::ArrayId @@ -6876,9 +6876,9 @@ pub fn vortex_array::arrays::null::Null::nbuffers(_array: &vortex_array::arrays: pub fn vortex_array::arrays::null::Null::nchildren(_array: &vortex_array::arrays::null::NullArray) -> usize -pub fn vortex_array::arrays::null::Null::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::null::Null::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::null::Null::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -7010,9 +7010,9 @@ pub fn vortex_array::arrays::Primitive::deserialize(_bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::Primitive::dtype(array: &vortex_array::arrays::PrimitiveArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Primitive::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Primitive::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Primitive::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Primitive::id(&self) -> vortex_array::vtable::ArrayId @@ -7024,9 +7024,9 @@ pub fn vortex_array::arrays::Primitive::nbuffers(_array: &vortex_array::arrays:: pub fn vortex_array::arrays::Primitive::nchildren(array: &vortex_array::arrays::PrimitiveArray) -> usize -pub fn vortex_array::arrays::Primitive::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Primitive::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Primitive::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -7242,9 +7242,9 @@ pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::deserialize(_bytes: &[u8 pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::dtype(array: &vortex_array::arrays::scalar_fn::ScalarFnArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::id(&self) -> vortex_array::vtable::ArrayId @@ -7256,9 +7256,9 @@ pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::nbuffers(_array: &vortex pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::nchildren(array: &vortex_array::arrays::scalar_fn::ScalarFnArray) -> usize -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -7320,9 +7320,9 @@ pub fn vortex_array::arrays::Shared::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Shared::dtype(array: &vortex_array::arrays::SharedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Shared::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Shared::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Shared::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Shared::id(&self) -> vortex_array::vtable::ArrayId @@ -7334,9 +7334,9 @@ pub fn vortex_array::arrays::Shared::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Shared::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Shared::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Shared::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Shared::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -7442,9 +7442,9 @@ pub fn vortex_array::arrays::slice::Slice::deserialize(_bytes: &[u8], _dtype: &v pub fn vortex_array::arrays::slice::Slice::dtype(array: &vortex_array::arrays::slice::SliceArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::slice::Slice::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::slice::Slice::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::slice::Slice::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::slice::Slice::id(&self) -> vortex_array::vtable::ArrayId @@ -7456,9 +7456,9 @@ pub fn vortex_array::arrays::slice::Slice::nbuffers(_array: &Self::Array) -> usi pub fn vortex_array::arrays::slice::Slice::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::slice::Slice::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::slice::Slice::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::slice::Slice::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -7584,9 +7584,9 @@ pub fn vortex_array::arrays::Struct::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Struct::dtype(array: &vortex_array::arrays::StructArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Struct::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Struct::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Struct::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Struct::id(&self) -> vortex_array::vtable::ArrayId @@ -7598,9 +7598,9 @@ pub fn vortex_array::arrays::Struct::nbuffers(_array: &vortex_array::arrays::Str pub fn vortex_array::arrays::Struct::nchildren(array: &vortex_array::arrays::StructArray) -> usize -pub fn vortex_array::arrays::Struct::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Struct::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Struct::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -7830,9 +7830,9 @@ pub fn vortex_array::arrays::VarBin::deserialize(bytes: &[u8], _dtype: &vortex_a pub fn vortex_array::arrays::VarBin::dtype(array: &vortex_array::arrays::VarBinArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::VarBin::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::VarBin::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::VarBin::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBin::id(&self) -> vortex_array::vtable::ArrayId @@ -7844,9 +7844,9 @@ pub fn vortex_array::arrays::VarBin::nbuffers(_array: &vortex_array::arrays::Var pub fn vortex_array::arrays::VarBin::nchildren(array: &vortex_array::arrays::VarBinArray) -> usize -pub fn vortex_array::arrays::VarBin::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::VarBin::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBin::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -8052,9 +8052,9 @@ pub fn vortex_array::arrays::VarBinView::deserialize(_bytes: &[u8], _dtype: &vor pub fn vortex_array::arrays::VarBinView::dtype(array: &vortex_array::arrays::VarBinViewArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::VarBinView::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::VarBinView::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::VarBinView::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBinView::id(&self) -> vortex_array::vtable::ArrayId @@ -8066,9 +8066,9 @@ pub fn vortex_array::arrays::VarBinView::nbuffers(array: &vortex_array::arrays:: pub fn vortex_array::arrays::VarBinView::nchildren(array: &vortex_array::arrays::VarBinViewArray) -> usize -pub fn vortex_array::arrays::VarBinView::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::VarBinView::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBinView::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -8236,9 +8236,9 @@ pub fn vortex_array::arrays::Variant::deserialize(_bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::Variant::dtype(array: &Self::Array) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Variant::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Variant::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Variant::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Variant::id(&self) -> vortex_array::vtable::ArrayId @@ -8250,9 +8250,9 @@ pub fn vortex_array::arrays::Variant::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Variant::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Variant::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Variant::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Variant::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -20810,9 +20810,9 @@ pub fn vortex_array::vtable::ArrayVTable::deserialize(bytes: &[u8], _dtype: &vor pub fn vortex_array::vtable::ArrayVTable::dtype(array: &Self::Array) -> &vortex_array::dtype::DType -pub fn vortex_array::vtable::ArrayVTable::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::vtable::ArrayVTable::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::vtable::ArrayVTable::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::vtable::ArrayVTable::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::vtable::ArrayVTable::id(&self) -> vortex_array::vtable::ArrayId @@ -20824,9 +20824,9 @@ pub fn vortex_array::vtable::ArrayVTable::nbuffers(array: &Self::Array) -> usize pub fn vortex_array::vtable::ArrayVTable::nchildren(array: &Self::Array) -> usize -pub fn vortex_array::vtable::ArrayVTable::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::vtable::ArrayVTable::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::vtable::ArrayVTable::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::vtable::ArrayVTable::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::vtable::ArrayVTable::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -20866,9 +20866,9 @@ pub fn vortex_array::arrays::Bool::deserialize(bytes: &[u8], _dtype: &vortex_arr pub fn vortex_array::arrays::Bool::dtype(array: &vortex_array::arrays::BoolArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Bool::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Bool::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Bool::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Bool::id(&self) -> vortex_array::vtable::ArrayId @@ -20880,9 +20880,9 @@ pub fn vortex_array::arrays::Bool::nbuffers(_array: &vortex_array::arrays::BoolA pub fn vortex_array::arrays::Bool::nchildren(array: &vortex_array::arrays::BoolArray) -> usize -pub fn vortex_array::arrays::Bool::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Bool::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Bool::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -20922,9 +20922,9 @@ pub fn vortex_array::arrays::Chunked::deserialize(_bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::Chunked::dtype(array: &vortex_array::arrays::ChunkedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Chunked::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Chunked::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Chunked::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Chunked::id(&self) -> vortex_array::vtable::ArrayId @@ -20936,9 +20936,9 @@ pub fn vortex_array::arrays::Chunked::nbuffers(_array: &vortex_array::arrays::Ch pub fn vortex_array::arrays::Chunked::nchildren(array: &vortex_array::arrays::ChunkedArray) -> usize -pub fn vortex_array::arrays::Chunked::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Chunked::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Chunked::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -20978,9 +20978,9 @@ pub fn vortex_array::arrays::Constant::deserialize(_bytes: &[u8], dtype: &vortex pub fn vortex_array::arrays::Constant::dtype(array: &vortex_array::arrays::ConstantArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Constant::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Constant::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Constant::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Constant::id(&self) -> vortex_array::vtable::ArrayId @@ -20992,9 +20992,9 @@ pub fn vortex_array::arrays::Constant::nbuffers(_array: &vortex_array::arrays::C pub fn vortex_array::arrays::Constant::nchildren(_array: &vortex_array::arrays::ConstantArray) -> usize -pub fn vortex_array::arrays::Constant::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Constant::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Constant::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21034,9 +21034,9 @@ pub fn vortex_array::arrays::Decimal::deserialize(bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Decimal::dtype(array: &vortex_array::arrays::DecimalArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Decimal::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Decimal::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Decimal::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Decimal::id(&self) -> vortex_array::vtable::ArrayId @@ -21048,9 +21048,9 @@ pub fn vortex_array::arrays::Decimal::nbuffers(_array: &vortex_array::arrays::De pub fn vortex_array::arrays::Decimal::nchildren(array: &vortex_array::arrays::DecimalArray) -> usize -pub fn vortex_array::arrays::Decimal::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Decimal::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Decimal::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21090,9 +21090,9 @@ pub fn vortex_array::arrays::Extension::deserialize(_bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::Extension::dtype(array: &vortex_array::arrays::ExtensionArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Extension::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Extension::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Extension::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Extension::id(&self) -> vortex_array::vtable::ArrayId @@ -21104,9 +21104,9 @@ pub fn vortex_array::arrays::Extension::nbuffers(_array: &vortex_array::arrays:: pub fn vortex_array::arrays::Extension::nchildren(_array: &vortex_array::arrays::ExtensionArray) -> usize -pub fn vortex_array::arrays::Extension::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Extension::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Extension::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21146,9 +21146,9 @@ pub fn vortex_array::arrays::Filter::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Filter::dtype(array: &vortex_array::arrays::FilterArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Filter::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Filter::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Filter::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Filter::id(&self) -> vortex_array::vtable::ArrayId @@ -21160,9 +21160,9 @@ pub fn vortex_array::arrays::Filter::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Filter::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Filter::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Filter::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Filter::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21202,9 +21202,9 @@ pub fn vortex_array::arrays::FixedSizeList::deserialize(_bytes: &[u8], _dtype: & pub fn vortex_array::arrays::FixedSizeList::dtype(array: &vortex_array::arrays::FixedSizeListArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::FixedSizeList::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::FixedSizeList::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::FixedSizeList::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::FixedSizeList::id(&self) -> vortex_array::vtable::ArrayId @@ -21216,9 +21216,9 @@ pub fn vortex_array::arrays::FixedSizeList::nbuffers(_array: &vortex_array::arra pub fn vortex_array::arrays::FixedSizeList::nchildren(array: &vortex_array::arrays::FixedSizeListArray) -> usize -pub fn vortex_array::arrays::FixedSizeList::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::FixedSizeList::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::FixedSizeList::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21258,9 +21258,9 @@ pub fn vortex_array::arrays::List::deserialize(bytes: &[u8], _dtype: &vortex_arr pub fn vortex_array::arrays::List::dtype(array: &vortex_array::arrays::ListArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::List::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::List::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::List::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::List::id(&self) -> vortex_array::vtable::ArrayId @@ -21272,9 +21272,9 @@ pub fn vortex_array::arrays::List::nbuffers(_array: &vortex_array::arrays::ListA pub fn vortex_array::arrays::List::nchildren(array: &vortex_array::arrays::ListArray) -> usize -pub fn vortex_array::arrays::List::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::List::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::List::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21314,9 +21314,9 @@ pub fn vortex_array::arrays::ListView::deserialize(bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::ListView::dtype(array: &vortex_array::arrays::ListViewArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::ListView::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::ListView::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::ListView::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::ListView::id(&self) -> vortex_array::vtable::ArrayId @@ -21328,9 +21328,9 @@ pub fn vortex_array::arrays::ListView::nbuffers(_array: &vortex_array::arrays::L pub fn vortex_array::arrays::ListView::nchildren(array: &vortex_array::arrays::ListViewArray) -> usize -pub fn vortex_array::arrays::ListView::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::ListView::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::ListView::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21370,9 +21370,9 @@ pub fn vortex_array::arrays::Masked::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Masked::dtype(array: &vortex_array::arrays::MaskedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Masked::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Masked::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Masked::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Masked::id(&self) -> vortex_array::vtable::ArrayId @@ -21384,9 +21384,9 @@ pub fn vortex_array::arrays::Masked::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Masked::nchildren(array: &Self::Array) -> usize -pub fn vortex_array::arrays::Masked::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Masked::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Masked::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21426,9 +21426,9 @@ pub fn vortex_array::arrays::Primitive::deserialize(_bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::Primitive::dtype(array: &vortex_array::arrays::PrimitiveArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Primitive::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Primitive::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Primitive::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Primitive::id(&self) -> vortex_array::vtable::ArrayId @@ -21440,9 +21440,9 @@ pub fn vortex_array::arrays::Primitive::nbuffers(_array: &vortex_array::arrays:: pub fn vortex_array::arrays::Primitive::nchildren(array: &vortex_array::arrays::PrimitiveArray) -> usize -pub fn vortex_array::arrays::Primitive::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Primitive::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Primitive::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21482,9 +21482,9 @@ pub fn vortex_array::arrays::Shared::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Shared::dtype(array: &vortex_array::arrays::SharedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Shared::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Shared::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Shared::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Shared::id(&self) -> vortex_array::vtable::ArrayId @@ -21496,9 +21496,9 @@ pub fn vortex_array::arrays::Shared::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Shared::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Shared::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Shared::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Shared::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21538,9 +21538,9 @@ pub fn vortex_array::arrays::Struct::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Struct::dtype(array: &vortex_array::arrays::StructArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Struct::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Struct::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Struct::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Struct::id(&self) -> vortex_array::vtable::ArrayId @@ -21552,9 +21552,9 @@ pub fn vortex_array::arrays::Struct::nbuffers(_array: &vortex_array::arrays::Str pub fn vortex_array::arrays::Struct::nchildren(array: &vortex_array::arrays::StructArray) -> usize -pub fn vortex_array::arrays::Struct::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Struct::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Struct::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21594,9 +21594,9 @@ pub fn vortex_array::arrays::VarBin::deserialize(bytes: &[u8], _dtype: &vortex_a pub fn vortex_array::arrays::VarBin::dtype(array: &vortex_array::arrays::VarBinArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::VarBin::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::VarBin::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::VarBin::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBin::id(&self) -> vortex_array::vtable::ArrayId @@ -21608,9 +21608,9 @@ pub fn vortex_array::arrays::VarBin::nbuffers(_array: &vortex_array::arrays::Var pub fn vortex_array::arrays::VarBin::nchildren(array: &vortex_array::arrays::VarBinArray) -> usize -pub fn vortex_array::arrays::VarBin::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::VarBin::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBin::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21650,9 +21650,9 @@ pub fn vortex_array::arrays::VarBinView::deserialize(_bytes: &[u8], _dtype: &vor pub fn vortex_array::arrays::VarBinView::dtype(array: &vortex_array::arrays::VarBinViewArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::VarBinView::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::VarBinView::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::VarBinView::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBinView::id(&self) -> vortex_array::vtable::ArrayId @@ -21664,9 +21664,9 @@ pub fn vortex_array::arrays::VarBinView::nbuffers(array: &vortex_array::arrays:: pub fn vortex_array::arrays::VarBinView::nchildren(array: &vortex_array::arrays::VarBinViewArray) -> usize -pub fn vortex_array::arrays::VarBinView::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::VarBinView::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBinView::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21706,9 +21706,9 @@ pub fn vortex_array::arrays::Variant::deserialize(_bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::Variant::dtype(array: &Self::Array) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Variant::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Variant::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Variant::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Variant::id(&self) -> vortex_array::vtable::ArrayId @@ -21720,9 +21720,9 @@ pub fn vortex_array::arrays::Variant::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Variant::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Variant::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Variant::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Variant::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21762,9 +21762,9 @@ pub fn vortex_array::arrays::dict::Dict::deserialize(bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::dict::Dict::dtype(array: &vortex_array::arrays::dict::DictArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::dict::Dict::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::dict::Dict::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::dict::Dict::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::dict::Dict::id(&self) -> vortex_array::vtable::ArrayId @@ -21776,9 +21776,9 @@ pub fn vortex_array::arrays::dict::Dict::nbuffers(_array: &vortex_array::arrays: pub fn vortex_array::arrays::dict::Dict::nchildren(_array: &vortex_array::arrays::dict::DictArray) -> usize -pub fn vortex_array::arrays::dict::Dict::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::dict::Dict::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::dict::Dict::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21818,9 +21818,9 @@ pub fn vortex_array::arrays::null::Null::deserialize(_bytes: &[u8], _dtype: &vor pub fn vortex_array::arrays::null::Null::dtype(_array: &vortex_array::arrays::null::NullArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::null::Null::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::null::Null::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::null::Null::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::null::Null::id(&self) -> vortex_array::vtable::ArrayId @@ -21832,9 +21832,9 @@ pub fn vortex_array::arrays::null::Null::nbuffers(_array: &vortex_array::arrays: pub fn vortex_array::arrays::null::Null::nchildren(_array: &vortex_array::arrays::null::NullArray) -> usize -pub fn vortex_array::arrays::null::Null::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::null::Null::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::null::Null::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21874,9 +21874,9 @@ pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::deserialize(_bytes: &[u8 pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::dtype(array: &vortex_array::arrays::scalar_fn::ScalarFnArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::id(&self) -> vortex_array::vtable::ArrayId @@ -21888,9 +21888,9 @@ pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::nbuffers(_array: &vortex pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::nchildren(array: &vortex_array::arrays::scalar_fn::ScalarFnArray) -> usize -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -21930,9 +21930,9 @@ pub fn vortex_array::arrays::slice::Slice::deserialize(_bytes: &[u8], _dtype: &v pub fn vortex_array::arrays::slice::Slice::dtype(array: &vortex_array::arrays::slice::SliceArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::slice::Slice::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::slice::Slice::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::slice::Slice::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::slice::Slice::id(&self) -> vortex_array::vtable::ArrayId @@ -21944,9 +21944,9 @@ pub fn vortex_array::arrays::slice::Slice::nbuffers(_array: &Self::Array) -> usi pub fn vortex_array::arrays::slice::Slice::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::slice::Slice::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::slice::Slice::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::slice::Slice::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22106,9 +22106,9 @@ pub fn vortex_array::vtable::VTable::deserialize(bytes: &[u8], _dtype: &vortex_a pub fn vortex_array::vtable::VTable::dtype(array: &Self::Array) -> &vortex_array::dtype::DType -pub fn vortex_array::vtable::VTable::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::vtable::VTable::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::vtable::VTable::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::vtable::VTable::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::vtable::VTable::id(&self) -> vortex_array::vtable::ArrayId @@ -22120,9 +22120,9 @@ pub fn vortex_array::vtable::VTable::nbuffers(array: &Self::Array) -> usize pub fn vortex_array::vtable::VTable::nchildren(array: &Self::Array) -> usize -pub fn vortex_array::vtable::VTable::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::vtable::VTable::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::vtable::VTable::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::vtable::VTable::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::vtable::VTable::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22162,9 +22162,9 @@ pub fn vortex_array::arrays::Bool::deserialize(bytes: &[u8], _dtype: &vortex_arr pub fn vortex_array::arrays::Bool::dtype(array: &vortex_array::arrays::BoolArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Bool::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Bool::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Bool::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Bool::id(&self) -> vortex_array::vtable::ArrayId @@ -22176,9 +22176,9 @@ pub fn vortex_array::arrays::Bool::nbuffers(_array: &vortex_array::arrays::BoolA pub fn vortex_array::arrays::Bool::nchildren(array: &vortex_array::arrays::BoolArray) -> usize -pub fn vortex_array::arrays::Bool::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Bool::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Bool::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Bool::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22218,9 +22218,9 @@ pub fn vortex_array::arrays::Chunked::deserialize(_bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::Chunked::dtype(array: &vortex_array::arrays::ChunkedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Chunked::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Chunked::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Chunked::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Chunked::id(&self) -> vortex_array::vtable::ArrayId @@ -22232,9 +22232,9 @@ pub fn vortex_array::arrays::Chunked::nbuffers(_array: &vortex_array::arrays::Ch pub fn vortex_array::arrays::Chunked::nchildren(array: &vortex_array::arrays::ChunkedArray) -> usize -pub fn vortex_array::arrays::Chunked::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Chunked::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Chunked::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Chunked::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22274,9 +22274,9 @@ pub fn vortex_array::arrays::Constant::deserialize(_bytes: &[u8], dtype: &vortex pub fn vortex_array::arrays::Constant::dtype(array: &vortex_array::arrays::ConstantArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Constant::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Constant::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Constant::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Constant::id(&self) -> vortex_array::vtable::ArrayId @@ -22288,9 +22288,9 @@ pub fn vortex_array::arrays::Constant::nbuffers(_array: &vortex_array::arrays::C pub fn vortex_array::arrays::Constant::nchildren(_array: &vortex_array::arrays::ConstantArray) -> usize -pub fn vortex_array::arrays::Constant::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Constant::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Constant::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Constant::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22330,9 +22330,9 @@ pub fn vortex_array::arrays::Decimal::deserialize(bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Decimal::dtype(array: &vortex_array::arrays::DecimalArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Decimal::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Decimal::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Decimal::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Decimal::id(&self) -> vortex_array::vtable::ArrayId @@ -22344,9 +22344,9 @@ pub fn vortex_array::arrays::Decimal::nbuffers(_array: &vortex_array::arrays::De pub fn vortex_array::arrays::Decimal::nchildren(array: &vortex_array::arrays::DecimalArray) -> usize -pub fn vortex_array::arrays::Decimal::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Decimal::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Decimal::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Decimal::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22386,9 +22386,9 @@ pub fn vortex_array::arrays::Extension::deserialize(_bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::Extension::dtype(array: &vortex_array::arrays::ExtensionArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Extension::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Extension::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Extension::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Extension::id(&self) -> vortex_array::vtable::ArrayId @@ -22400,9 +22400,9 @@ pub fn vortex_array::arrays::Extension::nbuffers(_array: &vortex_array::arrays:: pub fn vortex_array::arrays::Extension::nchildren(_array: &vortex_array::arrays::ExtensionArray) -> usize -pub fn vortex_array::arrays::Extension::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Extension::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Extension::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Extension::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22442,9 +22442,9 @@ pub fn vortex_array::arrays::Filter::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Filter::dtype(array: &vortex_array::arrays::FilterArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Filter::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Filter::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Filter::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Filter::id(&self) -> vortex_array::vtable::ArrayId @@ -22456,9 +22456,9 @@ pub fn vortex_array::arrays::Filter::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Filter::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Filter::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Filter::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Filter::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Filter::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22498,9 +22498,9 @@ pub fn vortex_array::arrays::FixedSizeList::deserialize(_bytes: &[u8], _dtype: & pub fn vortex_array::arrays::FixedSizeList::dtype(array: &vortex_array::arrays::FixedSizeListArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::FixedSizeList::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::FixedSizeList::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::FixedSizeList::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::FixedSizeList::id(&self) -> vortex_array::vtable::ArrayId @@ -22512,9 +22512,9 @@ pub fn vortex_array::arrays::FixedSizeList::nbuffers(_array: &vortex_array::arra pub fn vortex_array::arrays::FixedSizeList::nchildren(array: &vortex_array::arrays::FixedSizeListArray) -> usize -pub fn vortex_array::arrays::FixedSizeList::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::FixedSizeList::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::FixedSizeList::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::FixedSizeList::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22554,9 +22554,9 @@ pub fn vortex_array::arrays::List::deserialize(bytes: &[u8], _dtype: &vortex_arr pub fn vortex_array::arrays::List::dtype(array: &vortex_array::arrays::ListArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::List::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::List::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::List::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::List::id(&self) -> vortex_array::vtable::ArrayId @@ -22568,9 +22568,9 @@ pub fn vortex_array::arrays::List::nbuffers(_array: &vortex_array::arrays::ListA pub fn vortex_array::arrays::List::nchildren(array: &vortex_array::arrays::ListArray) -> usize -pub fn vortex_array::arrays::List::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::List::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::List::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::List::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22610,9 +22610,9 @@ pub fn vortex_array::arrays::ListView::deserialize(bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::ListView::dtype(array: &vortex_array::arrays::ListViewArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::ListView::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::ListView::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::ListView::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::ListView::id(&self) -> vortex_array::vtable::ArrayId @@ -22624,9 +22624,9 @@ pub fn vortex_array::arrays::ListView::nbuffers(_array: &vortex_array::arrays::L pub fn vortex_array::arrays::ListView::nchildren(array: &vortex_array::arrays::ListViewArray) -> usize -pub fn vortex_array::arrays::ListView::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::ListView::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::ListView::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::ListView::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22666,9 +22666,9 @@ pub fn vortex_array::arrays::Masked::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Masked::dtype(array: &vortex_array::arrays::MaskedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Masked::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Masked::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Masked::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Masked::id(&self) -> vortex_array::vtable::ArrayId @@ -22680,9 +22680,9 @@ pub fn vortex_array::arrays::Masked::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Masked::nchildren(array: &Self::Array) -> usize -pub fn vortex_array::arrays::Masked::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Masked::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Masked::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Masked::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22722,9 +22722,9 @@ pub fn vortex_array::arrays::Primitive::deserialize(_bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::Primitive::dtype(array: &vortex_array::arrays::PrimitiveArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Primitive::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Primitive::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Primitive::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Primitive::id(&self) -> vortex_array::vtable::ArrayId @@ -22736,9 +22736,9 @@ pub fn vortex_array::arrays::Primitive::nbuffers(_array: &vortex_array::arrays:: pub fn vortex_array::arrays::Primitive::nchildren(array: &vortex_array::arrays::PrimitiveArray) -> usize -pub fn vortex_array::arrays::Primitive::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Primitive::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Primitive::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Primitive::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22778,9 +22778,9 @@ pub fn vortex_array::arrays::Shared::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Shared::dtype(array: &vortex_array::arrays::SharedArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Shared::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Shared::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Shared::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Shared::id(&self) -> vortex_array::vtable::ArrayId @@ -22792,9 +22792,9 @@ pub fn vortex_array::arrays::Shared::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Shared::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Shared::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Shared::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Shared::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Shared::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22834,9 +22834,9 @@ pub fn vortex_array::arrays::Struct::deserialize(_bytes: &[u8], _dtype: &vortex_ pub fn vortex_array::arrays::Struct::dtype(array: &vortex_array::arrays::StructArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Struct::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Struct::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Struct::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Struct::id(&self) -> vortex_array::vtable::ArrayId @@ -22848,9 +22848,9 @@ pub fn vortex_array::arrays::Struct::nbuffers(_array: &vortex_array::arrays::Str pub fn vortex_array::arrays::Struct::nchildren(array: &vortex_array::arrays::StructArray) -> usize -pub fn vortex_array::arrays::Struct::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Struct::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Struct::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Struct::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22890,9 +22890,9 @@ pub fn vortex_array::arrays::VarBin::deserialize(bytes: &[u8], _dtype: &vortex_a pub fn vortex_array::arrays::VarBin::dtype(array: &vortex_array::arrays::VarBinArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::VarBin::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::VarBin::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::VarBin::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBin::id(&self) -> vortex_array::vtable::ArrayId @@ -22904,9 +22904,9 @@ pub fn vortex_array::arrays::VarBin::nbuffers(_array: &vortex_array::arrays::Var pub fn vortex_array::arrays::VarBin::nchildren(array: &vortex_array::arrays::VarBinArray) -> usize -pub fn vortex_array::arrays::VarBin::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::VarBin::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBin::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBin::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -22946,9 +22946,9 @@ pub fn vortex_array::arrays::VarBinView::deserialize(_bytes: &[u8], _dtype: &vor pub fn vortex_array::arrays::VarBinView::dtype(array: &vortex_array::arrays::VarBinViewArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::VarBinView::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::VarBinView::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::VarBinView::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBinView::id(&self) -> vortex_array::vtable::ArrayId @@ -22960,9 +22960,9 @@ pub fn vortex_array::arrays::VarBinView::nbuffers(array: &vortex_array::arrays:: pub fn vortex_array::arrays::VarBinView::nchildren(array: &vortex_array::arrays::VarBinViewArray) -> usize -pub fn vortex_array::arrays::VarBinView::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::VarBinView::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::VarBinView::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::VarBinView::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -23002,9 +23002,9 @@ pub fn vortex_array::arrays::Variant::deserialize(_bytes: &[u8], _dtype: &vortex pub fn vortex_array::arrays::Variant::dtype(array: &Self::Array) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::Variant::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::Variant::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::Variant::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Variant::id(&self) -> vortex_array::vtable::ArrayId @@ -23016,9 +23016,9 @@ pub fn vortex_array::arrays::Variant::nbuffers(_array: &Self::Array) -> usize pub fn vortex_array::arrays::Variant::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::Variant::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::Variant::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::Variant::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::Variant::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -23058,9 +23058,9 @@ pub fn vortex_array::arrays::dict::Dict::deserialize(bytes: &[u8], _dtype: &vort pub fn vortex_array::arrays::dict::Dict::dtype(array: &vortex_array::arrays::dict::DictArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::dict::Dict::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::dict::Dict::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::dict::Dict::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::dict::Dict::id(&self) -> vortex_array::vtable::ArrayId @@ -23072,9 +23072,9 @@ pub fn vortex_array::arrays::dict::Dict::nbuffers(_array: &vortex_array::arrays: pub fn vortex_array::arrays::dict::Dict::nchildren(_array: &vortex_array::arrays::dict::DictArray) -> usize -pub fn vortex_array::arrays::dict::Dict::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::dict::Dict::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::dict::Dict::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::dict::Dict::serialize(metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -23114,9 +23114,9 @@ pub fn vortex_array::arrays::null::Null::deserialize(_bytes: &[u8], _dtype: &vor pub fn vortex_array::arrays::null::Null::dtype(_array: &vortex_array::arrays::null::NullArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::null::Null::execute(array: alloc::sync::Arc, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::null::Null::execute(array: alloc::sync::Arc>, _ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::null::Null::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::null::Null::id(&self) -> vortex_array::vtable::ArrayId @@ -23128,9 +23128,9 @@ pub fn vortex_array::arrays::null::Null::nbuffers(_array: &vortex_array::arrays: pub fn vortex_array::arrays::null::Null::nchildren(_array: &vortex_array::arrays::null::NullArray) -> usize -pub fn vortex_array::arrays::null::Null::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::null::Null::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::null::Null::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::null::Null::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -23170,9 +23170,9 @@ pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::deserialize(_bytes: &[u8 pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::dtype(array: &vortex_array::arrays::scalar_fn::ScalarFnArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::id(&self) -> vortex_array::vtable::ArrayId @@ -23184,9 +23184,9 @@ pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::nbuffers(_array: &vortex pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::nchildren(array: &vortex_array::arrays::scalar_fn::ScalarFnArray) -> usize -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::scalar_fn::ScalarFnVTable::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -23226,9 +23226,9 @@ pub fn vortex_array::arrays::slice::Slice::deserialize(_bytes: &[u8], _dtype: &v pub fn vortex_array::arrays::slice::Slice::dtype(array: &vortex_array::arrays::slice::SliceArray) -> &vortex_array::dtype::DType -pub fn vortex_array::arrays::slice::Slice::execute(array: alloc::sync::Arc, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult +pub fn vortex_array::arrays::slice::Slice::execute(array: alloc::sync::Arc>, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult -pub fn vortex_array::arrays::slice::Slice::execute_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::execute_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize, ctx: &mut vortex_array::ExecutionCtx) -> vortex_error::VortexResult> pub fn vortex_array::arrays::slice::Slice::id(&self) -> vortex_array::vtable::ArrayId @@ -23240,9 +23240,9 @@ pub fn vortex_array::arrays::slice::Slice::nbuffers(_array: &Self::Array) -> usi pub fn vortex_array::arrays::slice::Slice::nchildren(_array: &Self::Array) -> usize -pub fn vortex_array::arrays::slice::Slice::reduce(array: &Self::Array) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::reduce(array: &vortex_array::vtable::Array) -> vortex_error::VortexResult> -pub fn vortex_array::arrays::slice::Slice::reduce_parent(array: &Self::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> +pub fn vortex_array::arrays::slice::Slice::reduce_parent(array: &vortex_array::vtable::Array, parent: &vortex_array::ArrayRef, child_idx: usize) -> vortex_error::VortexResult> pub fn vortex_array::arrays::slice::Slice::serialize(_metadata: Self::Metadata) -> vortex_error::VortexResult>> @@ -23792,12 +23792,8 @@ pub fn vortex_array::ExecutionResult::array(&self) -> &vortex_array::ArrayRef pub fn vortex_array::ExecutionResult::done(result: impl vortex_array::IntoArray) -> Self -pub fn vortex_array::ExecutionResult::done_upcast(arr: alloc::sync::Arc<::Array>) -> Self - pub fn vortex_array::ExecutionResult::execute_child(array: impl vortex_array::IntoArray, child_idx: usize) -> Self -pub fn vortex_array::ExecutionResult::execute_child_upcast(array: alloc::sync::Arc<::Array>, child_idx: usize) -> Self - pub fn vortex_array::ExecutionResult::into_parts(self) -> (vortex_array::ArrayRef, vortex_array::ExecutionStep) pub fn vortex_array::ExecutionResult::step(&self) -> &vortex_array::ExecutionStep @@ -24552,6 +24548,10 @@ impl vortex_array::IntoArray for arrow_buffer::buffer::scalar::ScalarBuffer::into_array(self) -> vortex_array::ArrayRef +impl vortex_array::IntoArray for alloc::sync::Arc> + +pub fn alloc::sync::Arc>::into_array(self) -> vortex_array::ArrayRef + impl vortex_array::IntoArray for vortex_array::vtable::Array pub fn vortex_array::vtable::Array::into_array(self) -> vortex_array::ArrayRef diff --git a/vortex-array/src/arrays/bool/vtable/mod.rs b/vortex-array/src/arrays/bool/vtable/mod.rs index 5442ba3b3f7..761cd58de24 100644 --- a/vortex-array/src/arrays/bool/vtable/mod.rs +++ b/vortex-array/src/arrays/bool/vtable/mod.rs @@ -1,6 +1,8 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: Copyright the Vortex contributors +use std::sync::Arc; + use kernel::PARENT_KERNELS; use vortex_error::VortexExpect; use vortex_error::VortexResult; @@ -21,6 +23,7 @@ use crate::dtype::DType; use crate::serde::ArrayChildren; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::VTable; use crate::vtable::ValidityVTableFromValidityHelper; use crate::vtable::validity_nchildren; @@ -31,7 +34,6 @@ mod operations; mod validity; use std::hash::Hash; -use std::sync::Arc; use crate::Precision; use crate::arrays::bool::compute::rules::RULES; @@ -189,12 +191,12 @@ impl VTable for Bool { Ok(()) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { - Ok(ExecutionResult::done_upcast::(array)) + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { + Ok(ExecutionResult::done(array)) } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, @@ -203,7 +205,7 @@ impl VTable for Bool { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { diff --git a/vortex-array/src/arrays/chunked/vtable/mod.rs b/vortex-array/src/arrays/chunked/vtable/mod.rs index c7b4a9e22fc..f5f8ff81eb3 100644 --- a/vortex-array/src/arrays/chunked/vtable/mod.rs +++ b/vortex-array/src/arrays/chunked/vtable/mod.rs @@ -36,6 +36,7 @@ use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; mod canonical; @@ -245,13 +246,13 @@ impl VTable for Chunked { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done( _canonicalize(&array, ctx)?.into_array(), )) } - fn reduce(array: &Self::Array) -> VortexResult> { + fn reduce(array: &Array) -> VortexResult> { Ok(match array.chunks.len() { 0 => Some(Canonical::empty(array.dtype()).into_array()), 1 => Some(array.chunks[0].clone()), @@ -260,7 +261,7 @@ impl VTable for Chunked { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -268,7 +269,7 @@ impl VTable for Chunked { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/vortex-array/src/arrays/constant/vtable/mod.rs b/vortex-array/src/arrays/constant/vtable/mod.rs index a5a6d80f53c..674d97a346d 100644 --- a/vortex-array/src/arrays/constant/vtable/mod.rs +++ b/vortex-array/src/arrays/constant/vtable/mod.rs @@ -37,6 +37,7 @@ use crate::scalar::ScalarValue; use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; pub(crate) mod canonical; @@ -176,14 +177,14 @@ impl VTable for Constant { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { PARENT_RULES.evaluate(array, parent, child_idx) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done( constant_canonicalize(&array)?.into_array(), )) diff --git a/vortex-array/src/arrays/decimal/vtable/mod.rs b/vortex-array/src/arrays/decimal/vtable/mod.rs index 4c9451cd97b..8ccba2fd417 100644 --- a/vortex-array/src/arrays/decimal/vtable/mod.rs +++ b/vortex-array/src/arrays/decimal/vtable/mod.rs @@ -1,6 +1,8 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: Copyright the Vortex contributors +use std::sync::Arc; + use kernel::PARENT_KERNELS; use vortex_buffer::Alignment; use vortex_error::VortexExpect; @@ -25,6 +27,7 @@ use crate::match_each_decimal_value_type; use crate::serde::ArrayChildren; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::VTable; use crate::vtable::ValidityVTableFromValidityHelper; use crate::vtable::validity_nchildren; @@ -34,7 +37,6 @@ mod operations; mod validity; use std::hash::Hash; -use std::sync::Arc; use crate::Precision; use crate::arrays::decimal::compute::rules::RULES; @@ -211,12 +213,12 @@ impl VTable for Decimal { Ok(()) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { - Ok(ExecutionResult::done_upcast::(array)) + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { + Ok(ExecutionResult::done(array)) } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -224,7 +226,7 @@ impl VTable for Decimal { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/vortex-array/src/arrays/dict/vtable/mod.rs b/vortex-array/src/arrays/dict/vtable/mod.rs index 0e07b7b7846..8c14f841481 100644 --- a/vortex-array/src/arrays/dict/vtable/mod.rs +++ b/vortex-array/src/arrays/dict/vtable/mod.rs @@ -42,6 +42,7 @@ use crate::scalar::Scalar; use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; mod kernel; @@ -201,7 +202,7 @@ impl VTable for Dict { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { if array.is_empty() { let result_dtype = array .dtype() @@ -209,7 +210,7 @@ impl VTable for Dict { return Ok(ExecutionResult::done(Canonical::empty(&result_dtype))); } - let array = require_child!(Self, array, array.codes(), 0 => Primitive); + let array = require_child!(array, array.codes(), 0 => Primitive); // TODO(joe): use stat get instead computing. // Also not the check to do here it take value validity using code validity, but this approx @@ -221,9 +222,10 @@ impl VTable for Dict { )); } - let array = require_child!(Self, array, array.values(), 1 => AnyCanonical); + let array = require_child!(array, array.values(), 1 => AnyCanonical); - let DictArrayParts { codes, values, .. } = Arc::unwrap_or_clone(array).into_parts(); + let DictArrayParts { codes, values, .. } = + Arc::unwrap_or_clone(array).into_inner().into_parts(); let codes = codes .try_into::() @@ -239,7 +241,7 @@ impl VTable for Dict { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -247,7 +249,7 @@ impl VTable for Dict { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/vortex-array/src/arrays/extension/vtable/mod.rs b/vortex-array/src/arrays/extension/vtable/mod.rs index 13a4bc1e093..9f870c17bda 100644 --- a/vortex-array/src/arrays/extension/vtable/mod.rs +++ b/vortex-array/src/arrays/extension/vtable/mod.rs @@ -30,6 +30,7 @@ use crate::hash::ArrayHash; use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; use crate::vtable::ValidityVTableFromChild; @@ -157,12 +158,12 @@ impl VTable for Extension { Ok(()) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { - Ok(ExecutionResult::done_upcast::(array)) + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { + Ok(ExecutionResult::done(array)) } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -170,7 +171,7 @@ impl VTable for Extension { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/vortex-array/src/arrays/filter/vtable.rs b/vortex-array/src/arrays/filter/vtable.rs index a0b23e00cfd..80ec8ded692 100644 --- a/vortex-array/src/arrays/filter/vtable.rs +++ b/vortex-array/src/arrays/filter/vtable.rs @@ -34,6 +34,7 @@ use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::OperationsVTable; use crate::vtable::VTable; @@ -160,7 +161,7 @@ impl VTable for Filter { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { if let Some(canonical) = execute_filter_fast_paths(&array, ctx)? { return Ok(ExecutionResult::done(canonical)); } @@ -176,14 +177,14 @@ impl VTable for Filter { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { PARENT_RULES.evaluate(array, parent, child_idx) } - fn reduce(array: &Self::Array) -> VortexResult> { + fn reduce(array: &Array) -> VortexResult> { RULES.evaluate(array) } } diff --git a/vortex-array/src/arrays/fixed_size_list/vtable/mod.rs b/vortex-array/src/arrays/fixed_size_list/vtable/mod.rs index 2b0e3544872..5f299dc46c9 100644 --- a/vortex-array/src/arrays/fixed_size_list/vtable/mod.rs +++ b/vortex-array/src/arrays/fixed_size_list/vtable/mod.rs @@ -26,6 +26,7 @@ use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; use crate::vtable::ValidityVTableFromValidityHelper; @@ -128,7 +129,7 @@ impl VTable for FixedSizeList { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -136,7 +137,7 @@ impl VTable for FixedSizeList { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, @@ -224,7 +225,7 @@ impl VTable for FixedSizeList { Ok(()) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { - Ok(ExecutionResult::done_upcast::(array)) + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { + Ok(ExecutionResult::done(array)) } } diff --git a/vortex-array/src/arrays/list/vtable/mod.rs b/vortex-array/src/arrays/list/vtable/mod.rs index 33cf835c596..2749542d420 100644 --- a/vortex-array/src/arrays/list/vtable/mod.rs +++ b/vortex-array/src/arrays/list/vtable/mod.rs @@ -34,6 +34,7 @@ use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; use crate::vtable::ValidityVTableFromValidityHelper; @@ -127,7 +128,7 @@ impl VTable for List { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -216,14 +217,14 @@ impl VTable for List { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done( list_view_from_list(ListArray::clone(&array), ctx)?.into_array(), )) } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/vortex-array/src/arrays/listview/vtable/mod.rs b/vortex-array/src/arrays/listview/vtable/mod.rs index 84e50ff072c..4c710f39baa 100644 --- a/vortex-array/src/arrays/listview/vtable/mod.rs +++ b/vortex-array/src/arrays/listview/vtable/mod.rs @@ -30,6 +30,7 @@ use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; use crate::vtable::ValidityVTableFromValidityHelper; @@ -243,12 +244,12 @@ impl VTable for ListView { Ok(()) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { - Ok(ExecutionResult::done_upcast::(array)) + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { + Ok(ExecutionResult::done(array)) } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { diff --git a/vortex-array/src/arrays/masked/vtable/mod.rs b/vortex-array/src/arrays/masked/vtable/mod.rs index 263c73cd4c5..526a6d42a4f 100644 --- a/vortex-array/src/arrays/masked/vtable/mod.rs +++ b/vortex-array/src/arrays/masked/vtable/mod.rs @@ -34,6 +34,7 @@ use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; use crate::vtable::ValidityVTableFromValidityHelper; @@ -166,7 +167,7 @@ impl VTable for Masked { MaskedArray::try_new(child, validity) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { let validity_mask = array.validity_mask()?; // Fast path: all masked means result is all nulls. @@ -190,7 +191,7 @@ impl VTable for Masked { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { diff --git a/vortex-array/src/arrays/null/mod.rs b/vortex-array/src/arrays/null/mod.rs index b5e34050ea1..24bb83b0580 100644 --- a/vortex-array/src/arrays/null/mod.rs +++ b/vortex-array/src/arrays/null/mod.rs @@ -23,6 +23,7 @@ use crate::stats::ArrayStats; use crate::stats::StatsSetRef; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::OperationsVTable; use crate::vtable::VTable; @@ -129,15 +130,15 @@ impl VTable for Null { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { PARENT_RULES.evaluate(array, parent, child_idx) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { - Ok(ExecutionResult::done_upcast::(array)) + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { + Ok(ExecutionResult::done(array)) } } diff --git a/vortex-array/src/arrays/primitive/vtable/mod.rs b/vortex-array/src/arrays/primitive/vtable/mod.rs index 0eab4f5dece..98de20652a3 100644 --- a/vortex-array/src/arrays/primitive/vtable/mod.rs +++ b/vortex-array/src/arrays/primitive/vtable/mod.rs @@ -1,6 +1,8 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: Copyright the Vortex contributors +use std::sync::Arc; + use kernel::PARENT_KERNELS; use vortex_error::VortexExpect; use vortex_error::VortexResult; @@ -19,6 +21,7 @@ use crate::dtype::PType; use crate::serde::ArrayChildren; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::VTable; use crate::vtable::ValidityVTableFromValidityHelper; use crate::vtable::validity_nchildren; @@ -29,7 +32,6 @@ mod validity; use std::hash::Hash; use std::hash::Hasher; -use std::sync::Arc; use vortex_buffer::Alignment; use vortex_session::VortexSession; @@ -203,12 +205,12 @@ impl VTable for Primitive { Ok(()) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { - Ok(ExecutionResult::done_upcast::(array)) + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { + Ok(ExecutionResult::done(array)) } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -216,7 +218,7 @@ impl VTable for Primitive { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/vortex-array/src/arrays/scalar_fn/vtable/mod.rs b/vortex-array/src/arrays/scalar_fn/vtable/mod.rs index 28619eb778d..059f247306a 100644 --- a/vortex-array/src/arrays/scalar_fn/vtable/mod.rs +++ b/vortex-array/src/arrays/scalar_fn/vtable/mod.rs @@ -44,6 +44,7 @@ use crate::scalar_fn::VecExecutionArgs; use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; @@ -204,7 +205,7 @@ impl VTable for ScalarFnVTable { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { ctx.log(format_args!("scalar_fn({}): executing", array.scalar_fn())); let args = VecExecutionArgs::new(array.children.clone(), array.len); array @@ -213,12 +214,12 @@ impl VTable for ScalarFnVTable { .map(ExecutionResult::done) } - fn reduce(array: &Self::Array) -> VortexResult> { + fn reduce(array: &Array) -> VortexResult> { RULES.evaluate(array) } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { diff --git a/vortex-array/src/arrays/shared/vtable.rs b/vortex-array/src/arrays/shared/vtable.rs index 63cdea7f734..1c4c45e52b3 100644 --- a/vortex-array/src/arrays/shared/vtable.rs +++ b/vortex-array/src/arrays/shared/vtable.rs @@ -24,6 +24,7 @@ use crate::scalar::Scalar; use crate::stats::StatsSetRef; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::OperationsVTable; use crate::vtable::VTable; @@ -150,7 +151,7 @@ impl VTable for Shared { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { array .get_or_compute(|source| source.clone().execute::(ctx)) .map(ExecutionResult::done) diff --git a/vortex-array/src/arrays/slice/vtable.rs b/vortex-array/src/arrays/slice/vtable.rs index 74c33760f16..13652915f6e 100644 --- a/vortex-array/src/arrays/slice/vtable.rs +++ b/vortex-array/src/arrays/slice/vtable.rs @@ -33,6 +33,7 @@ use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::OperationsVTable; use crate::vtable::VTable; @@ -160,7 +161,7 @@ impl VTable for Slice { Ok(()) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { // Execute the child to get canonical form, then slice it let Some(canonical) = array.child.as_opt::() else { // If the child is not canonical, recurse. @@ -180,7 +181,7 @@ impl VTable for Slice { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { diff --git a/vortex-array/src/arrays/struct_/vtable/mod.rs b/vortex-array/src/arrays/struct_/vtable/mod.rs index cb0b089d650..acaac4e764e 100644 --- a/vortex-array/src/arrays/struct_/vtable/mod.rs +++ b/vortex-array/src/arrays/struct_/vtable/mod.rs @@ -23,6 +23,7 @@ use crate::dtype::DType; use crate::serde::ArrayChildren; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::VTable; use crate::vtable::ValidityVTableFromValidityHelper; use crate::vtable::validity_nchildren; @@ -210,12 +211,12 @@ impl VTable for Struct { Ok(()) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { - Ok(ExecutionResult::done_upcast::(array)) + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { + Ok(ExecutionResult::done(array)) } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -223,7 +224,7 @@ impl VTable for Struct { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, diff --git a/vortex-array/src/arrays/varbin/vtable/mod.rs b/vortex-array/src/arrays/varbin/vtable/mod.rs index 8adf733a34a..4980994dbfb 100644 --- a/vortex-array/src/arrays/varbin/vtable/mod.rs +++ b/vortex-array/src/arrays/varbin/vtable/mod.rs @@ -1,6 +1,8 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: Copyright the Vortex contributors +use std::sync::Arc; + use vortex_error::VortexExpect; use vortex_error::VortexResult; use vortex_error::vortex_bail; @@ -22,6 +24,7 @@ use crate::dtype::PType; use crate::serde::ArrayChildren; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; use crate::vtable::ValidityVTableFromValidityHelper; @@ -32,7 +35,6 @@ mod kernel; mod operations; mod validity; use std::hash::Hash; -use std::sync::Arc; use canonical::varbin_to_canonical; use kernel::PARENT_KERNELS; @@ -208,7 +210,7 @@ impl VTable for VarBin { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -216,7 +218,7 @@ impl VTable for VarBin { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, @@ -224,7 +226,7 @@ impl VTable for VarBin { PARENT_KERNELS.execute(array, parent, child_idx, ctx) } - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult { Ok(ExecutionResult::done( varbin_to_canonical(&array, ctx)?.into_array(), )) diff --git a/vortex-array/src/arrays/varbinview/vtable/mod.rs b/vortex-array/src/arrays/varbinview/vtable/mod.rs index 9794c733009..212c1c2bb6c 100644 --- a/vortex-array/src/arrays/varbinview/vtable/mod.rs +++ b/vortex-array/src/arrays/varbinview/vtable/mod.rs @@ -30,6 +30,7 @@ use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::validity::Validity; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; use crate::vtable::ValidityVTableFromValidityHelper; @@ -230,7 +231,7 @@ impl VTable for VarBinView { } fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { @@ -238,7 +239,7 @@ impl VTable for VarBinView { } fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, @@ -246,7 +247,7 @@ impl VTable for VarBinView { PARENT_KERNELS.execute(array, parent, child_idx, ctx) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { - Ok(ExecutionResult::done_upcast::(array)) + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { + Ok(ExecutionResult::done(array)) } } diff --git a/vortex-array/src/arrays/variant/vtable/mod.rs b/vortex-array/src/arrays/variant/vtable/mod.rs index eb412d4bd87..dbe780b681c 100644 --- a/vortex-array/src/arrays/variant/vtable/mod.rs +++ b/vortex-array/src/arrays/variant/vtable/mod.rs @@ -25,6 +25,7 @@ use crate::dtype::DType; use crate::serde::ArrayChildren; use crate::stats::StatsSetRef; use crate::vtable; +use crate::vtable::Array; use crate::vtable::ArrayId; use crate::vtable::VTable; @@ -153,7 +154,7 @@ impl VTable for Variant { Ok(()) } - fn execute(array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { - Ok(ExecutionResult::done_upcast::(array)) + fn execute(array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { + Ok(ExecutionResult::done(array)) } } diff --git a/vortex-array/src/executor.rs b/vortex-array/src/executor.rs index d8582b9e9b5..a9cf667f254 100644 --- a/vortex-array/src/executor.rs +++ b/vortex-array/src/executor.rs @@ -37,8 +37,6 @@ use crate::DynArray; use crate::IntoArray; use crate::matcher::Matcher; use crate::optimizer::ArrayOptimizer; -use crate::vtable::VTable; -use crate::vtable::upcast_array; /// Maximum number of iterations to attempt when executing an array before giving up and returning /// an error. @@ -422,13 +420,6 @@ impl ExecutionResult { } } - pub fn done_upcast(arr: Arc) -> Self { - Self { - array: upcast_array::(arr), - step: ExecutionStep::Done, - } - } - /// Request execution of child at `child_idx` until it matches the given [`Matcher`]. /// /// The provided array is the (possibly modified) parent that still needs its child executed. @@ -439,18 +430,6 @@ impl ExecutionResult { } } - /// Like [`execute_child`](Self::execute_child), but accepts an `Arc` directly, - /// upcasting it to an [`ArrayRef`]. - pub fn execute_child_upcast( - array: Arc, - child_idx: usize, - ) -> Self { - Self { - array: upcast_array::(array), - step: ExecutionStep::ExecuteChild(child_idx, M::matches), - } - } - /// Returns a reference to the array. pub fn array(&self) -> &ArrayRef { &self.array @@ -481,15 +460,15 @@ impl fmt::Debug for ExecutionResult { /// child `$idx` until it matches `$M`. /// /// ```ignore -/// let codes = require_child!(Self, array, array.codes(), 0 => Primitive); -/// let values = require_child!(Self, array, array.values(), 1 => AnyCanonical); +/// let array = require_child!(array, array.codes(), 0 => Primitive); +/// let array = require_child!(array, array.values(), 1 => AnyCanonical); /// ``` #[macro_export] macro_rules! require_child { - ($V:ty, $parent:expr, $child:expr, $idx:expr => $M:ty) => {{ + ($parent:expr, $child:expr, $idx:expr => $M:ty) => {{ if !$child.is::<$M>() { - return Ok($crate::ExecutionResult::execute_child_upcast::<$V, $M>( - std::sync::Arc::clone(&$parent), + return Ok($crate::ExecutionResult::execute_child::<$M>( + $parent.clone(), $idx, )); } diff --git a/vortex-array/src/vtable/dyn_.rs b/vortex-array/src/vtable/dyn_.rs index 6b7266719c4..0c8f081a041 100644 --- a/vortex-array/src/vtable/dyn_.rs +++ b/vortex-array/src/vtable/dyn_.rs @@ -219,32 +219,19 @@ impl DynVTable for V { } } -/// Borrow-downcast an `ArrayRef` to `&V::Array`. -fn downcast(array: &ArrayRef) -> &V::Array { +/// Borrow-downcast an `ArrayRef` to `&Array`. +fn downcast(array: &ArrayRef) -> &Array { array .as_any() .downcast_ref::>() .vortex_expect("Failed to downcast array to expected encoding type") - .inner() } -/// Downcast an `ArrayRef` into an `Arc`. -fn downcast_owned(array: ArrayRef) -> Arc { +/// Downcast an `ArrayRef` into an `Arc>`. +fn downcast_owned(array: ArrayRef) -> Arc> { let any_arc = array.as_any_arc(); - let typed: Arc> = any_arc + any_arc .downcast::>() .ok() - .vortex_expect("Failed to downcast array to expected encoding type"); - Arc::new(match Arc::try_unwrap(typed) { - Ok(array) => array.into_inner(), - Err(arc) => arc.inner().clone(), - }) -} - -/// Upcast an `Arc` into an `ArrayRef`. -pub(crate) fn upcast_array(array: Arc) -> ArrayRef { - match Arc::try_unwrap(array) { - Ok(inner) => inner.into_array(), - Err(arc) => (*arc).clone().into_array(), - } + .vortex_expect("Failed to downcast array to expected encoding type") } diff --git a/vortex-array/src/vtable/mod.rs b/vortex-array/src/vtable/mod.rs index 9f9924a6f19..e37da0c75cf 100644 --- a/vortex-array/src/vtable/mod.rs +++ b/vortex-array/src/vtable/mod.rs @@ -148,11 +148,11 @@ pub trait VTable: 'static + Clone + Sized + Send + Sync + Debug { fn with_children(array: &mut Self::Array, children: Vec) -> VortexResult<()>; /// Execute this array by returning an [`ExecutionResult`]. - fn execute(array: Arc, ctx: &mut ExecutionCtx) -> VortexResult; + fn execute(array: Arc>, ctx: &mut ExecutionCtx) -> VortexResult; /// Attempt to execute the parent of this array. fn execute_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ctx: &mut ExecutionCtx, @@ -162,14 +162,14 @@ pub trait VTable: 'static + Clone + Sized + Send + Sync + Debug { } /// Attempt to reduce the array to a simpler representation. - fn reduce(array: &Self::Array) -> VortexResult> { + fn reduce(array: &Array) -> VortexResult> { _ = array; Ok(None) } /// Attempt to perform a reduction of the parent of this array. fn reduce_parent( - array: &Self::Array, + array: &Array, parent: &ArrayRef, child_idx: usize, ) -> VortexResult> { diff --git a/vortex-array/src/vtable/typed.rs b/vortex-array/src/vtable/typed.rs index 8bfc23aa835..4bba86291bb 100644 --- a/vortex-array/src/vtable/typed.rs +++ b/vortex-array/src/vtable/typed.rs @@ -143,6 +143,12 @@ impl IntoArray for Array { } } +impl IntoArray for Arc> { + fn into_array(self) -> ArrayRef { + self + } +} + impl From> for ArrayRef { fn from(value: Array) -> ArrayRef { value.into_array() diff --git a/vortex-cuda/src/kernel/encodings/bitpacked.rs b/vortex-cuda/src/kernel/encodings/bitpacked.rs index 2e98b4f0544..c8cb6546271 100644 --- a/vortex-cuda/src/kernel/encodings/bitpacked.rs +++ b/vortex-cuda/src/kernel/encodings/bitpacked.rs @@ -176,7 +176,6 @@ mod tests { use vortex::array::dtype::NativePType; use vortex::array::session::ArraySession; use vortex::array::validity::Validity::NonNullable; - use vortex::array::vtable::VTable; use vortex::buffer::Buffer; use vortex::error::VortexExpect; use vortex::session::VortexSession; @@ -521,10 +520,12 @@ mod tests { let bitpacked_array = BitPackedArray::encode(&primitive_array.into_array(), bit_width) .vortex_expect("operation should succeed in test"); let slice_ref = bitpacked_array.clone().into_array().slice(67..3969)?; + let bitpacked_ref = bitpacked_array.into_array(); let mut exec_ctx = ExecutionCtx::new(VortexSession::empty().with::()); - let sliced_array = - ::execute_parent(&bitpacked_array, &slice_ref, 0, &mut exec_ctx)? - .expect("expected slice kernel to execute"); + let sliced_array = bitpacked_ref + .vtable() + .execute_parent(&bitpacked_ref, &slice_ref, 0, &mut exec_ctx)? + .expect("expected slice kernel to execute"); let cpu_result = sliced_array.to_canonical()?; let gpu_result = block_on(async { BitPackedExecutor diff --git a/vortex-python/src/arrays/py/vtable.rs b/vortex-python/src/arrays/py/vtable.rs index 99459d8c286..a27008f45e6 100644 --- a/vortex-python/src/arrays/py/vtable.rs +++ b/vortex-python/src/arrays/py/vtable.rs @@ -18,6 +18,7 @@ use vortex::array::serde::ArrayChildren; use vortex::array::stats::StatsSetRef; use vortex::array::validity::Validity; use vortex::array::vtable; +use vortex::array::vtable::Array; use vortex::array::vtable::ArrayId; use vortex::array::vtable::OperationsVTable; use vortex::array::vtable::VTable; @@ -161,7 +162,7 @@ impl VTable for PythonVTable { Ok(()) } - fn execute(_array: Arc, _ctx: &mut ExecutionCtx) -> VortexResult { + fn execute(_array: Arc>, _ctx: &mut ExecutionCtx) -> VortexResult { todo!() } }