@@ -8216,6 +8216,8 @@ pub fn vortex_array::builders::PrimitiveBuilder<T>::set_validity(&mut self, vali
82168216
82178217pub unsafe fn vortex_array::builders::PrimitiveBuilder<T>::set_validity_unchecked(&mut self, validity: vortex_mask::Mask)
82188218
8219+ pub fn vortex_array::builders::build_array_from_scalars(dtype: &vortex_array::dtype::DType, scalars: &[vortex_array::scalar::Scalar]) -> vortex_array::ArrayRef
8220+
82198221pub fn vortex_array::builders::builder_with_capacity(dtype: &vortex_array::dtype::DType, capacity: usize) -> alloc::boxed::Box<dyn vortex_array::builders::ArrayBuilder>
82208222
82218223pub mod vortex_array::builtins
@@ -13792,16 +13794,18 @@ pub fn vortex_array::variants::PrimitiveTyped<'_>::index_lt(&self, idx: usize, e
1379213794
1379313795pub enum vortex_array::scalar::ScalarValue
1379413796
13797+ pub vortex_array::scalar::ScalarValue::Array(vortex_array::ArrayRef)
13798+
1379513799pub vortex_array::scalar::ScalarValue::Binary(vortex_buffer::ByteBuffer)
1379613800
1379713801pub vortex_array::scalar::ScalarValue::Bool(bool)
1379813802
1379913803pub vortex_array::scalar::ScalarValue::Decimal(vortex_array::scalar::DecimalValue)
1380013804
13801- pub vortex_array::scalar::ScalarValue::List(alloc::vec::Vec<core::option::Option<vortex_array::scalar::ScalarValue>>)
13802-
1380313805pub vortex_array::scalar::ScalarValue::Primitive(vortex_array::scalar::PValue)
1380413806
13807+ pub vortex_array::scalar::ScalarValue::Struct(alloc::vec::Vec<core::option::Option<vortex_array::scalar::ScalarValue>>)
13808+
1380513809pub vortex_array::scalar::ScalarValue::Utf8(vortex_buffer::string::BufferString)
1380613810
1380713811pub vortex_array::scalar::ScalarValue::Variant(alloc::boxed::Box<vortex_array::scalar::Scalar>)
@@ -13814,10 +13818,12 @@ pub fn vortex_array::scalar::ScalarValue::as_bool(&self) -> bool
1381413818
1381513819pub fn vortex_array::scalar::ScalarValue::as_decimal(&self) -> &vortex_array::scalar::DecimalValue
1381613820
13817- pub fn vortex_array::scalar::ScalarValue::as_list(&self) -> &[core::option::Option< vortex_array::scalar::ScalarValue>]
13821+ pub fn vortex_array::scalar::ScalarValue::as_list(&self) -> &vortex_array::ArrayRef
1381813822
1381913823pub fn vortex_array::scalar::ScalarValue::as_primitive(&self) -> &vortex_array::scalar::PValue
1382013824
13825+ pub fn vortex_array::scalar::ScalarValue::as_struct_fields(&self) -> &[core::option::Option<vortex_array::scalar::ScalarValue>]
13826+
1382113827pub fn vortex_array::scalar::ScalarValue::as_utf8(&self) -> &vortex_buffer::string::BufferString
1382213828
1382313829pub fn vortex_array::scalar::ScalarValue::as_variant(&self) -> &vortex_array::scalar::Scalar
@@ -13828,10 +13834,12 @@ pub fn vortex_array::scalar::ScalarValue::into_bool(self) -> bool
1382813834
1382913835pub fn vortex_array::scalar::ScalarValue::into_decimal(self) -> vortex_array::scalar::DecimalValue
1383013836
13831- pub fn vortex_array::scalar::ScalarValue::into_list(self) -> alloc::vec::Vec<core::option::Option< vortex_array::scalar::ScalarValue>>
13837+ pub fn vortex_array::scalar::ScalarValue::into_list(self) -> vortex_array::ArrayRef
1383213838
1383313839pub fn vortex_array::scalar::ScalarValue::into_primitive(self) -> vortex_array::scalar::PValue
1383413840
13841+ pub fn vortex_array::scalar::ScalarValue::into_struct_fields(self) -> alloc::vec::Vec<core::option::Option<vortex_array::scalar::ScalarValue>>
13842+
1383513843pub fn vortex_array::scalar::ScalarValue::into_utf8(self) -> vortex_buffer::string::BufferString
1383613844
1383713845pub fn vortex_array::scalar::ScalarValue::into_variant(self) -> vortex_array::scalar::Scalar
@@ -13856,7 +13864,7 @@ impl core::cmp::Eq for vortex_array::scalar::ScalarValue
1385613864
1385713865impl core::cmp::PartialEq for vortex_array::scalar::ScalarValue
1385813866
13859- pub fn vortex_array::scalar::ScalarValue::eq(&self, other: &vortex_array::scalar::ScalarValue ) -> bool
13867+ pub fn vortex_array::scalar::ScalarValue::eq(&self, other: &Self ) -> bool
1386013868
1386113869impl core::cmp::PartialOrd for vortex_array::scalar::ScalarValue
1386213870
@@ -14028,9 +14036,7 @@ pub fn vortex_array::scalar::ScalarValue::fmt(&self, f: &mut core::fmt::Formatte
1402814036
1402914037impl core::hash::Hash for vortex_array::scalar::ScalarValue
1403014038
14031- pub fn vortex_array::scalar::ScalarValue::hash<__H: core::hash::Hasher>(&self, state: &mut __H)
14032-
14033- impl core::marker::StructuralPartialEq for vortex_array::scalar::ScalarValue
14039+ pub fn vortex_array::scalar::ScalarValue::hash<H: core::hash::Hasher>(&self, state: &mut H)
1403414040
1403514041impl<T> core::convert::From<alloc::vec::Vec<T>> for vortex_array::scalar::ScalarValue where T: vortex_array::dtype::NativeDType, vortex_array::scalar::Scalar: core::convert::From<T>
1403614042
@@ -14306,6 +14312,8 @@ pub struct vortex_array::scalar::ListScalar<'a>
1430614312
1430714313impl<'a> vortex_array::scalar::ListScalar<'a>
1430814314
14315+ pub fn vortex_array::scalar::ListScalar<'a>::as_array(&self) -> core::option::Option<&'a vortex_array::ArrayRef>
14316+
1430914317pub fn vortex_array::scalar::ListScalar<'a>::dtype(&self) -> &'a vortex_array::dtype::DType
1431014318
1431114319pub fn vortex_array::scalar::ListScalar<'a>::element(&self, idx: usize) -> core::option::Option<vortex_array::scalar::Scalar>
@@ -14526,12 +14534,14 @@ pub fn vortex_array::scalar::Scalar::extension<V: vortex_array::dtype::extension
1452614534
1452714535pub fn vortex_array::scalar::Scalar::extension_ref(ext_dtype: vortex_array::dtype::extension::ExtDTypeRef, storage_scalar: vortex_array::scalar::Scalar) -> Self
1452814536
14529- pub fn vortex_array::scalar::Scalar::fixed_size_list (element_dtype: impl core::convert::Into<alloc::sync::Arc<vortex_array::dtype::DType>>, children: alloc::vec::Vec<vortex_array::scalar::Scalar>, nullability: vortex_array::dtype::Nullability) -> Self
14537+ pub fn vortex_array::scalar::Scalar::fixed_size_list_from_scalars (element_dtype: impl core::convert::Into<alloc::sync::Arc<vortex_array::dtype::DType>>, children: alloc::vec::Vec<vortex_array::scalar::Scalar>, nullability: vortex_array::dtype::Nullability) -> Self
1453014538
14531- pub fn vortex_array::scalar::Scalar::list(element_dtype: impl core::convert::Into<alloc::sync::Arc< vortex_array::dtype::DType>>, children: alloc::vec::Vec< vortex_array::scalar::Scalar>, nullability: vortex_array::dtype::Nullability ) -> Self
14539+ pub fn vortex_array::scalar::Scalar::list_array(parent_dtype: vortex_array::dtype::DType, elem_list: vortex_array::ArrayRef ) -> Self
1453214540
1453314541pub fn vortex_array::scalar::Scalar::list_empty(element_dtype: alloc::sync::Arc<vortex_array::dtype::DType>, nullability: vortex_array::dtype::Nullability) -> Self
1453414542
14543+ pub fn vortex_array::scalar::Scalar::list_from_scalars(element_dtype: impl core::convert::Into<alloc::sync::Arc<vortex_array::dtype::DType>>, children: alloc::vec::Vec<vortex_array::scalar::Scalar>, nullability: vortex_array::dtype::Nullability) -> Self
14544+
1453514545pub fn vortex_array::scalar::Scalar::primitive<T: vortex_array::dtype::NativePType + core::convert::Into<vortex_array::scalar::PValue>>(value: T, nullability: vortex_array::dtype::Nullability) -> Self
1453614546
1453714547pub fn vortex_array::scalar::Scalar::primitive_value(value: vortex_array::scalar::PValue, ptype: vortex_array::dtype::PType, nullability: vortex_array::dtype::Nullability) -> Self
@@ -18264,6 +18274,112 @@ pub fn vortex_array::serde::ArrayNodeFlatBuffer<'a>::try_new(ctx: &'a vortex_arr
1826418274
1826518275pub fn vortex_array::serde::ArrayNodeFlatBuffer<'a>::try_write_flatbuffer<'fb>(&self, fbb: &mut flatbuffers::builder::FlatBufferBuilder<'fb>) -> vortex_error::VortexResult<flatbuffers::primitives::WIPOffset<vortex_flatbuffers::array::ArrayNode<'fb>>>
1826618276
18277+ <<<<<<< HEAD
18278+ ||||||| parent of 22d6a6a4d (add array variant to scalar value)
18279+ pub struct vortex_array::serde::ArrayParts
18280+
18281+ impl vortex_array::serde::ArrayParts
18282+
18283+ pub fn vortex_array::serde::ArrayParts::buffer(&self, idx: usize) -> vortex_error::VortexResult<vortex_array::buffer::BufferHandle>
18284+
18285+ pub fn vortex_array::serde::ArrayParts::buffer_lengths(&self) -> alloc::vec::Vec<usize>
18286+
18287+ pub fn vortex_array::serde::ArrayParts::child(&self, idx: usize) -> vortex_array::serde::ArrayParts
18288+
18289+ pub fn vortex_array::serde::ArrayParts::decode(&self, dtype: &vortex_array::dtype::DType, len: usize, ctx: &vortex_array::ArrayContext, session: &vortex_session::VortexSession) -> vortex_error::VortexResult<vortex_array::ArrayRef>
18290+
18291+ pub fn vortex_array::serde::ArrayParts::encoding_id(&self) -> u16
18292+
18293+ pub fn vortex_array::serde::ArrayParts::from_array_tree(array_tree: impl core::convert::Into<vortex_buffer::ByteBuffer>) -> vortex_error::VortexResult<Self>
18294+
18295+ pub fn vortex_array::serde::ArrayParts::from_flatbuffer_and_segment(array_tree: vortex_buffer::ByteBuffer, segment: vortex_array::buffer::BufferHandle) -> vortex_error::VortexResult<Self>
18296+
18297+ pub fn vortex_array::serde::ArrayParts::from_flatbuffer_and_segment_with_overrides(array_tree: vortex_buffer::ByteBuffer, segment: vortex_array::buffer::BufferHandle, buffer_overrides: &vortex_utils::aliases::hash_map::HashMap<u32, vortex_buffer::ByteBuffer>) -> vortex_error::VortexResult<Self>
18298+
18299+ pub fn vortex_array::serde::ArrayParts::from_flatbuffer_with_buffers(array_tree: impl core::convert::Into<vortex_buffer::ByteBuffer>, buffers: alloc::vec::Vec<vortex_array::buffer::BufferHandle>) -> vortex_error::VortexResult<Self>
18300+
18301+ pub fn vortex_array::serde::ArrayParts::metadata(&self) -> &[u8]
18302+
18303+ pub fn vortex_array::serde::ArrayParts::nbuffers(&self) -> usize
18304+
18305+ pub fn vortex_array::serde::ArrayParts::nchildren(&self) -> usize
18306+
18307+ impl core::clone::Clone for vortex_array::serde::ArrayParts
18308+
18309+ pub fn vortex_array::serde::ArrayParts::clone(&self) -> vortex_array::serde::ArrayParts
18310+
18311+ impl core::convert::TryFrom<vortex_array::buffer::BufferHandle> for vortex_array::serde::ArrayParts
18312+
18313+ pub type vortex_array::serde::ArrayParts::Error = vortex_error::VortexError
18314+
18315+ pub fn vortex_array::serde::ArrayParts::try_from(value: vortex_array::buffer::BufferHandle) -> core::result::Result<Self, Self::Error>
18316+
18317+ impl core::convert::TryFrom<vortex_buffer::buffer::Buffer<u8>> for vortex_array::serde::ArrayParts
18318+
18319+ pub type vortex_array::serde::ArrayParts::Error = vortex_error::VortexError
18320+
18321+ pub fn vortex_array::serde::ArrayParts::try_from(value: vortex_buffer::ByteBuffer) -> core::result::Result<Self, Self::Error>
18322+
18323+ impl core::fmt::Debug for vortex_array::serde::ArrayParts
18324+
18325+ pub fn vortex_array::serde::ArrayParts::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
18326+
18327+ =======
18328+ pub struct vortex_array::serde::ArrayParts
18329+
18330+ impl vortex_array::serde::ArrayParts
18331+
18332+ pub fn vortex_array::serde::ArrayParts::buffer(&self, idx: usize) -> vortex_error::VortexResult<vortex_array::buffer::BufferHandle>
18333+
18334+ pub fn vortex_array::serde::ArrayParts::buffer_lengths(&self) -> alloc::vec::Vec<usize>
18335+
18336+ pub fn vortex_array::serde::ArrayParts::child(&self, idx: usize) -> vortex_array::serde::ArrayParts
18337+
18338+ pub fn vortex_array::serde::ArrayParts::decode(&self, dtype: &vortex_array::dtype::DType, len: usize, ctx: &vortex_array::ArrayContext, session: &vortex_session::VortexSession) -> vortex_error::VortexResult<vortex_array::ArrayRef>
18339+
18340+ pub fn vortex_array::serde::ArrayParts::encoding_id(&self) -> u16
18341+
18342+ pub fn vortex_array::serde::ArrayParts::from_array_tree(array_tree: impl core::convert::Into<vortex_buffer::ByteBuffer>) -> vortex_error::VortexResult<Self>
18343+
18344+ pub fn vortex_array::serde::ArrayParts::from_flatbuffer_and_segment(array_tree: vortex_buffer::ByteBuffer, segment: vortex_array::buffer::BufferHandle) -> vortex_error::VortexResult<Self>
18345+
18346+ pub fn vortex_array::serde::ArrayParts::from_flatbuffer_and_segment_with_overrides(array_tree: vortex_buffer::ByteBuffer, segment: vortex_array::buffer::BufferHandle, buffer_overrides: &vortex_utils::aliases::hash_map::HashMap<u32, vortex_buffer::ByteBuffer>) -> vortex_error::VortexResult<Self>
18347+
18348+ pub fn vortex_array::serde::ArrayParts::from_flatbuffer_with_buffers(array_tree: impl core::convert::Into<vortex_buffer::ByteBuffer>, buffers: alloc::vec::Vec<vortex_array::buffer::BufferHandle>) -> vortex_error::VortexResult<Self>
18349+
18350+ pub fn vortex_array::serde::ArrayParts::metadata(&self) -> &[u8]
18351+
18352+ pub fn vortex_array::serde::ArrayParts::nbuffers(&self) -> usize
18353+
18354+ pub fn vortex_array::serde::ArrayParts::nchildren(&self) -> usize
18355+
18356+ impl core::clone::Clone for vortex_array::serde::ArrayParts
18357+
18358+ pub fn vortex_array::serde::ArrayParts::clone(&self) -> vortex_array::serde::ArrayParts
18359+
18360+ impl core::convert::TryFrom<&[u8]> for vortex_array::serde::ArrayParts
18361+
18362+ pub type vortex_array::serde::ArrayParts::Error = vortex_error::VortexError
18363+
18364+ pub fn vortex_array::serde::ArrayParts::try_from(value: &[u8]) -> core::result::Result<Self, Self::Error>
18365+
18366+ impl core::convert::TryFrom<vortex_array::buffer::BufferHandle> for vortex_array::serde::ArrayParts
18367+
18368+ pub type vortex_array::serde::ArrayParts::Error = vortex_error::VortexError
18369+
18370+ pub fn vortex_array::serde::ArrayParts::try_from(value: vortex_array::buffer::BufferHandle) -> core::result::Result<Self, Self::Error>
18371+
18372+ impl core::convert::TryFrom<vortex_buffer::buffer::Buffer<u8>> for vortex_array::serde::ArrayParts
18373+
18374+ pub type vortex_array::serde::ArrayParts::Error = vortex_error::VortexError
18375+
18376+ pub fn vortex_array::serde::ArrayParts::try_from(value: vortex_buffer::ByteBuffer) -> core::result::Result<Self, Self::Error>
18377+
18378+ impl core::fmt::Debug for vortex_array::serde::ArrayParts
18379+
18380+ pub fn vortex_array::serde::ArrayParts::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
18381+
18382+ >>>>>>> 22d6a6a4d (add array variant to scalar value)
1826718383pub struct vortex_array::serde::SerializeOptions
1826818384
1826918385pub vortex_array::serde::SerializeOptions::include_padding: bool
0 commit comments