@@ -296,6 +296,58 @@ pub fn vortex_alp::ALPRDMetadata::clear(&mut self)
296296
297297pub fn vortex_alp::ALPRDMetadata::encoded_len(&self) -> usize
298298
299+ pub struct vortex_alp::ALPSlots
300+
301+ pub vortex_alp::ALPSlots::encoded: vortex_array::array::erased::ArrayRef
302+
303+ pub vortex_alp::ALPSlots::patch_chunk_offsets: core::option::Option<vortex_array::array::erased::ArrayRef>
304+
305+ pub vortex_alp::ALPSlots::patch_indices: core::option::Option<vortex_array::array::erased::ArrayRef>
306+
307+ pub vortex_alp::ALPSlots::patch_values: core::option::Option<vortex_array::array::erased::ArrayRef>
308+
309+ impl vortex_alp::ALPSlots
310+
311+ pub const vortex_alp::ALPSlots::COUNT: usize
312+
313+ pub const vortex_alp::ALPSlots::ENCODED: usize
314+
315+ pub const vortex_alp::ALPSlots::NAMES: [&'static str; 4]
316+
317+ pub const vortex_alp::ALPSlots::PATCH_CHUNK_OFFSETS: usize
318+
319+ pub const vortex_alp::ALPSlots::PATCH_INDICES: usize
320+
321+ pub const vortex_alp::ALPSlots::PATCH_VALUES: usize
322+
323+ pub fn vortex_alp::ALPSlots::from_slots(slots: alloc::vec::Vec<core::option::Option<vortex_array::array::erased::ArrayRef>>) -> Self
324+
325+ pub fn vortex_alp::ALPSlots::into_slots(self) -> alloc::vec::Vec<core::option::Option<vortex_array::array::erased::ArrayRef>>
326+
327+ pub struct vortex_alp::ALPSlotsView<'a>
328+
329+ pub vortex_alp::ALPSlotsView::encoded: &'a vortex_array::array::erased::ArrayRef
330+
331+ pub vortex_alp::ALPSlotsView::patch_chunk_offsets: core::option::Option<&'a vortex_array::array::erased::ArrayRef>
332+
333+ pub vortex_alp::ALPSlotsView::patch_indices: core::option::Option<&'a vortex_array::array::erased::ArrayRef>
334+
335+ pub vortex_alp::ALPSlotsView::patch_values: core::option::Option<&'a vortex_array::array::erased::ArrayRef>
336+
337+ impl<'a> vortex_alp::ALPSlotsView<'a>
338+
339+ pub fn vortex_alp::ALPSlotsView<'a>::from_slots(slots: &'a [core::option::Option<vortex_array::array::erased::ArrayRef>]) -> Self
340+
341+ impl<'a> core::clone::Clone for vortex_alp::ALPSlotsView<'a>
342+
343+ pub fn vortex_alp::ALPSlotsView<'a>::clone(&self) -> vortex_alp::ALPSlotsView<'a>
344+
345+ impl<'a> core::fmt::Debug for vortex_alp::ALPSlotsView<'a>
346+
347+ pub fn vortex_alp::ALPSlotsView<'a>::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
348+
349+ impl<'a> core::marker::Copy for vortex_alp::ALPSlotsView<'a>
350+
299351pub struct vortex_alp::Exponents
300352
301353pub vortex_alp::Exponents::e: u8
@@ -338,18 +390,14 @@ pub fn vortex_alp::RDEncoder::from_parts(right_bit_width: u8, codes: alloc::vec:
338390
339391pub fn vortex_alp::RDEncoder::new<T>(sample: &[T]) -> Self where T: vortex_alp::ALPRDFloat + vortex_array::dtype::ptype::NativePType, <T as vortex_alp::ALPRDFloat>::UINT: vortex_array::dtype::ptype::NativePType
340392
341- pub trait vortex_alp::ALPArrayExt: vortex_array::array::typed::TypedArrayRef<vortex_alp::ALP>
342-
343- pub fn vortex_alp::ALPArrayExt::encoded(&self) -> &vortex_array::array::erased::ArrayRef
393+ pub trait vortex_alp::ALPArrayExt: vortex_alp::ALPArraySlotsExt
344394
345395pub fn vortex_alp::ALPArrayExt::exponents(&self) -> vortex_alp::Exponents
346396
347397pub fn vortex_alp::ALPArrayExt::patches(&self) -> core::option::Option<vortex_array::patches::Patches>
348398
349399impl<T: vortex_array::array::typed::TypedArrayRef<vortex_alp::ALP>> vortex_alp::ALPArrayExt for T
350400
351- pub fn T::encoded(&self) -> &vortex_array::array::erased::ArrayRef
352-
353401pub fn T::exponents(&self) -> vortex_alp::Exponents
354402
355403pub fn T::patches(&self) -> core::option::Option<vortex_array::patches::Patches>
@@ -362,6 +410,30 @@ impl vortex_alp::ALPArrayOwnedExt for vortex_array::array::typed::Array<vortex_a
362410
363411pub fn vortex_array::array::typed::Array<vortex_alp::ALP>::into_parts(self) -> (vortex_array::array::erased::ArrayRef, vortex_alp::Exponents, core::option::Option<vortex_array::patches::Patches>)
364412
413+ pub trait vortex_alp::ALPArraySlotsExt: vortex_array::array::typed::TypedArrayRef<vortex_alp::ALP>
414+
415+ pub fn vortex_alp::ALPArraySlotsExt::encoded(&self) -> &vortex_array::array::erased::ArrayRef
416+
417+ pub fn vortex_alp::ALPArraySlotsExt::patch_chunk_offsets(&self) -> core::option::Option<&vortex_array::array::erased::ArrayRef>
418+
419+ pub fn vortex_alp::ALPArraySlotsExt::patch_indices(&self) -> core::option::Option<&vortex_array::array::erased::ArrayRef>
420+
421+ pub fn vortex_alp::ALPArraySlotsExt::patch_values(&self) -> core::option::Option<&vortex_array::array::erased::ArrayRef>
422+
423+ pub fn vortex_alp::ALPArraySlotsExt::slots_view(&self) -> vortex_alp::ALPSlotsView<'_>
424+
425+ impl<T: vortex_array::array::typed::TypedArrayRef<vortex_alp::ALP>> vortex_alp::ALPArraySlotsExt for T
426+
427+ pub fn T::encoded(&self) -> &vortex_array::array::erased::ArrayRef
428+
429+ pub fn T::patch_chunk_offsets(&self) -> core::option::Option<&vortex_array::array::erased::ArrayRef>
430+
431+ pub fn T::patch_indices(&self) -> core::option::Option<&vortex_array::array::erased::ArrayRef>
432+
433+ pub fn T::patch_values(&self) -> core::option::Option<&vortex_array::array::erased::ArrayRef>
434+
435+ pub fn T::slots_view(&self) -> vortex_alp::ALPSlotsView<'_>
436+
365437pub trait vortex_alp::ALPFloat: vortex_alp::alp::private::Sealed + num_traits::float::Float + core::fmt::Display + vortex_array::dtype::ptype::NativePType
366438
367439pub type vortex_alp::ALPFloat::ALPInt: num_traits::int::PrimInt + core::fmt::Display + num_traits::cast::ToPrimitive + core::marker::Copy + vortex_array::dtype::ptype::NativePType + core::convert::Into<vortex_array::scalar::typed_view::primitive::pvalue::PValue>
0 commit comments