Skip to content

Commit 41b3f52

Browse files
committed
Array VTables 5
Signed-off-by: Nicholas Gates <nick@nickgates.com>
1 parent 4b8ff85 commit 41b3f52

2 files changed

Lines changed: 3 additions & 63 deletions

File tree

encodings/fastlanes/src/delta/array/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub mod delta_decompress;
1919

2020
/// A FastLanes-style delta-encoded array of primitive values.
2121
///
22-
/// A [`DeltaArray`] comprises a sequence of _chunks_ each representing exactly 1,024
22+
/// A DeltaArray comprises a sequence of _chunks_ each representing exactly 1,024
2323
/// delta-encoded values. If the input array length is not a multiple of 1,024, the last chunk
2424
/// is padded with zeros to fill a complete 1,024-element chunk.
2525
///
@@ -77,7 +77,7 @@ impl DeltaData {
7777
Self::try_new(bases.into_array(), deltas.into_array(), 0, logical_len)
7878
}
7979

80-
/// Create a [`DeltaArray`] from the given `bases` and `deltas` arrays
80+
/// Create a DeltaArray from the given `bases` and `deltas` arrays
8181
/// with given `offset` into first chunk and `logical_len` length.
8282
pub fn try_new(
8383
bases: ArrayRef,

vortex-array/public-api.lock

Lines changed: 1 addition & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -3470,18 +3470,6 @@ impl vortex_array::IntoArray for vortex_array::arrays::ScalarFnData
34703470

34713471
pub fn vortex_array::arrays::ScalarFnData::into_array(self) -> vortex_array::ArrayRef
34723472

3473-
impl vortex_array::scalar_fn::ReduceNode for vortex_array::arrays::ScalarFnData
3474-
3475-
pub fn vortex_array::arrays::ScalarFnData::as_any(&self) -> &dyn core::any::Any
3476-
3477-
pub fn vortex_array::arrays::ScalarFnData::child(&self, idx: usize) -> vortex_array::scalar_fn::ReduceNodeRef
3478-
3479-
pub fn vortex_array::arrays::ScalarFnData::child_count(&self) -> usize
3480-
3481-
pub fn vortex_array::arrays::ScalarFnData::node_dtype(&self) -> vortex_error::VortexResult<vortex_array::dtype::DType>
3482-
3483-
pub fn vortex_array::arrays::ScalarFnData::scalar_fn(&self) -> core::option::Option<&vortex_array::scalar_fn::ScalarFnRef>
3484-
34853473
pub struct vortex_array::arrays::scalar_fn::ScalarFnVTable
34863474

34873475
impl core::clone::Clone for vortex_array::arrays::scalar_fn::ScalarFnVTable
@@ -6786,18 +6774,6 @@ impl vortex_array::IntoArray for vortex_array::arrays::ScalarFnData
67866774

67876775
pub fn vortex_array::arrays::ScalarFnData::into_array(self) -> vortex_array::ArrayRef
67886776

6789-
impl vortex_array::scalar_fn::ReduceNode for vortex_array::arrays::ScalarFnData
6790-
6791-
pub fn vortex_array::arrays::ScalarFnData::as_any(&self) -> &dyn core::any::Any
6792-
6793-
pub fn vortex_array::arrays::ScalarFnData::child(&self, idx: usize) -> vortex_array::scalar_fn::ReduceNodeRef
6794-
6795-
pub fn vortex_array::arrays::ScalarFnData::child_count(&self) -> usize
6796-
6797-
pub fn vortex_array::arrays::ScalarFnData::node_dtype(&self) -> vortex_error::VortexResult<vortex_array::dtype::DType>
6798-
6799-
pub fn vortex_array::arrays::ScalarFnData::scalar_fn(&self) -> core::option::Option<&vortex_array::scalar_fn::ScalarFnRef>
6800-
68016777
pub struct vortex_array::arrays::ScalarFnVTable
68026778

68036779
impl core::clone::Clone for vortex_array::arrays::scalar_fn::ScalarFnVTable
@@ -18654,30 +18630,6 @@ pub fn vortex_array::ArrayRef::node_dtype(&self) -> vortex_error::VortexResult<v
1865418630

1865518631
pub fn vortex_array::ArrayRef::scalar_fn(&self) -> core::option::Option<&vortex_array::scalar_fn::ScalarFnRef>
1865618632

18657-
impl vortex_array::scalar_fn::ReduceNode for vortex_array::arrays::ScalarFnData
18658-
18659-
pub fn vortex_array::arrays::ScalarFnData::as_any(&self) -> &dyn core::any::Any
18660-
18661-
pub fn vortex_array::arrays::ScalarFnData::child(&self, idx: usize) -> vortex_array::scalar_fn::ReduceNodeRef
18662-
18663-
pub fn vortex_array::arrays::ScalarFnData::child_count(&self) -> usize
18664-
18665-
pub fn vortex_array::arrays::ScalarFnData::node_dtype(&self) -> vortex_error::VortexResult<vortex_array::dtype::DType>
18666-
18667-
pub fn vortex_array::arrays::ScalarFnData::scalar_fn(&self) -> core::option::Option<&vortex_array::scalar_fn::ScalarFnRef>
18668-
18669-
impl<V: vortex_array::vtable::VTable> vortex_array::scalar_fn::ReduceNode for vortex_array::vtable::Array<V>
18670-
18671-
pub fn vortex_array::vtable::Array<V>::as_any(&self) -> &dyn core::any::Any
18672-
18673-
pub fn vortex_array::vtable::Array<V>::child(&self, idx: usize) -> vortex_array::scalar_fn::ReduceNodeRef
18674-
18675-
pub fn vortex_array::vtable::Array<V>::child_count(&self) -> usize
18676-
18677-
pub fn vortex_array::vtable::Array<V>::node_dtype(&self) -> vortex_error::VortexResult<vortex_array::dtype::DType>
18678-
18679-
pub fn vortex_array::vtable::Array<V>::scalar_fn(&self) -> core::option::Option<&vortex_array::scalar_fn::ScalarFnRef>
18680-
1868118633
pub trait vortex_array::scalar_fn::ScalarFnPlugin: 'static + core::marker::Send + core::marker::Sync
1868218634

1868318635
pub fn vortex_array::scalar_fn::ScalarFnPlugin::deserialize(&self, metadata: &[u8], session: &vortex_session::VortexSession) -> vortex_error::VortexResult<vortex_array::scalar_fn::ScalarFnRef>
@@ -20674,18 +20626,6 @@ impl<V: vortex_array::vtable::VTable> vortex_array::IntoArray for vortex_array::
2067420626

2067520627
pub fn vortex_array::vtable::Array<V>::into_array(self) -> vortex_array::ArrayRef
2067620628

20677-
impl<V: vortex_array::vtable::VTable> vortex_array::scalar_fn::ReduceNode for vortex_array::vtable::Array<V>
20678-
20679-
pub fn vortex_array::vtable::Array<V>::as_any(&self) -> &dyn core::any::Any
20680-
20681-
pub fn vortex_array::vtable::Array<V>::child(&self, idx: usize) -> vortex_array::scalar_fn::ReduceNodeRef
20682-
20683-
pub fn vortex_array::vtable::Array<V>::child_count(&self) -> usize
20684-
20685-
pub fn vortex_array::vtable::Array<V>::node_dtype(&self) -> vortex_error::VortexResult<vortex_array::dtype::DType>
20686-
20687-
pub fn vortex_array::vtable::Array<V>::scalar_fn(&self) -> core::option::Option<&vortex_array::scalar_fn::ScalarFnRef>
20688-
2068920629
pub struct vortex_array::vtable::NotSupported
2069020630

2069120631
impl<V: vortex_array::vtable::VTable> vortex_array::vtable::OperationsVTable<V> for vortex_array::vtable::NotSupported
@@ -23910,7 +23850,7 @@ pub type vortex_array::ProstMetadata<M>::Output = M
2391023850

2391123851
pub fn vortex_array::ProstMetadata<M>::deserialize(metadata: &[u8]) -> vortex_error::VortexResult<Self::Output>
2391223852

23913-
pub trait vortex_array::DynArray: 'static + vortex_array::array::private::Sealed + core::marker::Send + core::marker::Sync + core::fmt::Debug + vortex_array::DynArrayEq + vortex_array::DynArrayHash + vortex_array::ArrayVisitor + vortex_array::scalar_fn::ReduceNode
23853+
pub trait vortex_array::DynArray: 'static + vortex_array::array::private::Sealed + core::marker::Send + core::marker::Sync + core::fmt::Debug + vortex_array::DynArrayEq + vortex_array::DynArrayHash + vortex_array::ArrayVisitor
2391423854

2391523855
pub fn vortex_array::DynArray::all_invalid(&self) -> vortex_error::VortexResult<bool>
2391623856

0 commit comments

Comments
 (0)