diff --git a/docs/rust/.rustc_info.json b/docs/rust/.rustc_info.json index a7e97a421a..30a01191aa 100644 --- a/docs/rust/.rustc_info.json +++ b/docs/rust/.rustc_info.json @@ -1 +1 @@ -{"rustc_fingerprint":11803740732973618980,"outputs":{"16992575326180275217":{"success":true,"status":"","code":0,"stdout":"rustc 1.83.0-nightly (d6c8169c1 2024-09-03)\nbinary: rustc\ncommit-hash: d6c8169c186ab16a3404cd0d0866674018e8a19e\ncommit-date: 2024-09-03\nhost: x86_64-unknown-linux-gnu\nrelease: 1.83.0-nightly\nLLVM version: 19.1.0\n","stderr":""},"16328442174039370641":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/runner/.rustup/toolchains/nightly-2024-09-04-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\nfmt_debug=\"full\"\noverflow_checks\npanic=\"unwind\"\nproc_macro\nrelocation_model=\"pic\"\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_has_atomic_equal_alignment=\"16\"\ntarget_has_atomic_equal_alignment=\"32\"\ntarget_has_atomic_equal_alignment=\"64\"\ntarget_has_atomic_equal_alignment=\"8\"\ntarget_has_atomic_equal_alignment=\"ptr\"\ntarget_has_atomic_load_store\ntarget_has_atomic_load_store=\"16\"\ntarget_has_atomic_load_store=\"32\"\ntarget_has_atomic_load_store=\"64\"\ntarget_has_atomic_load_store=\"8\"\ntarget_has_atomic_load_store=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_thread_local\ntarget_vendor=\"unknown\"\nub_checks\nunix\n","stderr":""}},"successes":{}} \ No newline at end of file +{"rustc_fingerprint":9157450911426878847,"outputs":{"16328442174039370641":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/runner/.rustup/toolchains/nightly-2024-09-04-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\nfmt_debug=\"full\"\noverflow_checks\npanic=\"unwind\"\nproc_macro\nrelocation_model=\"pic\"\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_has_atomic_equal_alignment=\"16\"\ntarget_has_atomic_equal_alignment=\"32\"\ntarget_has_atomic_equal_alignment=\"64\"\ntarget_has_atomic_equal_alignment=\"8\"\ntarget_has_atomic_equal_alignment=\"ptr\"\ntarget_has_atomic_load_store\ntarget_has_atomic_load_store=\"16\"\ntarget_has_atomic_load_store=\"32\"\ntarget_has_atomic_load_store=\"64\"\ntarget_has_atomic_load_store=\"8\"\ntarget_has_atomic_load_store=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_thread_local\ntarget_vendor=\"unknown\"\nub_checks\nunix\n","stderr":""},"16992575326180275217":{"success":true,"status":"","code":0,"stdout":"rustc 1.83.0-nightly (d6c8169c1 2024-09-03)\nbinary: rustc\ncommit-hash: d6c8169c186ab16a3404cd0d0866674018e8a19e\ncommit-date: 2024-09-03\nhost: x86_64-unknown-linux-gnu\nrelease: 1.83.0-nightly\nLLVM version: 19.1.0\n","stderr":""}},"successes":{}} \ No newline at end of file diff --git a/docs/rust/doc/help.html b/docs/rust/doc/help.html index 7cada964ac..8662a83413 100644 --- a/docs/rust/doc/help.html +++ b/docs/rust/doc/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/docs/rust/doc/index.html b/docs/rust/doc/index.html index f04d30099e..a2f6a62eca 100644 --- a/docs/rust/doc/index.html +++ b/docs/rust/doc/index.html @@ -1,2 +1,2 @@ -Index of crates

List of all crates

- \ No newline at end of file +Index of crates

List of all crates

+ \ No newline at end of file diff --git a/docs/rust/doc/settings.html b/docs/rust/doc/settings.html index 3e406bf8ed..6d6a407cb6 100644 --- a/docs/rust/doc/settings.html +++ b/docs/rust/doc/settings.html @@ -1 +1 @@ -Settings

Rustdoc settings

Back
\ No newline at end of file +Settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/docs/rust/doc/src/vortex_runend/compute/fill_null.rs.html b/docs/rust/doc/src/vortex_runend/compute/fill_null.rs.html index 0f4e145f51..6ed7332953 100644 --- a/docs/rust/doc/src/vortex_runend/compute/fill_null.rs.html +++ b/docs/rust/doc/src/vortex_runend/compute/fill_null.rs.html @@ -28,8 +28,8 @@ Ok(RunEndArray::with_offset_and_length( array.ends(), fill_null(array.values(), fill_value)?, - array.len(), array.offset(), + array.len(), )? .into_array()) } diff --git a/docs/rust/doc/trait.impl/core/convert/trait.AsRef.js b/docs/rust/doc/trait.impl/core/convert/trait.AsRef.js index 0f45f9f424..f05933198f 100644 --- a/docs/rust/doc/trait.impl/core/convert/trait.AsRef.js +++ b/docs/rust/doc/trait.impl/core/convert/trait.AsRef.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex_alp",[["impl AsRef<ArrayData> for ALPArray"],["impl AsRef<ArrayData> for ALPRDArray"]]],["vortex_array",[["impl AsRef<str> for EncodingId"],["impl AsRef<ArrayData> for Canonical"],["impl AsRef<ArrayData> for BoolArray"],["impl AsRef<ArrayData> for ChunkedArray"],["impl AsRef<ArrayData> for ConstantArray"],["impl AsRef<ArrayData> for ExtensionArray"],["impl AsRef<ArrayData> for ListArray"],["impl AsRef<ArrayData> for NullArray"],["impl AsRef<ArrayData> for PrimitiveArray"],["impl AsRef<ArrayData> for SparseArray"],["impl AsRef<ArrayData> for StructArray"],["impl AsRef<ArrayData> for VarBinArray"],["impl AsRef<ArrayData> for VarBinViewArray"],["impl AsRef<ArrayData> for ArrayData"]]],["vortex_buffer",[["impl AsRef<str> for BufferString"],["impl AsRef<[u8]> for Buffer"],["impl AsRef<[u8]> for BufferString"]]],["vortex_bytebool",[["impl AsRef<ArrayData> for ByteBoolArray"]]],["vortex_datetime_parts",[["impl AsRef<ArrayData> for DateTimePartsArray"]]],["vortex_dict",[["impl AsRef<ArrayData> for DictArray"]]],["vortex_dtype",[["impl AsRef<str> for ExtID"],["impl AsRef<[u8]> for ExtMetadata"]]],["vortex_error",[["impl AsRef<str> for ErrString"]]],["vortex_fastlanes",[["impl AsRef<ArrayData> for BitPackedArray"],["impl AsRef<ArrayData> for DeltaArray"],["impl AsRef<ArrayData> for FoRArray"]]],["vortex_fsst",[["impl AsRef<ArrayData> for FSSTArray"]]],["vortex_roaring",[["impl AsRef<ArrayData> for RoaringBoolArray"],["impl AsRef<ArrayData> for RoaringIntArray"]]],["vortex_runend",[["impl AsRef<ArrayData> for RunEndArray"]]],["vortex_runend_bool",[["impl AsRef<ArrayData> for RunEndBoolArray"]]],["vortex_sampling_compressor",[["impl AsRef<ArrayData> for CompressedArray<'_>"]]],["vortex_scalar",[["impl AsRef<Scalar> for Scalar"]]],["vortex_zigzag",[["impl AsRef<ArrayData> for ZigZagArray"]]]]); + var implementors = Object.fromEntries([["vortex_alp",[["impl AsRef<ArrayData> for ALPArray"],["impl AsRef<ArrayData> for ALPRDArray"]]],["vortex_array",[["impl AsRef<str> for EncodingId"],["impl AsRef<ArrayData> for Canonical"],["impl AsRef<ArrayData> for BoolArray"],["impl AsRef<ArrayData> for ChunkedArray"],["impl AsRef<ArrayData> for ConstantArray"],["impl AsRef<ArrayData> for ExtensionArray"],["impl AsRef<ArrayData> for ListArray"],["impl AsRef<ArrayData> for NullArray"],["impl AsRef<ArrayData> for PrimitiveArray"],["impl AsRef<ArrayData> for SparseArray"],["impl AsRef<ArrayData> for StructArray"],["impl AsRef<ArrayData> for VarBinArray"],["impl AsRef<ArrayData> for VarBinViewArray"],["impl AsRef<ArrayData> for ArrayData"]]],["vortex_buffer",[["impl AsRef<str> for BufferString"],["impl AsRef<[u8]> for Buffer"],["impl AsRef<[u8]> for BufferString"]]],["vortex_bytebool",[["impl AsRef<ArrayData> for ByteBoolArray"]]],["vortex_datetime_parts",[["impl AsRef<ArrayData> for DateTimePartsArray"]]],["vortex_dict",[["impl AsRef<ArrayData> for DictArray"]]],["vortex_dtype",[["impl AsRef<str> for ExtID"],["impl AsRef<[u8]> for ExtMetadata"]]],["vortex_error",[["impl AsRef<str> for ErrString"]]],["vortex_fastlanes",[["impl AsRef<ArrayData> for BitPackedArray"],["impl AsRef<ArrayData> for DeltaArray"],["impl AsRef<ArrayData> for FoRArray"]]],["vortex_fsst",[["impl AsRef<ArrayData> for FSSTArray"]]],["vortex_roaring",[["impl AsRef<ArrayData> for RoaringBoolArray"],["impl AsRef<ArrayData> for RoaringIntArray"]]],["vortex_runend",[["impl AsRef<ArrayData> for RunEndArray"]]],["vortex_runend_bool",[["impl AsRef<ArrayData> for RunEndBoolArray"]]],["vortex_sampling_compressor",[["impl AsRef<ArrayData> for CompressedArray<'_>"]]],["vortex_scalar",[["impl AsRef<Scalar> for Scalar"]]],["vortex_zigzag",[["impl AsRef<ArrayData> for ZigZagArray"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[824,5801,1160,448,481,424,763,394,1286,424,884,436,476,522,403,436]} \ No newline at end of file +//{"start":57,"fragment_lengths":[584,5801,1160,328,361,304,763,394,926,304,644,316,356,402,403,316]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/core/convert/trait.TryFrom.js b/docs/rust/doc/trait.impl/core/convert/trait.TryFrom.js index b88e4c8a06..d6828617b0 100644 --- a/docs/rust/doc/trait.impl/core/convert/trait.TryFrom.js +++ b/docs/rust/doc/trait.impl/core/convert/trait.TryFrom.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex_alp",[["impl TryFrom<ArrayData> for ALPArray"],["impl TryFrom<ArrayData> for ALPRDArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ALPArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ALPRDArray"]]],["vortex_array",[["impl TryFrom<u8> for Stat"],["impl TryFrom<ExtensionArray> for TemporalArray"],["impl TryFrom<StructArray> for RecordBatch"],["impl TryFrom<ArrayData> for LogicalValidity"],["impl TryFrom<ArrayData> for Validity"],["impl TryFrom<ArrayData> for BoolArray"],["impl TryFrom<ArrayData> for ChunkedArray"],["impl TryFrom<ArrayData> for ConstantArray"],["impl TryFrom<ArrayData> for ExtensionArray"],["impl TryFrom<ArrayData> for ListArray"],["impl TryFrom<ArrayData> for NullArray"],["impl TryFrom<ArrayData> for PrimitiveArray"],["impl TryFrom<ArrayData> for SparseArray"],["impl TryFrom<ArrayData> for StructArray"],["impl TryFrom<ArrayData> for TemporalArray"],["impl TryFrom<ArrayData> for VarBinArray"],["impl TryFrom<ArrayData> for VarBinViewArray"],["impl TryFrom<ArrayData> for Datum"],["impl TryFrom<ArrayData> for FilterMask"],["impl TryFrom<ArrayData> for RecordBatch"],["impl TryFrom<RecordBatch> for ArrayData"],["impl<'a> TryFrom<&'a ArrayData> for &'a BoolArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ChunkedArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ConstantArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ExtensionArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ListArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a NullArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a PrimitiveArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a SparseArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a StructArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a VarBinArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a VarBinViewArray"]]],["vortex_buffer",[["impl TryFrom<Buffer> for BufferString"]]],["vortex_bytebool",[["impl TryFrom<ArrayData> for ByteBoolArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ByteBoolArray"]]],["vortex_datetime_dtype",[["impl TryFrom<&ExtDType> for TemporalMetadata"],["impl TryFrom<TimeUnit> for TimeUnit"],["impl TryFrom<u8> for TimeUnit"],["impl TryFrom<Box<ExtDType>> for TemporalMetadata"],["impl TryFrom<Arc<ExtDType>> for TemporalMetadata"],["impl TryFrom<ExtDType> for TemporalMetadata"]]],["vortex_datetime_parts",[["impl TryFrom<ArrayData> for DateTimePartsArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a DateTimePartsArray"]]],["vortex_dict",[["impl TryFrom<ArrayData> for DictArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a DictArray"]]],["vortex_dtype",[["impl TryFrom<&DType> for PType"],["impl TryFrom<&DType> for DType"],["impl TryFrom<&FieldPath> for FieldPath"],["impl TryFrom<DType<'_>> for DType"],["impl TryFrom<PType> for PType"]]],["vortex_expr",[["impl TryFrom<Operator> for Operator"]]],["vortex_fastlanes",[["impl TryFrom<ArrayData> for BitPackedArray"],["impl TryFrom<ArrayData> for DeltaArray"],["impl TryFrom<ArrayData> for FoRArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a BitPackedArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a DeltaArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a FoRArray"]]],["vortex_fsst",[["impl TryFrom<ArrayData> for FSSTArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a FSSTArray"]]],["vortex_proto",[["impl TryFrom<i32> for PType"],["impl TryFrom<i32> for Operator"]]],["vortex_roaring",[["impl TryFrom<ArrayData> for RoaringBoolArray"],["impl TryFrom<ArrayData> for RoaringIntArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a RoaringBoolArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a RoaringIntArray"]]],["vortex_runend",[["impl TryFrom<ArrayData> for RunEndArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a RunEndArray"]]],["vortex_runend_bool",[["impl TryFrom<ArrayData> for RunEndBoolArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a RunEndBoolArray"]]],["vortex_scalar",[["impl TryFrom<&Scalar> for Option<bool>"],["impl TryFrom<&Scalar> for Option<f32>"],["impl TryFrom<&Scalar> for Option<f64>"],["impl TryFrom<&Scalar> for Option<i16>"],["impl TryFrom<&Scalar> for Option<i32>"],["impl TryFrom<&Scalar> for Option<i64>"],["impl TryFrom<&Scalar> for Option<i8>"],["impl TryFrom<&Scalar> for Option<u16>"],["impl TryFrom<&Scalar> for Option<u32>"],["impl TryFrom<&Scalar> for Option<u64>"],["impl TryFrom<&Scalar> for Option<u8>"],["impl TryFrom<&Scalar> for Option<f16>"],["impl TryFrom<&Scalar> for bool"],["impl TryFrom<&Scalar> for f32"],["impl TryFrom<&Scalar> for f64"],["impl TryFrom<&Scalar> for i16"],["impl TryFrom<&Scalar> for i32"],["impl TryFrom<&Scalar> for i64"],["impl TryFrom<&Scalar> for i8"],["impl TryFrom<&Scalar> for u16"],["impl TryFrom<&Scalar> for u32"],["impl TryFrom<&Scalar> for u64"],["impl TryFrom<&Scalar> for u8"],["impl TryFrom<&Scalar> for ()"],["impl TryFrom<&Scalar> for usize"],["impl TryFrom<&Scalar> for Arc<dyn Datum>"],["impl TryFrom<&Scalar> for f16"],["impl TryFrom<&Scalar> for Scalar"],["impl TryFrom<PValue> for f32"],["impl TryFrom<PValue> for f64"],["impl TryFrom<PValue> for i16"],["impl TryFrom<PValue> for i32"],["impl TryFrom<PValue> for i64"],["impl TryFrom<PValue> for i8"],["impl TryFrom<PValue> for u16"],["impl TryFrom<PValue> for u32"],["impl TryFrom<PValue> for u64"],["impl TryFrom<PValue> for u8"],["impl TryFrom<PValue> for usize"],["impl TryFrom<PValue> for f16"],["impl TryFrom<Scalar> for Option<bool>"],["impl TryFrom<Scalar> for Option<f32>"],["impl TryFrom<Scalar> for Option<f64>"],["impl TryFrom<Scalar> for Option<i16>"],["impl TryFrom<Scalar> for Option<i32>"],["impl TryFrom<Scalar> for Option<i64>"],["impl TryFrom<Scalar> for Option<i8>"],["impl TryFrom<Scalar> for Option<u16>"],["impl TryFrom<Scalar> for Option<u32>"],["impl TryFrom<Scalar> for Option<u64>"],["impl TryFrom<Scalar> for Option<u8>"],["impl TryFrom<Scalar> for Option<f16>"],["impl TryFrom<Scalar> for Option<Buffer>"],["impl TryFrom<Scalar> for Option<BufferString>"],["impl TryFrom<Scalar> for bool"],["impl TryFrom<Scalar> for f32"],["impl TryFrom<Scalar> for f64"],["impl TryFrom<Scalar> for i16"],["impl TryFrom<Scalar> for i32"],["impl TryFrom<Scalar> for i64"],["impl TryFrom<Scalar> for i8"],["impl TryFrom<Scalar> for u16"],["impl TryFrom<Scalar> for u32"],["impl TryFrom<Scalar> for u64"],["impl TryFrom<Scalar> for u8"],["impl TryFrom<Scalar> for ()"],["impl TryFrom<Scalar> for f16"],["impl TryFrom<Scalar> for Buffer"],["impl TryFrom<Scalar> for BufferString"],["impl TryFrom<Scalar> for ScalarValue"],["impl TryFrom<Scalar<'_>> for Scalar"],["impl TryFrom<ScalarValue<'_>> for ScalarValue"],["impl<'a> TryFrom<&'a Scalar> for Option<Buffer>"],["impl<'a> TryFrom<&'a Scalar> for Option<BufferString>"],["impl<'a> TryFrom<&'a Scalar> for String"],["impl<'a> TryFrom<&'a Scalar> for BinaryScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for BoolScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for ExtScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for ListScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for PrimitiveScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for StructScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for Utf8Scalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for Buffer"],["impl<'a> TryFrom<&'a Scalar> for BufferString"],["impl<'a, T: for<'b> TryFrom<&'b Scalar, Error = VortexError>> TryFrom<&'a Scalar> for Vec<T>"]]],["vortex_zigzag",[["impl TryFrom<ArrayData> for ZigZagArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ZigZagArray"]]]]); + var implementors = Object.fromEntries([["vortex_alp",[["impl TryFrom<ArrayData> for ALPArray"],["impl TryFrom<ArrayData> for ALPRDArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ALPArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ALPRDArray"]]],["vortex_array",[["impl TryFrom<u8> for Stat"],["impl TryFrom<ExtensionArray> for TemporalArray"],["impl TryFrom<StructArray> for RecordBatch"],["impl TryFrom<ArrayData> for LogicalValidity"],["impl TryFrom<ArrayData> for Validity"],["impl TryFrom<ArrayData> for BoolArray"],["impl TryFrom<ArrayData> for ChunkedArray"],["impl TryFrom<ArrayData> for ConstantArray"],["impl TryFrom<ArrayData> for ExtensionArray"],["impl TryFrom<ArrayData> for ListArray"],["impl TryFrom<ArrayData> for NullArray"],["impl TryFrom<ArrayData> for PrimitiveArray"],["impl TryFrom<ArrayData> for SparseArray"],["impl TryFrom<ArrayData> for StructArray"],["impl TryFrom<ArrayData> for TemporalArray"],["impl TryFrom<ArrayData> for VarBinArray"],["impl TryFrom<ArrayData> for VarBinViewArray"],["impl TryFrom<ArrayData> for Datum"],["impl TryFrom<ArrayData> for FilterMask"],["impl TryFrom<ArrayData> for RecordBatch"],["impl TryFrom<RecordBatch> for ArrayData"],["impl<'a> TryFrom<&'a ArrayData> for &'a BoolArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ChunkedArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ConstantArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ExtensionArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ListArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a NullArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a PrimitiveArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a SparseArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a StructArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a VarBinArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a VarBinViewArray"]]],["vortex_buffer",[["impl TryFrom<Buffer> for BufferString"]]],["vortex_bytebool",[["impl TryFrom<ArrayData> for ByteBoolArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ByteBoolArray"]]],["vortex_datetime_dtype",[["impl TryFrom<&ExtDType> for TemporalMetadata"],["impl TryFrom<TimeUnit> for TimeUnit"],["impl TryFrom<u8> for TimeUnit"],["impl TryFrom<Box<ExtDType>> for TemporalMetadata"],["impl TryFrom<Arc<ExtDType>> for TemporalMetadata"],["impl TryFrom<ExtDType> for TemporalMetadata"]]],["vortex_datetime_parts",[["impl TryFrom<ArrayData> for DateTimePartsArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a DateTimePartsArray"]]],["vortex_dict",[["impl TryFrom<ArrayData> for DictArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a DictArray"]]],["vortex_dtype",[["impl TryFrom<&DType> for PType"],["impl TryFrom<&DType> for DType"],["impl TryFrom<&FieldPath> for FieldPath"],["impl TryFrom<DType<'_>> for DType"],["impl TryFrom<PType> for PType"]]],["vortex_expr",[["impl TryFrom<Operator> for Operator"]]],["vortex_fastlanes",[["impl TryFrom<ArrayData> for BitPackedArray"],["impl TryFrom<ArrayData> for DeltaArray"],["impl TryFrom<ArrayData> for FoRArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a BitPackedArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a DeltaArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a FoRArray"]]],["vortex_fsst",[["impl TryFrom<ArrayData> for FSSTArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a FSSTArray"]]],["vortex_proto",[["impl TryFrom<i32> for PType"],["impl TryFrom<i32> for Operator"]]],["vortex_roaring",[["impl TryFrom<ArrayData> for RoaringBoolArray"],["impl TryFrom<ArrayData> for RoaringIntArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a RoaringBoolArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a RoaringIntArray"]]],["vortex_runend",[["impl TryFrom<ArrayData> for RunEndArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a RunEndArray"]]],["vortex_runend_bool",[["impl TryFrom<ArrayData> for RunEndBoolArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a RunEndBoolArray"]]],["vortex_scalar",[["impl TryFrom<&Scalar> for Option<bool>"],["impl TryFrom<&Scalar> for Option<f32>"],["impl TryFrom<&Scalar> for Option<f64>"],["impl TryFrom<&Scalar> for Option<i16>"],["impl TryFrom<&Scalar> for Option<i32>"],["impl TryFrom<&Scalar> for Option<i64>"],["impl TryFrom<&Scalar> for Option<i8>"],["impl TryFrom<&Scalar> for Option<u16>"],["impl TryFrom<&Scalar> for Option<u32>"],["impl TryFrom<&Scalar> for Option<u64>"],["impl TryFrom<&Scalar> for Option<u8>"],["impl TryFrom<&Scalar> for Option<f16>"],["impl TryFrom<&Scalar> for bool"],["impl TryFrom<&Scalar> for f32"],["impl TryFrom<&Scalar> for f64"],["impl TryFrom<&Scalar> for i16"],["impl TryFrom<&Scalar> for i32"],["impl TryFrom<&Scalar> for i64"],["impl TryFrom<&Scalar> for i8"],["impl TryFrom<&Scalar> for u16"],["impl TryFrom<&Scalar> for u32"],["impl TryFrom<&Scalar> for u64"],["impl TryFrom<&Scalar> for u8"],["impl TryFrom<&Scalar> for ()"],["impl TryFrom<&Scalar> for usize"],["impl TryFrom<&Scalar> for Arc<dyn Datum>"],["impl TryFrom<&Scalar> for f16"],["impl TryFrom<&Scalar> for Scalar"],["impl TryFrom<PValue> for f32"],["impl TryFrom<PValue> for f64"],["impl TryFrom<PValue> for i16"],["impl TryFrom<PValue> for i32"],["impl TryFrom<PValue> for i64"],["impl TryFrom<PValue> for i8"],["impl TryFrom<PValue> for u16"],["impl TryFrom<PValue> for u32"],["impl TryFrom<PValue> for u64"],["impl TryFrom<PValue> for u8"],["impl TryFrom<PValue> for usize"],["impl TryFrom<PValue> for f16"],["impl TryFrom<Scalar> for Option<bool>"],["impl TryFrom<Scalar> for Option<f32>"],["impl TryFrom<Scalar> for Option<f64>"],["impl TryFrom<Scalar> for Option<i16>"],["impl TryFrom<Scalar> for Option<i32>"],["impl TryFrom<Scalar> for Option<i64>"],["impl TryFrom<Scalar> for Option<i8>"],["impl TryFrom<Scalar> for Option<u16>"],["impl TryFrom<Scalar> for Option<u32>"],["impl TryFrom<Scalar> for Option<u64>"],["impl TryFrom<Scalar> for Option<u8>"],["impl TryFrom<Scalar> for Option<f16>"],["impl TryFrom<Scalar> for Option<Buffer>"],["impl TryFrom<Scalar> for Option<BufferString>"],["impl TryFrom<Scalar> for bool"],["impl TryFrom<Scalar> for f32"],["impl TryFrom<Scalar> for f64"],["impl TryFrom<Scalar> for i16"],["impl TryFrom<Scalar> for i32"],["impl TryFrom<Scalar> for i64"],["impl TryFrom<Scalar> for i8"],["impl TryFrom<Scalar> for u16"],["impl TryFrom<Scalar> for u32"],["impl TryFrom<Scalar> for u64"],["impl TryFrom<Scalar> for u8"],["impl TryFrom<Scalar> for ()"],["impl TryFrom<Scalar> for f16"],["impl TryFrom<Scalar> for Buffer"],["impl TryFrom<Scalar> for BufferString"],["impl TryFrom<Scalar> for ScalarValue"],["impl TryFrom<Scalar<'_>> for Scalar"],["impl TryFrom<ScalarValue<'_>> for ScalarValue"],["impl<'a> TryFrom<&'a Scalar> for Option<Buffer>"],["impl<'a> TryFrom<&'a Scalar> for Option<BufferString>"],["impl<'a> TryFrom<&'a Scalar> for String"],["impl<'a> TryFrom<&'a Scalar> for BinaryScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for BoolScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for ExtScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for ListScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for PrimitiveScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for StructScalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for Utf8Scalar<'a>"],["impl<'a> TryFrom<&'a Scalar> for Buffer"],["impl<'a> TryFrom<&'a Scalar> for BufferString"],["impl<'a, T: for<'b> TryFrom<&'b Scalar, Error = VortexError>> TryFrom<&'a Scalar> for Vec<T>"]]],["vortex_zigzag",[["impl TryFrom<ArrayData> for ZigZagArray"],["impl<'a> TryFrom<&'a ArrayData> for &'a ZigZagArray"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1708,13467,427,912,2307,972,868,2048,300,2663,868,778,1823,890,965,36035,890]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1228,13467,427,672,2307,732,628,2048,300,1943,628,778,1343,650,725,36035,650]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/canonical/trait.IntoCanonical.js b/docs/rust/doc/trait.impl/vortex_array/canonical/trait.IntoCanonical.js index 42a47babda..b915ee6c00 100644 --- a/docs/rust/doc/trait.impl/vortex_array/canonical/trait.IntoCanonical.js +++ b/docs/rust/doc/trait.impl/vortex_array/canonical/trait.IntoCanonical.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl IntoCanonical for ALPArray"],["impl IntoCanonical for ALPRDArray"]]],["vortex_array",[]],["vortex_bytebool",[["impl IntoCanonical for ByteBoolArray"]]],["vortex_datetime_parts",[["impl IntoCanonical for DateTimePartsArray"]]],["vortex_dict",[["impl IntoCanonical for DictArray"]]],["vortex_fastlanes",[["impl IntoCanonical for BitPackedArray"],["impl IntoCanonical for DeltaArray"],["impl IntoCanonical for FoRArray"]]],["vortex_fsst",[["impl IntoCanonical for FSSTArray"]]],["vortex_roaring",[["impl IntoCanonical for RoaringBoolArray"],["impl IntoCanonical for RoaringIntArray"]]],["vortex_runend",[["impl IntoCanonical for RunEndArray"]]],["vortex_runend_bool",[["impl IntoCanonical for RunEndBoolArray"]]],["vortex_zigzag",[["impl IntoCanonical for ZigZagArray"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl IntoCanonical for ALPArray"],["impl IntoCanonical for ALPRDArray"]]],["vortex_array",[]],["vortex_bytebool",[["impl IntoCanonical for ByteBoolArray"]]],["vortex_datetime_parts",[["impl IntoCanonical for DateTimePartsArray"]]],["vortex_dict",[["impl IntoCanonical for DictArray"]]],["vortex_fastlanes",[["impl IntoCanonical for BitPackedArray"],["impl IntoCanonical for DeltaArray"],["impl IntoCanonical for FoRArray"]]],["vortex_fsst",[["impl IntoCanonical for FSSTArray"]]],["vortex_roaring",[["impl IntoCanonical for RoaringBoolArray"],["impl IntoCanonical for RoaringIntArray"]]],["vortex_runend",[["impl IntoCanonical for RunEndArray"]]],["vortex_runend_bool",[["impl IntoCanonical for RunEndBoolArray"]]],["vortex_zigzag",[["impl IntoCanonical for ZigZagArray"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,571,20,321,354,297,905,297,630,309,349,309]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,301,20,186,219,162,500,162,360,174,214,174]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compress/trait.CompressionStrategy.js b/docs/rust/doc/trait.impl/vortex_array/compress/trait.CompressionStrategy.js index eefd12434e..9011562047 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compress/trait.CompressionStrategy.js +++ b/docs/rust/doc/trait.impl/vortex_array/compress/trait.CompressionStrategy.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_sampling_compressor",[["impl CompressionStrategy for SamplingCompressor<'_>"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_sampling_compressor",[["impl CompressionStrategy for SamplingCompressor<'_>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,395]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,250]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/compare/trait.CompareFn.js b/docs/rust/doc/trait.impl/vortex_array/compute/compare/trait.CompareFn.js index f0e09c231c..2faa0630c5 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/compare/trait.CompareFn.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/compare/trait.CompareFn.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_dict",[["impl CompareFn<DictArray> for DictEncoding"]]],["vortex_fsst",[["impl CompareFn<FSSTArray> for FSSTEncoding"]]],["vortex_runend",[["impl CompareFn<RunEndArray> for RunEndEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_dict",[["impl CompareFn<DictArray> for DictEncoding"]]],["vortex_fsst",[["impl CompareFn<FSSTArray> for FSSTEncoding"]]],["vortex_runend",[["impl CompareFn<RunEndArray> for RunEndEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,20,431,431,453]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,20,291,291,313]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/fill_forward/trait.FillForwardFn.js b/docs/rust/doc/trait.impl/vortex_array/compute/fill_forward/trait.FillForwardFn.js index 61d2a159ad..be4a4a6b60 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/fill_forward/trait.FillForwardFn.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/fill_forward/trait.FillForwardFn.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_bytebool",[["impl FillForwardFn<ByteBoolArray> for ByteBoolEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_bytebool",[["impl FillForwardFn<ByteBoolArray> for ByteBoolEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,20,497]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,20,339]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/fill_null/trait.FillNullFn.js b/docs/rust/doc/trait.impl/vortex_array/compute/fill_null/trait.FillNullFn.js index 46c7556fa4..d661f5de80 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/fill_null/trait.FillNullFn.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/fill_null/trait.FillNullFn.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_runend",[["impl FillNullFn<RunEndArray> for RunEndEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_runend",[["impl FillNullFn<RunEndArray> for RunEndEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,20,460]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,20,314]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/filter/trait.FilterFn.js b/docs/rust/doc/trait.impl/vortex_array/compute/filter/trait.FilterFn.js index b56db0116c..60d3b11abc 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/filter/trait.FilterFn.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/filter/trait.FilterFn.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl FilterFn<ALPArray> for ALPEncoding"],["impl FilterFn<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_datetime_parts",[["impl FilterFn<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl FilterFn<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl FilterFn<BitPackedArray> for BitPackedEncoding"],["impl FilterFn<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl FilterFn<FSSTArray> for FSSTEncoding"]]],["vortex_runend",[["impl FilterFn<RunEndArray> for RunEndEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl FilterFn<ALPArray> for ALPEncoding"],["impl FilterFn<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_datetime_parts",[["impl FilterFn<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl FilterFn<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl FilterFn<BitPackedArray> for BitPackedEncoding"],["impl FilterFn<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl FilterFn<FSSTArray> for FSSTEncoding"]]],["vortex_runend",[["impl FilterFn<RunEndArray> for RunEndEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,825,20,530,426,903,426,448]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,553,20,394,290,631,290,312]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/invert/trait.InvertFn.js b/docs/rust/doc/trait.impl/vortex_array/compute/invert/trait.InvertFn.js index 33f5fe12bf..d237fc9199 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/invert/trait.InvertFn.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/invert/trait.InvertFn.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_roaring",[["impl InvertFn<RoaringBoolArray> for RoaringBoolEncoding"]]],["vortex_runend",[["impl InvertFn<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl InvertFn<RunEndBoolArray> for RunEndBoolEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_roaring",[["impl InvertFn<RoaringBoolArray> for RoaringBoolEncoding"]]],["vortex_runend",[["impl InvertFn<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl InvertFn<RunEndBoolArray> for RunEndBoolEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,20,483,448,523]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,20,347,312,387]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/like/trait.LikeFn.js b/docs/rust/doc/trait.impl/vortex_array/compute/like/trait.LikeFn.js index 6ed4c0da20..cb0ca557da 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/like/trait.LikeFn.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/like/trait.LikeFn.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_dict",[["impl LikeFn<DictArray> for DictEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_dict",[["impl LikeFn<DictArray> for DictEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,20,416]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,20,288]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/scalar_at/trait.ScalarAtFn.js b/docs/rust/doc/trait.impl/vortex_array/compute/scalar_at/trait.ScalarAtFn.js index 82d8521ba1..6aff20c910 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/scalar_at/trait.ScalarAtFn.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/scalar_at/trait.ScalarAtFn.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl ScalarAtFn<ALPArray> for ALPEncoding"],["impl ScalarAtFn<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl ScalarAtFn<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl ScalarAtFn<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl ScalarAtFn<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl ScalarAtFn<BitPackedArray> for BitPackedEncoding"],["impl ScalarAtFn<DeltaArray> for DeltaEncoding"],["impl ScalarAtFn<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl ScalarAtFn<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl ScalarAtFn<RoaringBoolArray> for RoaringBoolEncoding"],["impl ScalarAtFn<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl ScalarAtFn<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl ScalarAtFn<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl ScalarAtFn<ZigZagArray> for ZigZagEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl ScalarAtFn<ALPArray> for ALPEncoding"],["impl ScalarAtFn<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl ScalarAtFn<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl ScalarAtFn<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl ScalarAtFn<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl ScalarAtFn<BitPackedArray> for BitPackedEncoding"],["impl ScalarAtFn<DeltaArray> for DeltaEncoding"],["impl ScalarAtFn<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl ScalarAtFn<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl ScalarAtFn<RoaringBoolArray> for RoaringBoolEncoding"],["impl ScalarAtFn<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl ScalarAtFn<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl ScalarAtFn<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl ScalarAtFn<ZigZagArray> for ZigZagEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,849,20,482,542,438,1373,438,963,460,535,460]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,557,20,336,396,292,935,292,671,314,389,314]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/search_sorted/trait.SearchSortedFn.js b/docs/rust/doc/trait.impl/vortex_array/compute/search_sorted/trait.SearchSortedFn.js index debb7a9876..07da73d851 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/search_sorted/trait.SearchSortedFn.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/search_sorted/trait.SearchSortedFn.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_fastlanes",[["impl SearchSortedFn<BitPackedArray> for BitPackedEncoding"],["impl SearchSortedFn<FoRArray> for FoREncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_fastlanes",[["impl SearchSortedFn<BitPackedArray> for BitPackedEncoding"],["impl SearchSortedFn<FoRArray> for FoREncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,20,967]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,20,643]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/search_sorted/trait.SearchSortedUsizeFn.js b/docs/rust/doc/trait.impl/vortex_array/compute/search_sorted/trait.SearchSortedUsizeFn.js index bd8f133801..9103e23b99 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/search_sorted/trait.SearchSortedUsizeFn.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/search_sorted/trait.SearchSortedUsizeFn.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_fastlanes",[["impl SearchSortedUsizeFn<BitPackedArray> for BitPackedEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_fastlanes",[["impl SearchSortedUsizeFn<BitPackedArray> for BitPackedEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,20,528]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,20,356]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/slice/trait.SliceFn.js b/docs/rust/doc/trait.impl/vortex_array/compute/slice/trait.SliceFn.js index 3eff766f14..15804573f6 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/slice/trait.SliceFn.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/slice/trait.SliceFn.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl SliceFn<ALPArray> for ALPEncoding"],["impl SliceFn<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl SliceFn<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl SliceFn<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl SliceFn<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl SliceFn<BitPackedArray> for BitPackedEncoding"],["impl SliceFn<DeltaArray> for DeltaEncoding"],["impl SliceFn<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl SliceFn<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl SliceFn<RoaringBoolArray> for RoaringBoolEncoding"],["impl SliceFn<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl SliceFn<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl SliceFn<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl SliceFn<ZigZagArray> for ZigZagEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl SliceFn<ALPArray> for ALPEncoding"],["impl SliceFn<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl SliceFn<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl SliceFn<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl SliceFn<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl SliceFn<BitPackedArray> for BitPackedEncoding"],["impl SliceFn<DeltaArray> for DeltaEncoding"],["impl SliceFn<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl SliceFn<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl SliceFn<RoaringBoolArray> for RoaringBoolEncoding"],["impl SliceFn<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl SliceFn<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl SliceFn<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl SliceFn<ZigZagArray> for ZigZagEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,815,20,465,525,421,1322,421,929,443,518,443]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,551,20,333,393,289,926,289,665,311,386,311]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/take/trait.TakeFn.js b/docs/rust/doc/trait.impl/vortex_array/compute/take/trait.TakeFn.js index e754abfd92..98a94bad63 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/take/trait.TakeFn.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/take/trait.TakeFn.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl TakeFn<ALPArray> for ALPEncoding"],["impl TakeFn<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl TakeFn<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl TakeFn<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl TakeFn<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl TakeFn<BitPackedArray> for BitPackedEncoding"],["impl TakeFn<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl TakeFn<FSSTArray> for FSSTEncoding"]]],["vortex_runend",[["impl TakeFn<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl TakeFn<RunEndBoolArray> for RunEndBoolEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl TakeFn<ALPArray> for ALPEncoding"],["impl TakeFn<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl TakeFn<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl TakeFn<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl TakeFn<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl TakeFn<BitPackedArray> for BitPackedEncoding"],["impl TakeFn<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl TakeFn<FSSTArray> for FSSTEncoding"]]],["vortex_runend",[["impl TakeFn<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl TakeFn<RunEndBoolArray> for RunEndBoolEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,805,20,460,520,416,883,416,438,513]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,549,20,332,392,288,627,288,310,385]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/compute/trait.ComputeVTable.js b/docs/rust/doc/trait.impl/vortex_array/compute/trait.ComputeVTable.js index 9bb30b3d51..bd19969f91 100644 --- a/docs/rust/doc/trait.impl/vortex_array/compute/trait.ComputeVTable.js +++ b/docs/rust/doc/trait.impl/vortex_array/compute/trait.ComputeVTable.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl ComputeVTable for ALPEncoding"],["impl ComputeVTable for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl ComputeVTable for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl ComputeVTable for DateTimePartsEncoding"]]],["vortex_dict",[["impl ComputeVTable for DictEncoding"]]],["vortex_fastlanes",[["impl ComputeVTable for BitPackedEncoding"],["impl ComputeVTable for DeltaEncoding"],["impl ComputeVTable for FoREncoding"]]],["vortex_fsst",[["impl ComputeVTable for FSSTEncoding"]]],["vortex_roaring",[["impl ComputeVTable for RoaringBoolEncoding"],["impl ComputeVTable for RoaringIntEncoding"]]],["vortex_runend",[["impl ComputeVTable for RunEndEncoding"]]],["vortex_runend_bool",[["impl ComputeVTable for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl ComputeVTable for ZigZagEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl ComputeVTable for ALPEncoding"],["impl ComputeVTable for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl ComputeVTable for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl ComputeVTable for DateTimePartsEncoding"]]],["vortex_dict",[["impl ComputeVTable for DictEncoding"]]],["vortex_fastlanes",[["impl ComputeVTable for BitPackedEncoding"],["impl ComputeVTable for DeltaEncoding"],["impl ComputeVTable for FoREncoding"]]],["vortex_fsst",[["impl ComputeVTable for FSSTEncoding"]]],["vortex_roaring",[["impl ComputeVTable for RoaringBoolEncoding"],["impl ComputeVTable for RoaringIntEncoding"]]],["vortex_runend",[["impl ComputeVTable for RunEndEncoding"]]],["vortex_runend_bool",[["impl ComputeVTable for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl ComputeVTable for ZigZagEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,581,20,326,359,302,920,302,640,314,354,314]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,319,20,195,228,171,527,171,378,183,223,183]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/encoding/trait.Encoding.js b/docs/rust/doc/trait.impl/vortex_array/encoding/trait.Encoding.js index 55fde7e1e0..ebb6577505 100644 --- a/docs/rust/doc/trait.impl/vortex_array/encoding/trait.Encoding.js +++ b/docs/rust/doc/trait.impl/vortex_array/encoding/trait.Encoding.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl Encoding for ALPEncoding"],["impl Encoding for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl Encoding for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl Encoding for DateTimePartsEncoding"]]],["vortex_dict",[["impl Encoding for DictEncoding"]]],["vortex_fastlanes",[["impl Encoding for BitPackedEncoding"],["impl Encoding for DeltaEncoding"],["impl Encoding for FoREncoding"]]],["vortex_fsst",[["impl Encoding for FSSTEncoding"]]],["vortex_roaring",[["impl Encoding for RoaringBoolEncoding"],["impl Encoding for RoaringIntEncoding"]]],["vortex_runend",[["impl Encoding for RunEndEncoding"]]],["vortex_runend_bool",[["impl Encoding for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl Encoding for ZigZagEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl Encoding for ALPEncoding"],["impl Encoding for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl Encoding for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl Encoding for DateTimePartsEncoding"]]],["vortex_dict",[["impl Encoding for DictEncoding"]]],["vortex_fastlanes",[["impl Encoding for BitPackedEncoding"],["impl Encoding for DeltaEncoding"],["impl Encoding for FoREncoding"]]],["vortex_fsst",[["impl Encoding for FSSTEncoding"]]],["vortex_roaring",[["impl Encoding for RoaringBoolEncoding"],["impl Encoding for RoaringIntEncoding"]]],["vortex_runend",[["impl Encoding for RunEndEncoding"]]],["vortex_runend_bool",[["impl Encoding for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl Encoding for ZigZagEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,555,20,313,346,289,881,289,614,301,341,301]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,309,20,190,223,166,512,166,368,178,218,178]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/encoding/trait.EncodingVTable.js b/docs/rust/doc/trait.impl/vortex_array/encoding/trait.EncodingVTable.js index 38c42b914f..db40551fe3 100644 --- a/docs/rust/doc/trait.impl/vortex_array/encoding/trait.EncodingVTable.js +++ b/docs/rust/doc/trait.impl/vortex_array/encoding/trait.EncodingVTable.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl EncodingVTable for ALPEncoding"],["impl EncodingVTable for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl EncodingVTable for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl EncodingVTable for DateTimePartsEncoding"]]],["vortex_dict",[["impl EncodingVTable for DictEncoding"]]],["vortex_fastlanes",[["impl EncodingVTable for BitPackedEncoding"],["impl EncodingVTable for DeltaEncoding"],["impl EncodingVTable for FoREncoding"]]],["vortex_fsst",[["impl EncodingVTable for FSSTEncoding"]]],["vortex_roaring",[["impl EncodingVTable for RoaringBoolEncoding"],["impl EncodingVTable for RoaringIntEncoding"]]],["vortex_runend",[["impl EncodingVTable for RunEndEncoding"]]],["vortex_runend_bool",[["impl EncodingVTable for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl EncodingVTable for ZigZagEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl EncodingVTable for ALPEncoding"],["impl EncodingVTable for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl EncodingVTable for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl EncodingVTable for DateTimePartsEncoding"]]],["vortex_dict",[["impl EncodingVTable for DictEncoding"]]],["vortex_fastlanes",[["impl EncodingVTable for BitPackedEncoding"],["impl EncodingVTable for DeltaEncoding"],["impl EncodingVTable for FoREncoding"]]],["vortex_fsst",[["impl EncodingVTable for FSSTEncoding"]]],["vortex_roaring",[["impl EncodingVTable for RoaringBoolEncoding"],["impl EncodingVTable for RoaringIntEncoding"]]],["vortex_runend",[["impl EncodingVTable for RunEndEncoding"]]],["vortex_runend_bool",[["impl EncodingVTable for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl EncodingVTable for ZigZagEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,591,20,331,364,307,935,307,650,319,359,319]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,321,20,196,229,172,530,172,380,184,224,184]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/metadata/trait.ArrayMetadata.js b/docs/rust/doc/trait.impl/vortex_array/metadata/trait.ArrayMetadata.js index 26d69c3e32..fe5ff1bf66 100644 --- a/docs/rust/doc/trait.impl/vortex_array/metadata/trait.ArrayMetadata.js +++ b/docs/rust/doc/trait.impl/vortex_array/metadata/trait.ArrayMetadata.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl ArrayMetadata for ALPMetadata"],["impl ArrayMetadata for ALPRDMetadata"]]],["vortex_array",[]],["vortex_bytebool",[["impl ArrayMetadata for ByteBoolMetadata"]]],["vortex_datetime_parts",[["impl ArrayMetadata for DateTimePartsMetadata"]]],["vortex_dict",[["impl ArrayMetadata for DictMetadata"]]],["vortex_fastlanes",[["impl ArrayMetadata for BitPackedMetadata"],["impl ArrayMetadata for DeltaMetadata"],["impl ArrayMetadata for FoRMetadata"]]],["vortex_fsst",[["impl ArrayMetadata for FSSTMetadata"]]],["vortex_roaring",[["impl ArrayMetadata for RoaringBoolMetadata"],["impl ArrayMetadata for RoaringIntMetadata"]]],["vortex_runend",[["impl ArrayMetadata for RunEndMetadata"]]],["vortex_runend_bool",[["impl ArrayMetadata for RunEndBoolMetadata"]]],["vortex_zigzag",[["impl ArrayMetadata for ZigZagMetadata"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl ArrayMetadata for ALPMetadata"],["impl ArrayMetadata for ALPRDMetadata"]]],["vortex_array",[]],["vortex_bytebool",[["impl ArrayMetadata for ByteBoolMetadata"]]],["vortex_datetime_parts",[["impl ArrayMetadata for DateTimePartsMetadata"]]],["vortex_dict",[["impl ArrayMetadata for DictMetadata"]]],["vortex_fastlanes",[["impl ArrayMetadata for BitPackedMetadata"],["impl ArrayMetadata for DeltaMetadata"],["impl ArrayMetadata for FoRMetadata"]]],["vortex_fsst",[["impl ArrayMetadata for FSSTMetadata"]]],["vortex_roaring",[["impl ArrayMetadata for RoaringBoolMetadata"],["impl ArrayMetadata for RoaringIntMetadata"]]],["vortex_runend",[["impl ArrayMetadata for RunEndMetadata"]]],["vortex_runend_bool",[["impl ArrayMetadata for RunEndBoolMetadata"]]],["vortex_zigzag",[["impl ArrayMetadata for ZigZagMetadata"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,585,20,328,361,304,926,304,644,316,356,316]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,319,20,195,228,171,527,171,378,183,223,183]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/stats/trait.StatisticsVTable.js b/docs/rust/doc/trait.impl/vortex_array/stats/trait.StatisticsVTable.js index 62ec40eb98..b7af8dc97d 100644 --- a/docs/rust/doc/trait.impl/vortex_array/stats/trait.StatisticsVTable.js +++ b/docs/rust/doc/trait.impl/vortex_array/stats/trait.StatisticsVTable.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl StatisticsVTable<ALPArray> for ALPEncoding"],["impl StatisticsVTable<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl StatisticsVTable<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl StatisticsVTable<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl StatisticsVTable<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl StatisticsVTable<BitPackedArray> for BitPackedEncoding"],["impl StatisticsVTable<DeltaArray> for DeltaEncoding"],["impl StatisticsVTable<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl StatisticsVTable<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl StatisticsVTable<RoaringBoolArray> for RoaringBoolEncoding"],["impl StatisticsVTable<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl StatisticsVTable<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl StatisticsVTable<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl StatisticsVTable<ZigZagArray> for ZigZagEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl StatisticsVTable<ALPArray> for ALPEncoding"],["impl StatisticsVTable<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl StatisticsVTable<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl StatisticsVTable<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl StatisticsVTable<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl StatisticsVTable<BitPackedArray> for BitPackedEncoding"],["impl StatisticsVTable<DeltaArray> for DeltaEncoding"],["impl StatisticsVTable<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl StatisticsVTable<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl StatisticsVTable<RoaringBoolArray> for RoaringBoolEncoding"],["impl StatisticsVTable<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl StatisticsVTable<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl StatisticsVTable<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl StatisticsVTable<ZigZagArray> for ZigZagEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,835,20,475,535,431,1352,431,949,453,528,453]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,569,20,342,402,298,953,298,683,320,395,320]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/trait.ArrayTrait.js b/docs/rust/doc/trait.impl/vortex_array/trait.ArrayTrait.js index 90e18a9bd3..68ac672808 100644 --- a/docs/rust/doc/trait.impl/vortex_array/trait.ArrayTrait.js +++ b/docs/rust/doc/trait.impl/vortex_array/trait.ArrayTrait.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl ArrayTrait for ALPArray"],["impl ArrayTrait for ALPRDArray"]]],["vortex_array",[]],["vortex_bytebool",[["impl ArrayTrait for ByteBoolArray"]]],["vortex_datetime_parts",[["impl ArrayTrait for DateTimePartsArray"]]],["vortex_dict",[["impl ArrayTrait for DictArray"]]],["vortex_fastlanes",[["impl ArrayTrait for BitPackedArray"],["impl ArrayTrait for DeltaArray"],["impl ArrayTrait for FoRArray"]]],["vortex_fsst",[["impl ArrayTrait for FSSTArray"]]],["vortex_roaring",[["impl ArrayTrait for RoaringBoolArray"],["impl ArrayTrait for RoaringIntArray"]]],["vortex_runend",[["impl ArrayTrait for RunEndArray"]]],["vortex_runend_bool",[["impl ArrayTrait for RunEndBoolArray"]]],["vortex_zigzag",[["impl ArrayTrait for ZigZagArray"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl ArrayTrait for ALPArray"],["impl ArrayTrait for ALPRDArray"]]],["vortex_array",[]],["vortex_bytebool",[["impl ArrayTrait for ByteBoolArray"]]],["vortex_datetime_parts",[["impl ArrayTrait for DateTimePartsArray"]]],["vortex_dict",[["impl ArrayTrait for DictArray"]]],["vortex_fastlanes",[["impl ArrayTrait for BitPackedArray"],["impl ArrayTrait for DeltaArray"],["impl ArrayTrait for FoRArray"]]],["vortex_fsst",[["impl ArrayTrait for FSSTArray"]]],["vortex_roaring",[["impl ArrayTrait for RoaringBoolArray"],["impl ArrayTrait for RoaringIntArray"]]],["vortex_runend",[["impl ArrayTrait for RunEndArray"]]],["vortex_runend_bool",[["impl ArrayTrait for RunEndBoolArray"]]],["vortex_zigzag",[["impl ArrayTrait for ZigZagArray"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,511,20,291,324,267,815,267,570,279,319,279]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,295,20,183,216,159,491,159,354,171,211,171]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/trait.IntoArrayData.js b/docs/rust/doc/trait.impl/vortex_array/trait.IntoArrayData.js index 0a8a450c57..b069f45b30 100644 --- a/docs/rust/doc/trait.impl/vortex_array/trait.IntoArrayData.js +++ b/docs/rust/doc/trait.impl/vortex_array/trait.IntoArrayData.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl IntoArrayData for ALPArray"],["impl IntoArrayData for ALPRDArray"]]],["vortex_array",[]],["vortex_bytebool",[["impl IntoArrayData for ByteBoolArray"]]],["vortex_datetime_parts",[["impl IntoArrayData for DateTimePartsArray"]]],["vortex_dict",[["impl IntoArrayData for DictArray"]]],["vortex_fastlanes",[["impl IntoArrayData for BitPackedArray"],["impl IntoArrayData for DeltaArray"],["impl IntoArrayData for FoRArray"]]],["vortex_fsst",[["impl IntoArrayData for FSSTArray"]]],["vortex_roaring",[["impl IntoArrayData for RoaringBoolArray"],["impl IntoArrayData for RoaringIntArray"]]],["vortex_runend",[["impl IntoArrayData for RunEndArray"]]],["vortex_runend_bool",[["impl IntoArrayData for RunEndBoolArray"]]],["vortex_zigzag",[["impl IntoArrayData for ZigZagArray"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl IntoArrayData for ALPArray"],["impl IntoArrayData for ALPRDArray"]]],["vortex_array",[]],["vortex_bytebool",[["impl IntoArrayData for ByteBoolArray"]]],["vortex_datetime_parts",[["impl IntoArrayData for DateTimePartsArray"]]],["vortex_dict",[["impl IntoArrayData for DictArray"]]],["vortex_fastlanes",[["impl IntoArrayData for BitPackedArray"],["impl IntoArrayData for DeltaArray"],["impl IntoArrayData for FoRArray"]]],["vortex_fsst",[["impl IntoArrayData for FSSTArray"]]],["vortex_roaring",[["impl IntoArrayData for RoaringBoolArray"],["impl IntoArrayData for RoaringIntArray"]]],["vortex_runend",[["impl IntoArrayData for RunEndArray"]]],["vortex_runend_bool",[["impl IntoArrayData for RunEndBoolArray"]]],["vortex_zigzag",[["impl IntoArrayData for ZigZagArray"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,529,20,300,333,276,842,276,588,288,328,288]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,301,20,186,219,162,500,162,360,174,214,174]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/validity/trait.ValidityVTable.js b/docs/rust/doc/trait.impl/vortex_array/validity/trait.ValidityVTable.js index aa73b1995f..214f4f1925 100644 --- a/docs/rust/doc/trait.impl/vortex_array/validity/trait.ValidityVTable.js +++ b/docs/rust/doc/trait.impl/vortex_array/validity/trait.ValidityVTable.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl ValidityVTable<ALPArray> for ALPEncoding"],["impl ValidityVTable<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl ValidityVTable<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl ValidityVTable<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl ValidityVTable<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl ValidityVTable<BitPackedArray> for BitPackedEncoding"],["impl ValidityVTable<DeltaArray> for DeltaEncoding"],["impl ValidityVTable<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl ValidityVTable<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl ValidityVTable<RoaringBoolArray> for RoaringBoolEncoding"],["impl ValidityVTable<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl ValidityVTable<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl ValidityVTable<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl ValidityVTable<ZigZagArray> for ZigZagEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl ValidityVTable<ALPArray> for ALPEncoding"],["impl ValidityVTable<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl ValidityVTable<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl ValidityVTable<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl ValidityVTable<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl ValidityVTable<BitPackedArray> for BitPackedEncoding"],["impl ValidityVTable<DeltaArray> for DeltaEncoding"],["impl ValidityVTable<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl ValidityVTable<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl ValidityVTable<RoaringBoolArray> for RoaringBoolEncoding"],["impl ValidityVTable<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl ValidityVTable<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl ValidityVTable<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl ValidityVTable<ZigZagArray> for ZigZagEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,835,20,475,535,431,1352,431,949,453,528,453]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,565,20,340,400,296,947,296,679,318,393,318]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/variants/trait.BinaryArrayTrait.js b/docs/rust/doc/trait.impl/vortex_array/variants/trait.BinaryArrayTrait.js index c45ed13194..1d4db8bce0 100644 --- a/docs/rust/doc/trait.impl/vortex_array/variants/trait.BinaryArrayTrait.js +++ b/docs/rust/doc/trait.impl/vortex_array/variants/trait.BinaryArrayTrait.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_dict",[["impl BinaryArrayTrait for DictArray"]]],["vortex_fsst",[["impl BinaryArrayTrait for FSSTArray"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_dict",[["impl BinaryArrayTrait for DictArray"]]],["vortex_fsst",[["impl BinaryArrayTrait for FSSTArray"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,20,304,304]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,20,165,165]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/variants/trait.BoolArrayTrait.js b/docs/rust/doc/trait.impl/vortex_array/variants/trait.BoolArrayTrait.js index 2f082aa900..246055c8b3 100644 --- a/docs/rust/doc/trait.impl/vortex_array/variants/trait.BoolArrayTrait.js +++ b/docs/rust/doc/trait.impl/vortex_array/variants/trait.BoolArrayTrait.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_bytebool",[["impl BoolArrayTrait for ByteBoolArray"]]],["vortex_dict",[["impl BoolArrayTrait for DictArray"]]],["vortex_roaring",[["impl BoolArrayTrait for RoaringBoolArray"]]],["vortex_runend",[["impl BoolArrayTrait for RunEndArray"]]],["vortex_runend_bool",[["impl BoolArrayTrait for RunEndBoolArray"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_bytebool",[["impl BoolArrayTrait for ByteBoolArray"]]],["vortex_dict",[["impl BoolArrayTrait for DictArray"]]],["vortex_roaring",[["impl BoolArrayTrait for RoaringBoolArray"]]],["vortex_runend",[["impl BoolArrayTrait for RunEndArray"]]],["vortex_runend_bool",[["impl BoolArrayTrait for RunEndBoolArray"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,20,322,298,328,310,350]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,20,187,163,193,175,215]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/variants/trait.ExtensionArrayTrait.js b/docs/rust/doc/trait.impl/vortex_array/variants/trait.ExtensionArrayTrait.js index 0b57736f0e..186f15ce12 100644 --- a/docs/rust/doc/trait.impl/vortex_array/variants/trait.ExtensionArrayTrait.js +++ b/docs/rust/doc/trait.impl/vortex_array/variants/trait.ExtensionArrayTrait.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_datetime_parts",[["impl ExtensionArrayTrait for DateTimePartsArray"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_datetime_parts",[["impl ExtensionArrayTrait for DateTimePartsArray"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,20,370]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,20,225]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/variants/trait.PrimitiveArrayTrait.js b/docs/rust/doc/trait.impl/vortex_array/variants/trait.PrimitiveArrayTrait.js index 9d11c231f1..1b8d620de1 100644 --- a/docs/rust/doc/trait.impl/vortex_array/variants/trait.PrimitiveArrayTrait.js +++ b/docs/rust/doc/trait.impl/vortex_array/variants/trait.PrimitiveArrayTrait.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl PrimitiveArrayTrait for ALPArray"],["impl PrimitiveArrayTrait for ALPRDArray"]]],["vortex_array",[]],["vortex_dict",[["impl PrimitiveArrayTrait for DictArray"]]],["vortex_fastlanes",[["impl PrimitiveArrayTrait for BitPackedArray"],["impl PrimitiveArrayTrait for DeltaArray"],["impl PrimitiveArrayTrait for FoRArray"]]],["vortex_roaring",[["impl PrimitiveArrayTrait for RoaringIntArray"]]],["vortex_runend",[["impl PrimitiveArrayTrait for RunEndArray"]]],["vortex_zigzag",[["impl PrimitiveArrayTrait for ZigZagArray"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl PrimitiveArrayTrait for ALPArray"],["impl PrimitiveArrayTrait for ALPRDArray"]]],["vortex_array",[]],["vortex_dict",[["impl PrimitiveArrayTrait for DictArray"]]],["vortex_fastlanes",[["impl PrimitiveArrayTrait for BitPackedArray"],["impl PrimitiveArrayTrait for DeltaArray"],["impl PrimitiveArrayTrait for FoRArray"]]],["vortex_roaring",[["impl PrimitiveArrayTrait for RoaringIntArray"]]],["vortex_runend",[["impl PrimitiveArrayTrait for RunEndArray"]]],["vortex_zigzag",[["impl PrimitiveArrayTrait for ZigZagArray"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,603,20,313,953,340,325,325]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,313,20,168,518,195,180,180]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/variants/trait.Utf8ArrayTrait.js b/docs/rust/doc/trait.impl/vortex_array/variants/trait.Utf8ArrayTrait.js index 0e7829339f..b86b9e1113 100644 --- a/docs/rust/doc/trait.impl/vortex_array/variants/trait.Utf8ArrayTrait.js +++ b/docs/rust/doc/trait.impl/vortex_array/variants/trait.Utf8ArrayTrait.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_dict",[["impl Utf8ArrayTrait for DictArray"]]],["vortex_fsst",[["impl Utf8ArrayTrait for FSSTArray"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_array",[]],["vortex_dict",[["impl Utf8ArrayTrait for DictArray"]]],["vortex_fsst",[["impl Utf8ArrayTrait for FSSTArray"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,20,298,298]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,20,163,163]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/variants/trait.VariantsVTable.js b/docs/rust/doc/trait.impl/vortex_array/variants/trait.VariantsVTable.js index 9e5e4aff78..1eebf402f0 100644 --- a/docs/rust/doc/trait.impl/vortex_array/variants/trait.VariantsVTable.js +++ b/docs/rust/doc/trait.impl/vortex_array/variants/trait.VariantsVTable.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl VariantsVTable<ALPArray> for ALPEncoding"],["impl VariantsVTable<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl VariantsVTable<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl VariantsVTable<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl VariantsVTable<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl VariantsVTable<BitPackedArray> for BitPackedEncoding"],["impl VariantsVTable<DeltaArray> for DeltaEncoding"],["impl VariantsVTable<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl VariantsVTable<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl VariantsVTable<RoaringBoolArray> for RoaringBoolEncoding"],["impl VariantsVTable<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl VariantsVTable<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl VariantsVTable<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl VariantsVTable<ZigZagArray> for ZigZagEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl VariantsVTable<ALPArray> for ALPEncoding"],["impl VariantsVTable<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl VariantsVTable<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl VariantsVTable<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl VariantsVTable<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl VariantsVTable<BitPackedArray> for BitPackedEncoding"],["impl VariantsVTable<DeltaArray> for DeltaEncoding"],["impl VariantsVTable<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl VariantsVTable<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl VariantsVTable<RoaringBoolArray> for RoaringBoolEncoding"],["impl VariantsVTable<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl VariantsVTable<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl VariantsVTable<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl VariantsVTable<ZigZagArray> for ZigZagEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,835,20,475,535,431,1352,431,949,453,528,453]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,565,20,340,400,296,947,296,679,318,393,318]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_array/visitor/trait.VisitorVTable.js b/docs/rust/doc/trait.impl/vortex_array/visitor/trait.VisitorVTable.js index 4c14788d49..4ac2f92e8b 100644 --- a/docs/rust/doc/trait.impl/vortex_array/visitor/trait.VisitorVTable.js +++ b/docs/rust/doc/trait.impl/vortex_array/visitor/trait.VisitorVTable.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl VisitorVTable<ALPArray> for ALPEncoding"],["impl VisitorVTable<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl VisitorVTable<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl VisitorVTable<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl VisitorVTable<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl VisitorVTable<BitPackedArray> for BitPackedEncoding"],["impl VisitorVTable<DeltaArray> for DeltaEncoding"],["impl VisitorVTable<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl VisitorVTable<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl VisitorVTable<RoaringBoolArray> for RoaringBoolEncoding"],["impl VisitorVTable<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl VisitorVTable<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl VisitorVTable<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl VisitorVTable<ZigZagArray> for ZigZagEncoding"]]]]); + var implementors = Object.fromEntries([["vortex",[]],["vortex_alp",[["impl VisitorVTable<ALPArray> for ALPEncoding"],["impl VisitorVTable<ALPRDArray> for ALPRDEncoding"]]],["vortex_array",[]],["vortex_bytebool",[["impl VisitorVTable<ByteBoolArray> for ByteBoolEncoding"]]],["vortex_datetime_parts",[["impl VisitorVTable<DateTimePartsArray> for DateTimePartsEncoding"]]],["vortex_dict",[["impl VisitorVTable<DictArray> for DictEncoding"]]],["vortex_fastlanes",[["impl VisitorVTable<BitPackedArray> for BitPackedEncoding"],["impl VisitorVTable<DeltaArray> for DeltaEncoding"],["impl VisitorVTable<FoRArray> for FoREncoding"]]],["vortex_fsst",[["impl VisitorVTable<FSSTArray> for FSSTEncoding"]]],["vortex_roaring",[["impl VisitorVTable<RoaringBoolArray> for RoaringBoolEncoding"],["impl VisitorVTable<RoaringIntArray> for RoaringIntEncoding"]]],["vortex_runend",[["impl VisitorVTable<RunEndArray> for RunEndEncoding"]]],["vortex_runend_bool",[["impl VisitorVTable<RunEndBoolArray> for RunEndBoolEncoding"]]],["vortex_zigzag",[["impl VisitorVTable<ZigZagArray> for ZigZagEncoding"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[13,825,20,470,530,426,1337,426,939,448,523,448]} \ No newline at end of file +//{"start":57,"fragment_lengths":[13,563,20,339,399,295,944,295,677,317,392,317]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_flatbuffers/trait.FlatBufferRoot.js b/docs/rust/doc/trait.impl/vortex_flatbuffers/trait.FlatBufferRoot.js index d53d362a02..ed42f6d54f 100644 --- a/docs/rust/doc/trait.impl/vortex_flatbuffers/trait.FlatBufferRoot.js +++ b/docs/rust/doc/trait.impl/vortex_flatbuffers/trait.FlatBufferRoot.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex_dtype",[["impl FlatBufferRoot for DType"]]],["vortex_ipc",[["impl FlatBufferRoot for IPCMessage<'_>"]]]]); + var implementors = Object.fromEntries([["vortex_dtype",[["impl FlatBufferRoot for DType"]]],["vortex_ipc",[["impl FlatBufferRoot for IPCMessage<'_>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[275,186]} \ No newline at end of file +//{"start":57,"fragment_lengths":[147,186]} \ No newline at end of file diff --git a/docs/rust/doc/trait.impl/vortex_flatbuffers/trait.WriteFlatBuffer.js b/docs/rust/doc/trait.impl/vortex_flatbuffers/trait.WriteFlatBuffer.js index b692444d03..fe795b280d 100644 --- a/docs/rust/doc/trait.impl/vortex_flatbuffers/trait.WriteFlatBuffer.js +++ b/docs/rust/doc/trait.impl/vortex_flatbuffers/trait.WriteFlatBuffer.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["vortex_array",[["impl WriteFlatBuffer for &dyn Statistics"]]],["vortex_dtype",[["impl WriteFlatBuffer for DType"]]],["vortex_file",[["impl WriteFlatBuffer for LayoutSpec"]]],["vortex_ipc",[["impl WriteFlatBuffer for IPCMessage<'_>"],["impl WriteFlatBuffer for IPCArray<'_>"],["impl WriteFlatBuffer for IPCBatch<'_>"],["impl WriteFlatBuffer for IPCPage<'_>"],["impl WriteFlatBuffer for IPCSchema<'_>"]]],["vortex_scalar",[["impl WriteFlatBuffer for Scalar"],["impl WriteFlatBuffer for ScalarValue"]]]]); + var implementors = Object.fromEntries([["vortex_array",[["impl WriteFlatBuffer for &dyn Statistics"]]],["vortex_dtype",[["impl WriteFlatBuffer for DType"]]],["vortex_file",[["impl WriteFlatBuffer for LayoutSpec"]]],["vortex_ipc",[["impl WriteFlatBuffer for IPCMessage<'_>"],["impl WriteFlatBuffer for IPCArray<'_>"],["impl WriteFlatBuffer for IPCBatch<'_>"],["impl WriteFlatBuffer for IPCPage<'_>"],["impl WriteFlatBuffer for IPCSchema<'_>"]]],["vortex_scalar",[["impl WriteFlatBuffer for Scalar"],["impl WriteFlatBuffer for ScalarValue"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[188,279,167,867,317]} \ No newline at end of file +//{"start":57,"fragment_lengths":[188,149,167,867,317]} \ No newline at end of file diff --git a/docs/rust/doc/type.impl/alloc/vec/struct.Vec.js b/docs/rust/doc/type.impl/alloc/vec/struct.Vec.js index a3e74216f0..505a4e78e3 100644 --- a/docs/rust/doc/type.impl/alloc/vec/struct.Vec.js +++ b/docs/rust/doc/type.impl/alloc/vec/struct.Vec.js @@ -1,9 +1,9 @@ (function() { - var type_impls = Object.fromEntries([["vortex_file",[["
§

impl<'a, A> Arbitrary<'a> for Vec<A>
where\n A: Arbitrary<'a>,

§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Vec<A>, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Vec<A>, Error>

Generate an arbitrary value of Self from the entirety of the given\nunstructured data. Read more
§

fn size_hint(_depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type\nneeds to construct itself. Read more
§

fn try_size_hint(\n depth: usize,\n) -> Result<(usize, Option<usize>), MaxRecursionReached>

Get a size hint for how many bytes out of an Unstructured this type\nneeds to construct itself. Read more
","Arbitrary<'a>","vortex_file::read::MessageId"],["
§

impl<T> ArrayLike for Vec<T>

§

type Item = T

Type of the elements being stored.
","ArrayLike","vortex_file::read::MessageId"],["
1.5.0 · source§

impl<T, A> AsMut<[T]> for Vec<T, A>
where\n A: Allocator,

source§

fn as_mut(&mut self) -> &mut [T]

Converts this type into a mutable reference of the (usually inferred) input type.
","AsMut<[T]>","vortex_file::read::MessageId"],["
1.5.0 · source§

impl<T, A> AsMut<Vec<T, A>> for Vec<T, A>
where\n A: Allocator,

source§

fn as_mut(&mut self) -> &mut Vec<T, A>

Converts this type into a mutable reference of the (usually inferred) input type.
","AsMut>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> AsRef<[T]> for Vec<T, A>
where\n A: Allocator,

source§

fn as_ref(&self) -> &[T]

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef<[T]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> AsRef<Vec<T, A>> for Vec<T, A>
where\n A: Allocator,

source§

fn as_ref(&self) -> &Vec<T, A>

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef>","vortex_file::read::MessageId"],["
§

impl<T> AsRef<ZeroSlice<T>> for Vec<<T as AsULE>::ULE>
where\n T: AsULE,

§

fn as_ref(&self) -> &ZeroSlice<T>

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Borrow<[T]> for Vec<T, A>
where\n A: Allocator,

source§

fn borrow(&self) -> &[T]

Immutably borrows from an owned value. Read more
","Borrow<[T]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> BorrowMut<[T]> for Vec<T, A>
where\n A: Allocator,

source§

fn borrow_mut(&mut self) -> &mut [T]

Mutably borrows from an owned value. Read more
","BorrowMut<[T]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Clone for Vec<T, A>
where\n T: Clone,\n A: Allocator + Clone,

source§

fn clone_from(&mut self, source: &Vec<T, A>)

Overwrites the contents of self with a clone of the contents of source.

\n

This method is preferred over simply assigning source.clone() to self,\nas it avoids reallocation if possible. Additionally, if the element type\nT overrides clone_from(), this will reuse the resources of self’s\nelements as well.

\n
§Examples
\n
let x = vec![5, 6, 7];\nlet mut y = vec![8, 9, 10];\nlet yp: *const i32 = y.as_ptr();\n\ny.clone_from(&x);\n\n// The value is the same\nassert_eq!(x, y);\n\n// And no reallocation occurred\nassert_eq!(yp, y.as_ptr());
\n
source§

fn clone(&self) -> Vec<T, A>

Returns a copy of the value. Read more
","Clone","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Debug for Vec<T, A>
where\n T: Debug,\n A: Allocator,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T> Default for Vec<T>

source§

fn default() -> Vec<T>

Creates an empty Vec<T>.

\n

The vector will not allocate until elements are pushed onto it.

\n
","Default","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Deref for Vec<T, A>
where\n A: Allocator,

source§

type Target = [T]

The resulting type after dereferencing.
source§

fn deref(&self) -> &[T]

Dereferences the value.
","Deref","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> DerefMut for Vec<T, A>
where\n A: Allocator,

source§

fn deref_mut(&mut self) -> &mut [T]

Mutably dereferences the value.
","DerefMut","vortex_file::read::MessageId"],["
source§

impl<'de, T> Deserialize<'de> for Vec<T>
where\n T: Deserialize<'de>,

source§

fn deserialize<D>(\n deserializer: D,\n) -> Result<Vec<T>, <D as Deserializer<'de>>::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Drop for Vec<T, A>
where\n A: Allocator,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
","Drop","vortex_file::read::MessageId"],["
§

impl<T> EncodeAsVarULE<[T]> for Vec<T>
where\n T: ULE,

§

fn encode_var_ule_as_slices<R>(&self, cb: impl FnOnce(&[&[u8]]) -> R) -> R

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

Return the length, in bytes, of the corresponding [VarULE] type
§

fn encode_var_ule_write(&self, dst: &mut [u8])

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE<[T]>","vortex_file::read::MessageId"],["
§

impl<T, E, F> EncodeAsVarULE<VarZeroSlice<T, F>> for Vec<E>
where\n T: VarULE + ?Sized,\n E: EncodeAsVarULE<T>,\n F: VarZeroVecFormat,

§

fn encode_var_ule_as_slices<R>(&self, _: impl FnOnce(&[&[u8]]) -> R) -> R

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

Return the length, in bytes, of the corresponding [VarULE] type
§

fn encode_var_ule_write(&self, dst: &mut [u8])

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE>","vortex_file::read::MessageId"],["
§

impl<T> EncodeAsVarULE<ZeroSlice<T>> for Vec<T>
where\n T: AsULE + 'static,

§

fn encode_var_ule_as_slices<R>(&self, _: impl FnOnce(&[&[u8]]) -> R) -> R

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

Return the length, in bytes, of the corresponding [VarULE] type
§

fn encode_var_ule_write(&self, dst: &mut [u8])

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE>","vortex_file::read::MessageId"],["
1.2.0 · source§

impl<'a, T, A> Extend<&'a T> for Vec<T, A>
where\n T: Copy + 'a,\n A: Allocator,

Extend implementation that copies elements out of references before pushing them onto the Vec.

\n

This implementation is specialized for slice iterators, where it uses copy_from_slice to\nappend the entire slice at once.

\n
source§

fn extend<I>(&mut self, iter: I)
where\n I: IntoIterator<Item = &'a T>,

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, _: &'a T)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
","Extend<&'a T>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Extend<T> for Vec<T, A>
where\n A: Allocator,

source§

fn extend<I>(&mut self, iter: I)
where\n I: IntoIterator<Item = T>,

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: T)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
","Extend","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T> From<&[T]> for Vec<T>
where\n T: Clone,

source§

fn from(s: &[T]) -> Vec<T>

Allocates a Vec<T> and fills it by cloning s’s items.

\n
§Examples
\n
assert_eq!(Vec::from(&[1, 2, 3][..]), vec![1, 2, 3]);
\n
","From<&[T]>","vortex_file::read::MessageId"],["
1.74.0 · source§

impl<T, const N: usize> From<&[T; N]> for Vec<T>
where\n T: Clone,

source§

fn from(s: &[T; N]) -> Vec<T>

Allocates a Vec<T> and fills it by cloning s’s items.

\n
§Examples
\n
assert_eq!(Vec::from(&[1, 2, 3]), vec![1, 2, 3]);
\n
","From<&[T; N]>","vortex_file::read::MessageId"],["
1.19.0 · source§

impl<T> From<&mut [T]> for Vec<T>
where\n T: Clone,

source§

fn from(s: &mut [T]) -> Vec<T>

Allocates a Vec<T> and fills it by cloning s’s items.

\n
§Examples
\n
assert_eq!(Vec::from(&mut [1, 2, 3][..]), vec![1, 2, 3]);
\n
","From<&mut [T]>","vortex_file::read::MessageId"],["
1.74.0 · source§

impl<T, const N: usize> From<&mut [T; N]> for Vec<T>
where\n T: Clone,

source§

fn from(s: &mut [T; N]) -> Vec<T>

Allocates a Vec<T> and fills it by cloning s’s items.

\n
§Examples
\n
assert_eq!(Vec::from(&mut [1, 2, 3]), vec![1, 2, 3]);
\n
","From<&mut [T; N]>","vortex_file::read::MessageId"],["
1.44.0 · source§

impl<T, const N: usize> From<[T; N]> for Vec<T>

source§

fn from(s: [T; N]) -> Vec<T>

Allocates a Vec<T> and moves s’s items into it.

\n
§Examples
\n
assert_eq!(Vec::from([1, 2, 3]), vec![1, 2, 3]);
\n
","From<[T; N]>","vortex_file::read::MessageId"],["
1.5.0 · source§

impl<T, A> From<BinaryHeap<T, A>> for Vec<T, A>
where\n A: Allocator,

source§

fn from(heap: BinaryHeap<T, A>) -> Vec<T, A>

Converts a BinaryHeap<T> into a Vec<T>.

\n

This conversion requires no data movement or allocation, and has\nconstant time complexity.

\n
","From>","vortex_file::read::MessageId"],["
1.18.0 · source§

impl<T, A> From<Box<[T], A>> for Vec<T, A>
where\n A: Allocator,

source§

fn from(s: Box<[T], A>) -> Vec<T, A>

Converts a boxed slice into a vector by transferring ownership of\nthe existing heap allocation.

\n
§Examples
\n
let b: Box<[i32]> = vec![1, 2, 3].into_boxed_slice();\nassert_eq!(Vec::from(b), vec![1, 2, 3]);
\n
","From>","vortex_file::read::MessageId"],["
1.14.0 · source§

impl<'a, T> From<Cow<'a, [T]>> for Vec<T>
where\n [T]: ToOwned<Owned = Vec<T>>,

source§

fn from(s: Cow<'a, [T]>) -> Vec<T>

Converts a clone-on-write slice into a vector.

\n

If s already owns a Vec<T>, it will be returned directly.\nIf s is borrowing a slice, a new Vec<T> will be allocated and\nfilled by cloning s’s items into it.

\n
§Examples
\n
let o: Cow<'_, [i32]> = Cow::Owned(vec![1, 2, 3]);\nlet b: Cow<'_, [i32]> = Cow::Borrowed(&[1, 2, 3]);\nassert_eq!(Vec::from(o), Vec::from(b));
\n
","From>","vortex_file::read::MessageId"],["
§

impl<T> From<ScalarBuffer<T>> for Vec<T>
where\n T: ArrowNativeType,

§

fn from(value: ScalarBuffer<T>) -> Vec<T>

Converts to this type from the input type.
","From>","vortex_file::read::MessageId"],["
1.10.0 · source§

impl<T, A> From<VecDeque<T, A>> for Vec<T, A>
where\n A: Allocator,

source§

fn from(other: VecDeque<T, A>) -> Vec<T, A>

Turn a VecDeque<T> into a Vec<T>.

\n

This never needs to re-allocate, but does need to do O(n) data movement if\nthe circular buffer doesn’t happen to be at the beginning of the allocation.

\n
§Examples
\n
use std::collections::VecDeque;\n\n// This one is *O*(1).\nlet deque: VecDeque<_> = (1..5).collect();\nlet ptr = deque.as_slices().0.as_ptr();\nlet vec = Vec::from(deque);\nassert_eq!(vec, [1, 2, 3, 4]);\nassert_eq!(vec.as_ptr(), ptr);\n\n// This one needs data rearranging.\nlet mut deque: VecDeque<_> = (1..5).collect();\ndeque.push_front(9);\ndeque.push_front(8);\nlet ptr = deque.as_slices().1.as_ptr();\nlet vec = Vec::from(deque);\nassert_eq!(vec, [8, 9, 1, 2, 3, 4]);\nassert_eq!(vec.as_ptr(), ptr);
\n
","From>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T> FromIterator<T> for Vec<T>

Collects an iterator into a Vec, commonly called via Iterator::collect()

\n

§Allocation behavior

\n

In general Vec does not guarantee any particular growth or allocation strategy.\nThat also applies to this trait impl.

\n

Note: This section covers implementation details and is therefore exempt from\nstability guarantees.

\n

Vec may use any or none of the following strategies,\ndepending on the supplied iterator:

\n
    \n
  • preallocate based on Iterator::size_hint()\n
      \n
    • and panic if the number of items is outside the provided lower/upper bounds
    • \n
    \n
  • \n
  • use an amortized growth strategy similar to pushing one item at a time
  • \n
  • perform the iteration in-place on the original allocation backing the iterator
  • \n
\n

The last case warrants some attention. It is an optimization that in many cases reduces peak memory\nconsumption and improves cache locality. But when big, short-lived allocations are created,\nonly a small fraction of their items get collected, no further use is made of the spare capacity\nand the resulting Vec is moved into a longer-lived structure, then this can lead to the large\nallocations having their lifetimes unnecessarily extended which can result in increased memory\nfootprint.

\n

In cases where this is an issue, the excess capacity can be discarded with Vec::shrink_to(),\nVec::shrink_to_fit() or by collecting into Box<[T]> instead, which additionally reduces\nthe size of the long-lived struct.

\n\n
static LONG_LIVED: Mutex<Vec<Vec<u16>>> = Mutex::new(Vec::new());\n\nfor i in 0..10 {\n    let big_temporary: Vec<u16> = (0..1024).collect();\n    // discard most items\n    let mut result: Vec<_> = big_temporary.into_iter().filter(|i| i % 100 == 0).collect();\n    // without this a lot of unused capacity might be moved into the global\n    result.shrink_to_fit();\n    LONG_LIVED.lock().unwrap().push(result);\n}
\n
source§

fn from_iter<I>(iter: I) -> Vec<T>
where\n I: IntoIterator<Item = T>,

Creates a value from an iterator. Read more
","FromIterator","vortex_file::read::MessageId"],["
§

impl<T> FromPyArrow for Vec<T>
where\n T: FromPyArrow,

§

fn from_pyarrow_bound(value: &Bound<'_, PyAny>) -> Result<Vec<T>, PyErr>

Convert a Python object to an arrow-rs type. Read more
","FromPyArrow","vortex_file::read::MessageId"],["
§

impl<'py, T> FromPyObject<'py> for Vec<T>
where\n T: FromPyObject<'py>,

§

fn extract_bound(obj: &Bound<'py, PyAny>) -> Result<Vec<T>, PyErr>

Extracts Self from the bound smart pointer obj. Read more
","FromPyObject<'py>","vortex_file::read::MessageId"],["
source§

impl<T> FromWasmAbi for Vec<T>
where\n Box<[T]>: FromWasmAbi<Abi = WasmSlice>,

source§

type Abi = <Box<[T]> as FromWasmAbi>::Abi

The Wasm ABI type that this converts from when coming back out from the\nABI boundary.
source§

unsafe fn from_abi(js: <Vec<T> as FromWasmAbi>::Abi) -> Vec<T>

Recover a Self from Self::Abi. Read more
","FromWasmAbi","vortex_file::read::MessageId"],["
source§

impl HalfBitsVecExt for Vec<u16>

source§

fn reinterpret_into<H>(self) -> Vec<H>
where\n H: SealedHalf,

Reinterprets a vector of u16 bits as a vector of [f16] or bf16 numbers. Read more
","HalfBitsVecExt","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Hash for Vec<T, A>
where\n T: Hash,\n A: Allocator,

The hash of a vector is the same as that of the corresponding slice,\nas required by the core::borrow::Borrow implementation.

\n\n
use std::hash::BuildHasher;\n\nlet b = std::hash::RandomState::new();\nlet v: Vec<u8> = vec![0xa8, 0x3c, 0x09];\nlet s: &[u8] = &[0xa8, 0x3c, 0x09];\nassert_eq!(b.hash_one(v), b.hash_one(s));
\n
source§

fn hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, I, A> Index<I> for Vec<T, A>
where\n I: SliceIndex<[T]>,\n A: Allocator,

source§

type Output = <I as SliceIndex<[T]>>::Output

The returned type after indexing.
source§

fn index(&self, index: I) -> &<Vec<T, A> as Index<I>>::Output

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<PatternID> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: PatternID) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<PatternID> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: PatternID) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<SmallIndex> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: SmallIndex) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<SmallIndex> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: SmallIndex) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<StateID> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: StateID) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<StateID> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: StateID) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, I, A> IndexMut<I> for Vec<T, A>
where\n I: SliceIndex<[T]>,\n A: Allocator,

source§

fn index_mut(&mut self, index: I) -> &mut <Vec<T, A> as Index<I>>::Output

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<PatternID> for Vec<T>

§

fn index_mut(&mut self, index: PatternID) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<PatternID> for Vec<T>

§

fn index_mut(&mut self, index: PatternID) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<SmallIndex> for Vec<T>

§

fn index_mut(&mut self, index: SmallIndex) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<SmallIndex> for Vec<T>

§

fn index_mut(&mut self, index: SmallIndex) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<StateID> for Vec<T>

§

fn index_mut(&mut self, index: StateID) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<StateID> for Vec<T>

§

fn index_mut(&mut self, index: StateID) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> Indexable for Vec<T>

§

type Output = T

Output item
§

fn index(&self, n: usize) -> Option<&T>

Get the item with specific index.
","Indexable","vortex_file::read::MessageId"],["
§

impl<T> IndexableMut for Vec<T>

§

fn index_mut(&mut self, n: usize) -> Option<&mut T>

Get the mutable item with specific index.
","IndexableMut","vortex_file::read::MessageId"],["
source§

impl<T> IntoArrayData for Vec<T>
where\n T: NativePType,

","IntoArrayData","vortex_file::read::MessageId"],["
source§

impl<'de, T, E> IntoDeserializer<'de, E> for Vec<T>
where\n T: IntoDeserializer<'de, E>,\n E: Error,

source§

type Deserializer = SeqDeserializer<<Vec<T> as IntoIterator>::IntoIter, E>

The type of the deserializer being converted into.
source§

fn into_deserializer(self) -> <Vec<T> as IntoDeserializer<'de, E>>::Deserializer

Convert this value into a deserializer.
","IntoDeserializer<'de, E>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> IntoIterator for Vec<T, A>
where\n A: Allocator,

source§

fn into_iter(self) -> <Vec<T, A> as IntoIterator>::IntoIter

Creates a consuming iterator, that is, one that moves each value out of\nthe vector (from start to end). The vector cannot be used after calling\nthis.

\n
§Examples
\n
let v = vec![\"a\".to_string(), \"b\".to_string()];\nlet mut v_iter = v.into_iter();\n\nlet first_element: Option<String> = v_iter.next();\n\nassert_eq!(first_element, Some(\"a\".to_string()));\nassert_eq!(v_iter.next(), Some(\"b\".to_string()));\nassert_eq!(v_iter.next(), None);
\n
source§

type Item = T

The type of the elements being iterated over.
source§

type IntoIter = IntoIter<T, A>

Which kind of iterator are we turning this into?
","IntoIterator","vortex_file::read::MessageId"],["
§

impl<T> IntoPy<Py<PyAny>> for Vec<T>
where\n T: IntoPy<Py<PyAny>>,

§

fn into_py(self, py: Python<'_>) -> Py<PyAny>

Performs the conversion.
","IntoPy>","vortex_file::read::MessageId"],["
source§

impl<T> IntoWasmAbi for Vec<T>
where\n Box<[T]>: IntoWasmAbi<Abi = WasmSlice>,

source§

type Abi = <Box<[T]> as IntoWasmAbi>::Abi

The Wasm ABI type that this converts into when crossing the ABI\nboundary.
source§

fn into_abi(self) -> <Vec<T> as IntoWasmAbi>::Abi

Convert self into Self::Abi so that it can be sent across the wasm\nABI boundary.
","IntoWasmAbi","vortex_file::read::MessageId"],["
§

impl<T> IoVectoredBuf for Vec<T>
where\n T: IoBuf,

§

type Buf = T

The buffer.
§

type OwnedIter = IndexedIter<Vec<T>>

The owned iterator that wraps Self.
§

fn iter_buf(&self) -> impl Iterator<Item = MaybeOwned<'_, T>>

An iterator over the buffers that’s either owned or borrowed with\n[MaybeOwned].
§

fn owned_iter(self) -> Result<<Vec<T> as IoVectoredBuf>::OwnedIter, Vec<T>>

Wrap self into an owned iterator.
§

unsafe fn io_slices(&self) -> Vec<IoSlice>

Collected [IoSlice]s of the buffers. Read more
","IoVectoredBuf","vortex_file::read::MessageId"],["
§

impl<T> IoVectoredBufMut for Vec<T>
where\n T: IoBufMut,

§

fn iter_buf_mut(\n &mut self,\n) -> impl Iterator<Item = MaybeOwnedMut<'_, <Vec<T> as IoVectoredBuf>::Buf>>

An iterator over the buffers that’s either owned or mutably borrowed\nwith [MaybeOwnedMut].
§

unsafe fn io_slices_mut(&mut self) -> Vec<IoSliceMut>

An iterator for the [IoSliceMut]s of the buffers. Read more
","IoVectoredBufMut","vortex_file::read::MessageId"],["
source§

impl<T> OptionFromWasmAbi for Vec<T>
where\n Box<[T]>: FromWasmAbi<Abi = WasmSlice>,

source§

fn is_none(abi: &WasmSlice) -> bool

Tests whether the argument is a “none” instance. If so it will be\ndeserialized as None, and otherwise it will be passed to\nFromWasmAbi.
","OptionFromWasmAbi","vortex_file::read::MessageId"],["
source§

impl<T> OptionIntoWasmAbi for Vec<T>
where\n Box<[T]>: IntoWasmAbi<Abi = WasmSlice>,

source§

fn none() -> WasmSlice

Returns an ABI instance indicating “none”, which JS will interpret as\nthe None branch of this option. Read more
","OptionIntoWasmAbi","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Ord for Vec<T, A>
where\n T: Ord,\n A: Allocator,

Implements ordering of vectors, lexicographically.

\n
source§

fn cmp(&self, other: &Vec<T, A>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, U, A> PartialEq<&[U]> for Vec<T, A>
where\n A: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &&[U]) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &&[U]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<&[U]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, U, A, const N: usize> PartialEq<&[U; N]> for Vec<T, A>
where\n A: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &&[U; N]) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &&[U; N]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<&[U; N]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, U, A> PartialEq<&mut [U]> for Vec<T, A>
where\n A: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &&mut [U]) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &&mut [U]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<&mut [U]>","vortex_file::read::MessageId"],["
1.48.0 · source§

impl<T, U, A> PartialEq<[U]> for Vec<T, A>
where\n A: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &[U]) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &[U]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<[U]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, U, A, const N: usize> PartialEq<[U; N]> for Vec<T, A>
where\n A: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &[U; N]) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &[U; N]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<[U; N]>","vortex_file::read::MessageId"],["
§

impl<T> PartialEq<ScalarBuffer<T>> for Vec<T>
where\n T: ArrowNativeType,

§

fn eq(&self, other: &ScalarBuffer<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, U, A1, A2> PartialEq<Vec<U, A2>> for Vec<T, A1>
where\n A1: Allocator,\n A2: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &Vec<U, A2>) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &Vec<U, A2>) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A1, A2> PartialOrd<Vec<T, A2>> for Vec<T, A1>
where\n T: PartialOrd,\n A1: Allocator,\n A2: Allocator,

Implements comparison of vectors, lexicographically.

\n
source§

fn partial_cmp(&self, other: &Vec<T, A2>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd>","vortex_file::read::MessageId"],["
source§

impl ScalarType for Vec<u16>

source§

fn dtype() -> DType

","ScalarType","vortex_file::read::MessageId"],["
source§

impl<T> Serialize for Vec<T>
where\n T: Serialize,

source§

fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","vortex_file::read::MessageId"],["
§

impl<T> SetBufInit for Vec<T>
where\n T: IoBufMut,

§

unsafe fn set_buf_init(&mut self, len: usize)

Set the buffer length. If len is less than the current length, nothing\nshould happen. Read more
","SetBufInit","vortex_file::read::MessageId"],["
§

impl<T> Sink<T> for Vec<T>

§

type Error = Infallible

The type of value produced by the sink when an error occurs.
§

fn poll_ready(\n self: Pin<&mut Vec<T>>,\n _: &mut Context<'_>,\n) -> Poll<Result<(), <Vec<T> as Sink<T>>::Error>>

Attempts to prepare the Sink to receive a value. Read more
§

fn start_send(\n self: Pin<&mut Vec<T>>,\n item: T,\n) -> Result<(), <Vec<T> as Sink<T>>::Error>

Begin the process of sending a value to the sink.\nEach call to this function must be preceded by a successful call to\npoll_ready which returned Poll::Ready(Ok(())). Read more
§

fn poll_flush(\n self: Pin<&mut Vec<T>>,\n _: &mut Context<'_>,\n) -> Poll<Result<(), <Vec<T> as Sink<T>>::Error>>

Flush any remaining output from this sink. Read more
§

fn poll_close(\n self: Pin<&mut Vec<T>>,\n _: &mut Context<'_>,\n) -> Poll<Result<(), <Vec<T> as Sink<T>>::Error>>

Flush any remaining output and close this sink, if necessary. Read more
","Sink","vortex_file::read::MessageId"],["
§

impl<T> ToPyArrow for Vec<T>
where\n T: ToPyArrow,

§

fn to_pyarrow(&self, py: Python<'_>) -> Result<Py<PyAny>, PyErr>

Convert the implemented type into a Python object without consuming it.
","ToPyArrow","vortex_file::read::MessageId"],["
§

impl<T> ToPyObject for Vec<T>
where\n T: ToPyObject,

§

fn to_object(&self, py: Python<'_>) -> Py<PyAny>

Converts self into a Python object.
","ToPyObject","vortex_file::read::MessageId"],["
source§

impl<'a, T> TryFrom<&'a Scalar> for Vec<T>
where\n T: for<'b> TryFrom<&'b Scalar, Error = VortexError>,

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(\n value: &'a Scalar,\n) -> Result<Vec<T>, <Vec<T> as TryFrom<&'a Scalar>>::Error>

Performs the conversion.
","TryFrom<&'a Scalar>","vortex_file::read::MessageId"],["
source§

impl<T> Vec<T>

1.0.0 (const: 1.39.0) · source

pub const fn new() -> Vec<T>

Constructs a new, empty Vec<T>.

\n

The vector will not allocate until elements are pushed onto it.

\n
§Examples
\n
let mut vec: Vec<i32> = Vec::new();
\n
1.0.0 · source

pub fn with_capacity(capacity: usize) -> Vec<T>

Constructs a new, empty Vec<T> with at least the specified capacity.

\n

The vector will be able to hold at least capacity elements without\nreallocating. This method is allowed to allocate for more elements than\ncapacity. If capacity is 0, the vector will not allocate.

\n

It is important to note that although the returned vector has the\nminimum capacity specified, the vector will have a zero length. For\nan explanation of the difference between length and capacity, see\nCapacity and reallocation.

\n

If it is important to know the exact allocated capacity of a Vec,\nalways use the capacity method after construction.

\n

For Vec<T> where T is a zero-sized type, there will be no allocation\nand the capacity will always be usize::MAX.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
let mut vec = Vec::with_capacity(10);\n\n// The vector contains no items, even though it has capacity for more\nassert_eq!(vec.len(), 0);\nassert!(vec.capacity() >= 10);\n\n// These are all done without reallocating...\nfor i in 0..10 {\n    vec.push(i);\n}\nassert_eq!(vec.len(), 10);\nassert!(vec.capacity() >= 10);\n\n// ...but this may make the vector reallocate\nvec.push(11);\nassert_eq!(vec.len(), 11);\nassert!(vec.capacity() >= 11);\n\n// A vector of a zero-sized type will always over-allocate, since no\n// allocation is necessary\nlet vec_units = Vec::<()>::with_capacity(10);\nassert_eq!(vec_units.capacity(), usize::MAX);
\n
source

pub fn try_with_capacity(capacity: usize) -> Result<Vec<T>, TryReserveError>

🔬This is a nightly-only experimental API. (try_with_capacity)

Constructs a new, empty Vec<T> with at least the specified capacity.

\n

The vector will be able to hold at least capacity elements without\nreallocating. This method is allowed to allocate for more elements than\ncapacity. If capacity is 0, the vector will not allocate.

\n
§Errors
\n

Returns an error if the capacity exceeds isize::MAX bytes,\nor if the allocator reports allocation failure.

\n
1.0.0 · source

pub unsafe fn from_raw_parts(\n ptr: *mut T,\n length: usize,\n capacity: usize,\n) -> Vec<T>

Creates a Vec<T> directly from a pointer, a length, and a capacity.

\n
§Safety
\n

This is highly unsafe, due to the number of invariants that aren’t\nchecked:

\n
    \n
  • ptr must have been allocated using the global allocator, such as via\nthe alloc::alloc function.
  • \n
  • T needs to have the same alignment as what ptr was allocated with.\n(T having a less strict alignment is not sufficient, the alignment really\nneeds to be equal to satisfy the dealloc requirement that memory must be\nallocated and deallocated with the same layout.)
  • \n
  • The size of T times the capacity (ie. the allocated size in bytes) needs\nto be the same size as the pointer was allocated with. (Because similar to\nalignment, dealloc must be called with the same layout size.)
  • \n
  • length needs to be less than or equal to capacity.
  • \n
  • The first length values must be properly initialized values of type T.
  • \n
  • capacity needs to be the capacity that the pointer was allocated with.
  • \n
  • The allocated size in bytes must be no larger than isize::MAX.\nSee the safety documentation of pointer::offset.
  • \n
\n

These requirements are always upheld by any ptr that has been allocated\nvia Vec<T>. Other allocation sources are allowed if the invariants are\nupheld.

\n

Violating these may cause problems like corrupting the allocator’s\ninternal data structures. For example it is normally not safe\nto build a Vec<u8> from a pointer to a C char array with length\nsize_t, doing so is only safe if the array was initially allocated by\na Vec or String.\nIt’s also not safe to build one from a Vec<u16> and its length, because\nthe allocator cares about the alignment, and these two types have different\nalignments. The buffer was allocated with alignment 2 (for u16), but after\nturning it into a Vec<u8> it’ll be deallocated with alignment 1. To avoid\nthese issues, it is often preferable to do casting/transmuting using\nslice::from_raw_parts instead.

\n

The ownership of ptr is effectively transferred to the\nVec<T> which may then deallocate, reallocate or change the\ncontents of memory pointed to by the pointer at will. Ensure\nthat nothing else uses the pointer after calling this\nfunction.

\n
§Examples
\n
use std::ptr;\nuse std::mem;\n\nlet v = vec![1, 2, 3];\n\n// Prevent running `v`'s destructor so we are in complete control\n// of the allocation.\nlet mut v = mem::ManuallyDrop::new(v);\n\n// Pull out the various important pieces of information about `v`\nlet p = v.as_mut_ptr();\nlet len = v.len();\nlet cap = v.capacity();\n\nunsafe {\n    // Overwrite memory with 4, 5, 6\n    for i in 0..len {\n        ptr::write(p.add(i), 4 + i);\n    }\n\n    // Put everything back together into a Vec\n    let rebuilt = Vec::from_raw_parts(p, len, cap);\n    assert_eq!(rebuilt, [4, 5, 6]);\n}
\n

Using memory that was allocated elsewhere:

\n\n
use std::alloc::{alloc, Layout};\n\nfn main() {\n    let layout = Layout::array::<u32>(16).expect(\"overflow cannot happen\");\n\n    let vec = unsafe {\n        let mem = alloc(layout).cast::<u32>();\n        if mem.is_null() {\n            return;\n        }\n\n        mem.write(1_000_000);\n\n        Vec::from_raw_parts(mem, 1, 16)\n    };\n\n    assert_eq!(vec, &[1_000_000]);\n    assert_eq!(vec.capacity(), 16);\n}
\n
",0,"vortex_file::read::MessageId"],["
source§

impl<T, A> Vec<T, A>
where\n T: Clone,\n A: Allocator,

1.5.0 · source

pub fn resize(&mut self, new_len: usize, value: T)

Resizes the Vec in-place so that len is equal to new_len.

\n

If new_len is greater than len, the Vec is extended by the\ndifference, with each additional slot filled with value.\nIf new_len is less than len, the Vec is simply truncated.

\n

This method requires T to implement Clone,\nin order to be able to clone the passed value.\nIf you need more flexibility (or want to rely on Default instead of\nClone), use Vec::resize_with.\nIf you only need to resize to a smaller size, use Vec::truncate.

\n
§Examples
\n
let mut vec = vec![\"hello\"];\nvec.resize(3, \"world\");\nassert_eq!(vec, [\"hello\", \"world\", \"world\"]);\n\nlet mut vec = vec![1, 2, 3, 4];\nvec.resize(2, 0);\nassert_eq!(vec, [1, 2]);
\n
1.6.0 · source

pub fn extend_from_slice(&mut self, other: &[T])

Clones and appends all elements in a slice to the Vec.

\n

Iterates over the slice other, clones each element, and then appends\nit to this Vec. The other slice is traversed in-order.

\n

Note that this function is same as extend except that it is\nspecialized to work with slices instead. If and when Rust gets\nspecialization this function will likely be deprecated (but still\navailable).

\n
§Examples
\n
let mut vec = vec![1];\nvec.extend_from_slice(&[2, 3, 4]);\nassert_eq!(vec, [1, 2, 3, 4]);
\n
1.53.0 · source

pub fn extend_from_within<R>(&mut self, src: R)
where\n R: RangeBounds<usize>,

Copies elements from src range to the end of the vector.

\n
§Panics
\n

Panics if the starting point is greater than the end point or if\nthe end point is greater than the length of the vector.

\n
§Examples
\n
let mut vec = vec![0, 1, 2, 3, 4];\n\nvec.extend_from_within(2..);\nassert_eq!(vec, [0, 1, 2, 3, 4, 2, 3, 4]);\n\nvec.extend_from_within(..2);\nassert_eq!(vec, [0, 1, 2, 3, 4, 2, 3, 4, 0, 1]);\n\nvec.extend_from_within(4..8);\nassert_eq!(vec, [0, 1, 2, 3, 4, 2, 3, 4, 0, 1, 4, 2, 3, 4]);
\n
",0,"vortex_file::read::MessageId"],["
source§

impl<T, A> Vec<T, A>
where\n T: PartialEq,\n A: Allocator,

1.0.0 · source

pub fn dedup(&mut self)

Removes consecutive repeated elements in the vector according to the\nPartialEq trait implementation.

\n

If the vector is sorted, this removes all duplicates.

\n
§Examples
\n
let mut vec = vec![1, 2, 2, 3, 2];\n\nvec.dedup();\n\nassert_eq!(vec, [1, 2, 3, 2]);
\n
",0,"vortex_file::read::MessageId"],["
source§

impl<T, A> Vec<T, A>
where\n A: Allocator,

1.21.0 · source

pub fn splice<R, I>(\n &mut self,\n range: R,\n replace_with: I,\n) -> Splice<'_, <I as IntoIterator>::IntoIter, A>
where\n R: RangeBounds<usize>,\n I: IntoIterator<Item = T>,

Creates a splicing iterator that replaces the specified range in the vector\nwith the given replace_with iterator and yields the removed items.\nreplace_with does not need to be the same length as range.

\n

range is removed even if the iterator is not consumed until the end.

\n

It is unspecified how many elements are removed from the vector\nif the Splice value is leaked.

\n

The input iterator replace_with is only consumed when the Splice value is dropped.

\n

This is optimal if:

\n
    \n
  • The tail (elements in the vector after range) is empty,
  • \n
  • or replace_with yields fewer or equal elements than range’s length
  • \n
  • or the lower bound of its size_hint() is exact.
  • \n
\n

Otherwise, a temporary vector is allocated and the tail is moved twice.

\n
§Panics
\n

Panics if the starting point is greater than the end point or if\nthe end point is greater than the length of the vector.

\n
§Examples
\n
let mut v = vec![1, 2, 3, 4];\nlet new = [7, 8, 9];\nlet u: Vec<_> = v.splice(1..3, new).collect();\nassert_eq!(v, &[1, 7, 8, 9, 4]);\nassert_eq!(u, &[2, 3]);
\n
source

pub fn extract_if<F>(&mut self, filter: F) -> ExtractIf<'_, T, F, A>
where\n F: FnMut(&mut T) -> bool,

🔬This is a nightly-only experimental API. (extract_if)

Creates an iterator which uses a closure to determine if an element should be removed.

\n

If the closure returns true, then the element is removed and yielded.\nIf the closure returns false, the element will remain in the vector and will not be yielded\nby the iterator.

\n

If the returned ExtractIf is not exhausted, e.g. because it is dropped without iterating\nor the iteration short-circuits, then the remaining elements will be retained.\nUse retain with a negated predicate if you do not need the returned iterator.

\n

Using this method is equivalent to the following code:

\n\n
let mut i = 0;\nwhile i < vec.len() {\n    if some_predicate(&mut vec[i]) {\n        let val = vec.remove(i);\n        // your code here\n    } else {\n        i += 1;\n    }\n}\n
\n

But extract_if is easier to use. extract_if is also more efficient,\nbecause it can backshift the elements of the array in bulk.

\n

Note that extract_if also lets you mutate every element in the filter closure,\nregardless of whether you choose to keep or remove it.

\n
§Examples
\n

Splitting an array into evens and odds, reusing the original allocation:

\n\n
#![feature(extract_if)]\nlet mut numbers = vec![1, 2, 3, 4, 5, 6, 8, 9, 11, 13, 14, 15];\n\nlet evens = numbers.extract_if(|x| *x % 2 == 0).collect::<Vec<_>>();\nlet odds = numbers;\n\nassert_eq!(evens, vec![2, 4, 6, 8, 14]);\nassert_eq!(odds, vec![1, 3, 5, 9, 11, 13, 15]);
\n
",0,"vortex_file::read::MessageId"],["
source§

impl<T, A> Vec<T, A>
where\n A: Allocator,

source

pub const fn new_in(alloc: A) -> Vec<T, A>

🔬This is a nightly-only experimental API. (allocator_api)

Constructs a new, empty Vec<T, A>.

\n

The vector will not allocate until elements are pushed onto it.

\n
§Examples
\n
#![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut vec: Vec<i32, _> = Vec::new_in(System);
\n
source

pub fn with_capacity_in(capacity: usize, alloc: A) -> Vec<T, A>

🔬This is a nightly-only experimental API. (allocator_api)

Constructs a new, empty Vec<T, A> with at least the specified capacity\nwith the provided allocator.

\n

The vector will be able to hold at least capacity elements without\nreallocating. This method is allowed to allocate for more elements than\ncapacity. If capacity is 0, the vector will not allocate.

\n

It is important to note that although the returned vector has the\nminimum capacity specified, the vector will have a zero length. For\nan explanation of the difference between length and capacity, see\nCapacity and reallocation.

\n

If it is important to know the exact allocated capacity of a Vec,\nalways use the capacity method after construction.

\n

For Vec<T, A> where T is a zero-sized type, there will be no allocation\nand the capacity will always be usize::MAX.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
#![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut vec = Vec::with_capacity_in(10, System);\n\n// The vector contains no items, even though it has capacity for more\nassert_eq!(vec.len(), 0);\nassert!(vec.capacity() >= 10);\n\n// These are all done without reallocating...\nfor i in 0..10 {\n    vec.push(i);\n}\nassert_eq!(vec.len(), 10);\nassert!(vec.capacity() >= 10);\n\n// ...but this may make the vector reallocate\nvec.push(11);\nassert_eq!(vec.len(), 11);\nassert!(vec.capacity() >= 11);\n\n// A vector of a zero-sized type will always over-allocate, since no\n// allocation is necessary\nlet vec_units = Vec::<(), System>::with_capacity_in(10, System);\nassert_eq!(vec_units.capacity(), usize::MAX);
\n
source

pub fn try_with_capacity_in(\n capacity: usize,\n alloc: A,\n) -> Result<Vec<T, A>, TryReserveError>

🔬This is a nightly-only experimental API. (allocator_api)

Constructs a new, empty Vec<T, A> with at least the specified capacity\nwith the provided allocator.

\n

The vector will be able to hold at least capacity elements without\nreallocating. This method is allowed to allocate for more elements than\ncapacity. If capacity is 0, the vector will not allocate.

\n
§Errors
\n

Returns an error if the capacity exceeds isize::MAX bytes,\nor if the allocator reports allocation failure.

\n
source

pub unsafe fn from_raw_parts_in(\n ptr: *mut T,\n length: usize,\n capacity: usize,\n alloc: A,\n) -> Vec<T, A>

🔬This is a nightly-only experimental API. (allocator_api)

Creates a Vec<T, A> directly from a pointer, a length, a capacity,\nand an allocator.

\n
§Safety
\n

This is highly unsafe, due to the number of invariants that aren’t\nchecked:

\n
    \n
  • ptr must be currently allocated via the given allocator alloc.
  • \n
  • T needs to have the same alignment as what ptr was allocated with.\n(T having a less strict alignment is not sufficient, the alignment really\nneeds to be equal to satisfy the dealloc requirement that memory must be\nallocated and deallocated with the same layout.)
  • \n
  • The size of T times the capacity (ie. the allocated size in bytes) needs\nto be the same size as the pointer was allocated with. (Because similar to\nalignment, dealloc must be called with the same layout size.)
  • \n
  • length needs to be less than or equal to capacity.
  • \n
  • The first length values must be properly initialized values of type T.
  • \n
  • capacity needs to fit the layout size that the pointer was allocated with.
  • \n
  • The allocated size in bytes must be no larger than isize::MAX.\nSee the safety documentation of pointer::offset.
  • \n
\n

These requirements are always upheld by any ptr that has been allocated\nvia Vec<T, A>. Other allocation sources are allowed if the invariants are\nupheld.

\n

Violating these may cause problems like corrupting the allocator’s\ninternal data structures. For example it is not safe\nto build a Vec<u8> from a pointer to a C char array with length size_t.\nIt’s also not safe to build one from a Vec<u16> and its length, because\nthe allocator cares about the alignment, and these two types have different\nalignments. The buffer was allocated with alignment 2 (for u16), but after\nturning it into a Vec<u8> it’ll be deallocated with alignment 1.

\n

The ownership of ptr is effectively transferred to the\nVec<T> which may then deallocate, reallocate or change the\ncontents of memory pointed to by the pointer at will. Ensure\nthat nothing else uses the pointer after calling this\nfunction.

\n
§Examples
\n
#![feature(allocator_api)]\n\nuse std::alloc::System;\n\nuse std::ptr;\nuse std::mem;\n\nlet mut v = Vec::with_capacity_in(3, System);\nv.push(1);\nv.push(2);\nv.push(3);\n\n// Prevent running `v`'s destructor so we are in complete control\n// of the allocation.\nlet mut v = mem::ManuallyDrop::new(v);\n\n// Pull out the various important pieces of information about `v`\nlet p = v.as_mut_ptr();\nlet len = v.len();\nlet cap = v.capacity();\nlet alloc = v.allocator();\n\nunsafe {\n    // Overwrite memory with 4, 5, 6\n    for i in 0..len {\n        ptr::write(p.add(i), 4 + i);\n    }\n\n    // Put everything back together into a Vec\n    let rebuilt = Vec::from_raw_parts_in(p, len, cap, alloc.clone());\n    assert_eq!(rebuilt, [4, 5, 6]);\n}
\n

Using memory that was allocated elsewhere:

\n\n
#![feature(allocator_api)]\n\nuse std::alloc::{AllocError, Allocator, Global, Layout};\n\nfn main() {\n    let layout = Layout::array::<u32>(16).expect(\"overflow cannot happen\");\n\n    let vec = unsafe {\n        let mem = match Global.allocate(layout) {\n            Ok(mem) => mem.cast::<u32>().as_ptr(),\n            Err(AllocError) => return,\n        };\n\n        mem.write(1_000_000);\n\n        Vec::from_raw_parts_in(mem, 1, 16, Global)\n    };\n\n    assert_eq!(vec, &[1_000_000]);\n    assert_eq!(vec.capacity(), 16);\n}
\n
source

pub fn into_raw_parts(self) -> (*mut T, usize, usize)

🔬This is a nightly-only experimental API. (vec_into_raw_parts)

Decomposes a Vec<T> into its raw components: (pointer, length, capacity).

\n

Returns the raw pointer to the underlying data, the length of\nthe vector (in elements), and the allocated capacity of the\ndata (in elements). These are the same arguments in the same\norder as the arguments to from_raw_parts.

\n

After calling this function, the caller is responsible for the\nmemory previously managed by the Vec. The only way to do\nthis is to convert the raw pointer, length, and capacity back\ninto a Vec with the from_raw_parts function, allowing\nthe destructor to perform the cleanup.

\n
§Examples
\n
#![feature(vec_into_raw_parts)]\nlet v: Vec<i32> = vec![-1, 0, 1];\n\nlet (ptr, len, cap) = v.into_raw_parts();\n\nlet rebuilt = unsafe {\n    // We can now make changes to the components, such as\n    // transmuting the raw pointer to a compatible type.\n    let ptr = ptr as *mut u32;\n\n    Vec::from_raw_parts(ptr, len, cap)\n};\nassert_eq!(rebuilt, [4294967295, 0, 1]);
\n
source

pub fn into_raw_parts_with_alloc(self) -> (*mut T, usize, usize, A)

🔬This is a nightly-only experimental API. (allocator_api)

Decomposes a Vec<T> into its raw components: (pointer, length, capacity, allocator).

\n

Returns the raw pointer to the underlying data, the length of the vector (in elements),\nthe allocated capacity of the data (in elements), and the allocator. These are the same\narguments in the same order as the arguments to from_raw_parts_in.

\n

After calling this function, the caller is responsible for the\nmemory previously managed by the Vec. The only way to do\nthis is to convert the raw pointer, length, and capacity back\ninto a Vec with the from_raw_parts_in function, allowing\nthe destructor to perform the cleanup.

\n
§Examples
\n
#![feature(allocator_api, vec_into_raw_parts)]\n\nuse std::alloc::System;\n\nlet mut v: Vec<i32, System> = Vec::new_in(System);\nv.push(-1);\nv.push(0);\nv.push(1);\n\nlet (ptr, len, cap, alloc) = v.into_raw_parts_with_alloc();\n\nlet rebuilt = unsafe {\n    // We can now make changes to the components, such as\n    // transmuting the raw pointer to a compatible type.\n    let ptr = ptr as *mut u32;\n\n    Vec::from_raw_parts_in(ptr, len, cap, alloc)\n};\nassert_eq!(rebuilt, [4294967295, 0, 1]);
\n
1.0.0 · source

pub fn capacity(&self) -> usize

Returns the total number of elements the vector can hold without\nreallocating.

\n
§Examples
\n
let mut vec: Vec<i32> = Vec::with_capacity(10);\nvec.push(42);\nassert!(vec.capacity() >= 10);
\n
1.0.0 · source

pub fn reserve(&mut self, additional: usize)

Reserves capacity for at least additional more elements to be inserted\nin the given Vec<T>. The collection may reserve more space to\nspeculatively avoid frequent reallocations. After calling reserve,\ncapacity will be greater than or equal to self.len() + additional.\nDoes nothing if capacity is already sufficient.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
let mut vec = vec![1];\nvec.reserve(10);\nassert!(vec.capacity() >= 11);
\n
1.0.0 · source

pub fn reserve_exact(&mut self, additional: usize)

Reserves the minimum capacity for at least additional more elements to\nbe inserted in the given Vec<T>. Unlike reserve, this will not\ndeliberately over-allocate to speculatively avoid frequent allocations.\nAfter calling reserve_exact, capacity will be greater than or equal to\nself.len() + additional. Does nothing if the capacity is already\nsufficient.

\n

Note that the allocator may give the collection more space than it\nrequests. Therefore, capacity can not be relied upon to be precisely\nminimal. Prefer reserve if future insertions are expected.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
let mut vec = vec![1];\nvec.reserve_exact(10);\nassert!(vec.capacity() >= 11);
\n
1.57.0 · source

pub fn try_reserve(&mut self, additional: usize) -> Result<(), TryReserveError>

Tries to reserve capacity for at least additional more elements to be inserted\nin the given Vec<T>. The collection may reserve more space to speculatively avoid\nfrequent reallocations. After calling try_reserve, capacity will be\ngreater than or equal to self.len() + additional if it returns\nOk(()). Does nothing if capacity is already sufficient. This method\npreserves the contents even if an error occurs.

\n
§Errors
\n

If the capacity overflows, or the allocator reports a failure, then an error\nis returned.

\n
§Examples
\n
use std::collections::TryReserveError;\n\nfn process_data(data: &[u32]) -> Result<Vec<u32>, TryReserveError> {\n    let mut output = Vec::new();\n\n    // Pre-reserve the memory, exiting if we can't\n    output.try_reserve(data.len())?;\n\n    // Now we know this can't OOM in the middle of our complex work\n    output.extend(data.iter().map(|&val| {\n        val * 2 + 5 // very complicated\n    }));\n\n    Ok(output)\n}
\n
1.57.0 · source

pub fn try_reserve_exact(\n &mut self,\n additional: usize,\n) -> Result<(), TryReserveError>

Tries to reserve the minimum capacity for at least additional\nelements to be inserted in the given Vec<T>. Unlike try_reserve,\nthis will not deliberately over-allocate to speculatively avoid frequent\nallocations. After calling try_reserve_exact, capacity will be greater\nthan or equal to self.len() + additional if it returns Ok(()).\nDoes nothing if the capacity is already sufficient.

\n

Note that the allocator may give the collection more space than it\nrequests. Therefore, capacity can not be relied upon to be precisely\nminimal. Prefer try_reserve if future insertions are expected.

\n
§Errors
\n

If the capacity overflows, or the allocator reports a failure, then an error\nis returned.

\n
§Examples
\n
use std::collections::TryReserveError;\n\nfn process_data(data: &[u32]) -> Result<Vec<u32>, TryReserveError> {\n    let mut output = Vec::new();\n\n    // Pre-reserve the memory, exiting if we can't\n    output.try_reserve_exact(data.len())?;\n\n    // Now we know this can't OOM in the middle of our complex work\n    output.extend(data.iter().map(|&val| {\n        val * 2 + 5 // very complicated\n    }));\n\n    Ok(output)\n}
\n
1.0.0 · source

pub fn shrink_to_fit(&mut self)

Shrinks the capacity of the vector as much as possible.

\n

The behavior of this method depends on the allocator, which may either shrink the vector\nin-place or reallocate. The resulting vector might still have some excess capacity, just as\nis the case for with_capacity. See Allocator::shrink for more details.

\n
§Examples
\n
let mut vec = Vec::with_capacity(10);\nvec.extend([1, 2, 3]);\nassert!(vec.capacity() >= 10);\nvec.shrink_to_fit();\nassert!(vec.capacity() >= 3);
\n
1.56.0 · source

pub fn shrink_to(&mut self, min_capacity: usize)

Shrinks the capacity of the vector with a lower bound.

\n

The capacity will remain at least as large as both the length\nand the supplied value.

\n

If the current capacity is less than the lower limit, this is a no-op.

\n
§Examples
\n
let mut vec = Vec::with_capacity(10);\nvec.extend([1, 2, 3]);\nassert!(vec.capacity() >= 10);\nvec.shrink_to(4);\nassert!(vec.capacity() >= 4);\nvec.shrink_to(0);\nassert!(vec.capacity() >= 3);
\n
1.0.0 · source

pub fn into_boxed_slice(self) -> Box<[T], A>

Converts the vector into Box<[T]>.

\n

Before doing the conversion, this method discards excess capacity like shrink_to_fit.

\n
§Examples
\n
let v = vec![1, 2, 3];\n\nlet slice = v.into_boxed_slice();
\n

Any excess capacity is removed:

\n\n
let mut vec = Vec::with_capacity(10);\nvec.extend([1, 2, 3]);\n\nassert!(vec.capacity() >= 10);\nlet slice = vec.into_boxed_slice();\nassert_eq!(slice.into_vec().capacity(), 3);
\n
1.0.0 · source

pub fn truncate(&mut self, len: usize)

Shortens the vector, keeping the first len elements and dropping\nthe rest.

\n

If len is greater or equal to the vector’s current length, this has\nno effect.

\n

The drain method can emulate truncate, but causes the excess\nelements to be returned instead of dropped.

\n

Note that this method has no effect on the allocated capacity\nof the vector.

\n
§Examples
\n

Truncating a five element vector to two elements:

\n\n
let mut vec = vec![1, 2, 3, 4, 5];\nvec.truncate(2);\nassert_eq!(vec, [1, 2]);
\n

No truncation occurs when len is greater than the vector’s current\nlength:

\n\n
let mut vec = vec![1, 2, 3];\nvec.truncate(8);\nassert_eq!(vec, [1, 2, 3]);
\n

Truncating when len == 0 is equivalent to calling the clear\nmethod.

\n\n
let mut vec = vec![1, 2, 3];\nvec.truncate(0);\nassert_eq!(vec, []);
\n
1.7.0 · source

pub fn as_slice(&self) -> &[T]

Extracts a slice containing the entire vector.

\n

Equivalent to &s[..].

\n
§Examples
\n
use std::io::{self, Write};\nlet buffer = vec![1, 2, 3, 5, 8];\nio::sink().write(buffer.as_slice()).unwrap();
\n
1.7.0 · source

pub fn as_mut_slice(&mut self) -> &mut [T]

Extracts a mutable slice of the entire vector.

\n

Equivalent to &mut s[..].

\n
§Examples
\n
use std::io::{self, Read};\nlet mut buffer = vec![0; 3];\nio::repeat(0b101).read_exact(buffer.as_mut_slice()).unwrap();
\n
1.37.0 · source

pub fn as_ptr(&self) -> *const T

Returns a raw pointer to the vector’s buffer, or a dangling raw pointer\nvalid for zero sized reads if the vector didn’t allocate.

\n

The caller must ensure that the vector outlives the pointer this\nfunction returns, or else it will end up dangling.\nModifying the vector may cause its buffer to be reallocated,\nwhich would also make any pointers to it invalid.

\n

The caller must also ensure that the memory the pointer (non-transitively) points to\nis never written to (except inside an UnsafeCell) using this pointer or any pointer\nderived from it. If you need to mutate the contents of the slice, use as_mut_ptr.

\n

This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying slice, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize mutable references to the slice,\nor mutable references to specific elements you are planning on accessing through this pointer,\nas well as writing to those elements, may still invalidate this pointer.\nSee the second example below for how this guarantee can be used.

\n
§Examples
\n
let x = vec![1, 2, 4];\nlet x_ptr = x.as_ptr();\n\nunsafe {\n    for i in 0..x.len() {\n        assert_eq!(*x_ptr.add(i), 1 << i);\n    }\n}
\n

Due to the aliasing guarantee, the following code is legal:

\n\n
unsafe {\n    let mut v = vec![0, 1, 2];\n    let ptr1 = v.as_ptr();\n    let _ = ptr1.read();\n    let ptr2 = v.as_mut_ptr().offset(2);\n    ptr2.write(2);\n    // Notably, the write to `ptr2` did *not* invalidate `ptr1`\n    // because it mutated a different element:\n    let _ = ptr1.read();\n}
\n
1.37.0 · source

pub fn as_mut_ptr(&mut self) -> *mut T

Returns a raw mutable pointer to the vector’s buffer, or a dangling\nraw pointer valid for zero sized reads if the vector didn’t allocate.

\n

The caller must ensure that the vector outlives the pointer this\nfunction returns, or else it will end up dangling.\nModifying the vector may cause its buffer to be reallocated,\nwhich would also make any pointers to it invalid.

\n

This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying slice, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize references to the slice,\nor references to specific elements you are planning on accessing through this pointer,\nmay still invalidate this pointer.\nSee the second example below for how this guarantee can be used.

\n
§Examples
\n
// Allocate vector big enough for 4 elements.\nlet size = 4;\nlet mut x: Vec<i32> = Vec::with_capacity(size);\nlet x_ptr = x.as_mut_ptr();\n\n// Initialize elements via raw pointer writes, then set length.\nunsafe {\n    for i in 0..size {\n        *x_ptr.add(i) = i as i32;\n    }\n    x.set_len(size);\n}\nassert_eq!(&*x, &[0, 1, 2, 3]);
\n

Due to the aliasing guarantee, the following code is legal:

\n\n
unsafe {\n    let mut v = vec![0];\n    let ptr1 = v.as_mut_ptr();\n    ptr1.write(1);\n    let ptr2 = v.as_mut_ptr();\n    ptr2.write(2);\n    // Notably, the write to `ptr2` did *not* invalidate `ptr1`:\n    ptr1.write(3);\n}
\n
source

pub fn allocator(&self) -> &A

🔬This is a nightly-only experimental API. (allocator_api)

Returns a reference to the underlying allocator.

\n
1.0.0 · source

pub unsafe fn set_len(&mut self, new_len: usize)

Forces the length of the vector to new_len.

\n

This is a low-level operation that maintains none of the normal\ninvariants of the type. Normally changing the length of a vector\nis done using one of the safe operations instead, such as\ntruncate, resize, extend, or clear.

\n
§Safety
\n
    \n
  • new_len must be less than or equal to capacity().
  • \n
  • The elements at old_len..new_len must be initialized.
  • \n
\n
§Examples
\n

This method can be useful for situations in which the vector\nis serving as a buffer for other code, particularly over FFI:

\n\n
pub fn get_dictionary(&self) -> Option<Vec<u8>> {\n    // Per the FFI method's docs, \"32768 bytes is always enough\".\n    let mut dict = Vec::with_capacity(32_768);\n    let mut dict_length = 0;\n    // SAFETY: When `deflateGetDictionary` returns `Z_OK`, it holds that:\n    // 1. `dict_length` elements were initialized.\n    // 2. `dict_length` <= the capacity (32_768)\n    // which makes `set_len` safe to call.\n    unsafe {\n        // Make the FFI call...\n        let r = deflateGetDictionary(self.strm, dict.as_mut_ptr(), &mut dict_length);\n        if r == Z_OK {\n            // ...and update the length to what was initialized.\n            dict.set_len(dict_length);\n            Some(dict)\n        } else {\n            None\n        }\n    }\n}
\n

While the following example is sound, there is a memory leak since\nthe inner vectors were not freed prior to the set_len call:

\n\n
let mut vec = vec![vec![1, 0, 0],\n                   vec![0, 1, 0],\n                   vec![0, 0, 1]];\n// SAFETY:\n// 1. `old_len..0` is empty so no elements need to be initialized.\n// 2. `0 <= capacity` always holds whatever `capacity` is.\nunsafe {\n    vec.set_len(0);\n}
\n

Normally, here, one would use clear instead to correctly drop\nthe contents and thus not leak memory.

\n
1.0.0 · source

pub fn swap_remove(&mut self, index: usize) -> T

Removes an element from the vector and returns it.

\n

The removed element is replaced by the last element of the vector.

\n

This does not preserve ordering of the remaining elements, but is O(1).\nIf you need to preserve the element order, use remove instead.

\n
§Panics
\n

Panics if index is out of bounds.

\n
§Examples
\n
let mut v = vec![\"foo\", \"bar\", \"baz\", \"qux\"];\n\nassert_eq!(v.swap_remove(1), \"bar\");\nassert_eq!(v, [\"foo\", \"qux\", \"baz\"]);\n\nassert_eq!(v.swap_remove(0), \"foo\");\nassert_eq!(v, [\"baz\", \"qux\"]);
\n
1.0.0 · source

pub fn insert(&mut self, index: usize, element: T)

Inserts an element at position index within the vector, shifting all\nelements after it to the right.

\n
§Panics
\n

Panics if index > len.

\n
§Examples
\n
let mut vec = vec![1, 2, 3];\nvec.insert(1, 4);\nassert_eq!(vec, [1, 4, 2, 3]);\nvec.insert(4, 5);\nassert_eq!(vec, [1, 4, 2, 3, 5]);
\n
§Time complexity
\n

Takes O(Vec::len) time. All items after the insertion index must be\nshifted to the right. In the worst case, all elements are shifted when\nthe insertion index is 0.

\n
1.0.0 · source

pub fn remove(&mut self, index: usize) -> T

Removes and returns the element at position index within the vector,\nshifting all elements after it to the left.

\n

Note: Because this shifts over the remaining elements, it has a\nworst-case performance of O(n). If you don’t need the order of elements\nto be preserved, use swap_remove instead. If you’d like to remove\nelements from the beginning of the Vec, consider using\nVecDeque::pop_front instead.

\n
§Panics
\n

Panics if index is out of bounds.

\n
§Examples
\n
let mut v = vec![1, 2, 3];\nassert_eq!(v.remove(1), 2);\nassert_eq!(v, [1, 3]);
\n
1.0.0 · source

pub fn retain<F>(&mut self, f: F)
where\n F: FnMut(&T) -> bool,

Retains only the elements specified by the predicate.

\n

In other words, remove all elements e for which f(&e) returns false.\nThis method operates in place, visiting each element exactly once in the\noriginal order, and preserves the order of the retained elements.

\n
§Examples
\n
let mut vec = vec![1, 2, 3, 4];\nvec.retain(|&x| x % 2 == 0);\nassert_eq!(vec, [2, 4]);
\n

Because the elements are visited exactly once in the original order,\nexternal state may be used to decide which elements to keep.

\n\n
let mut vec = vec![1, 2, 3, 4, 5];\nlet keep = [false, true, true, false, true];\nlet mut iter = keep.iter();\nvec.retain(|_| *iter.next().unwrap());\nassert_eq!(vec, [2, 3, 5]);
\n
1.61.0 · source

pub fn retain_mut<F>(&mut self, f: F)
where\n F: FnMut(&mut T) -> bool,

Retains only the elements specified by the predicate, passing a mutable reference to it.

\n

In other words, remove all elements e such that f(&mut e) returns false.\nThis method operates in place, visiting each element exactly once in the\noriginal order, and preserves the order of the retained elements.

\n
§Examples
\n
let mut vec = vec![1, 2, 3, 4];\nvec.retain_mut(|x| if *x <= 3 {\n    *x += 1;\n    true\n} else {\n    false\n});\nassert_eq!(vec, [2, 3, 4]);
\n
1.16.0 · source

pub fn dedup_by_key<F, K>(&mut self, key: F)
where\n F: FnMut(&mut T) -> K,\n K: PartialEq,

Removes all but the first of consecutive elements in the vector that resolve to the same\nkey.

\n

If the vector is sorted, this removes all duplicates.

\n
§Examples
\n
let mut vec = vec![10, 20, 21, 30, 20];\n\nvec.dedup_by_key(|i| *i / 10);\n\nassert_eq!(vec, [10, 20, 30, 20]);
\n
1.16.0 · source

pub fn dedup_by<F>(&mut self, same_bucket: F)
where\n F: FnMut(&mut T, &mut T) -> bool,

Removes all but the first of consecutive elements in the vector satisfying a given equality\nrelation.

\n

The same_bucket function is passed references to two elements from the vector and\nmust determine if the elements compare equal. The elements are passed in opposite order\nfrom their order in the slice, so if same_bucket(a, b) returns true, a is removed.

\n

If the vector is sorted, this removes all duplicates.

\n
§Examples
\n
let mut vec = vec![\"foo\", \"bar\", \"Bar\", \"baz\", \"bar\"];\n\nvec.dedup_by(|a, b| a.eq_ignore_ascii_case(b));\n\nassert_eq!(vec, [\"foo\", \"bar\", \"baz\", \"bar\"]);
\n
1.0.0 · source

pub fn push(&mut self, value: T)

Appends an element to the back of a collection.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
let mut vec = vec![1, 2];\nvec.push(3);\nassert_eq!(vec, [1, 2, 3]);
\n
§Time complexity
\n

Takes amortized O(1) time. If the vector’s length would exceed its\ncapacity after the push, O(capacity) time is taken to copy the\nvector’s elements to a larger allocation. This expensive operation is\noffset by the capacity O(1) insertions it allows.

\n
source

pub fn push_within_capacity(&mut self, value: T) -> Result<(), T>

🔬This is a nightly-only experimental API. (vec_push_within_capacity)

Appends an element if there is sufficient spare capacity, otherwise an error is returned\nwith the element.

\n

Unlike push this method will not reallocate when there’s insufficient capacity.\nThe caller should use reserve or try_reserve to ensure that there is enough capacity.

\n
§Examples
\n

A manual, panic-free alternative to FromIterator:

\n\n
#![feature(vec_push_within_capacity)]\n\nuse std::collections::TryReserveError;\nfn from_iter_fallible<T>(iter: impl Iterator<Item=T>) -> Result<Vec<T>, TryReserveError> {\n    let mut vec = Vec::new();\n    for value in iter {\n        if let Err(value) = vec.push_within_capacity(value) {\n            vec.try_reserve(1)?;\n            // this cannot fail, the previous line either returned or added at least 1 free slot\n            let _ = vec.push_within_capacity(value);\n        }\n    }\n    Ok(vec)\n}\nassert_eq!(from_iter_fallible(0..100), Ok(Vec::from_iter(0..100)));
\n
§Time complexity
\n

Takes O(1) time.

\n
1.0.0 · source

pub fn pop(&mut self) -> Option<T>

Removes the last element from a vector and returns it, or None if it\nis empty.

\n

If you’d like to pop the first element, consider using\nVecDeque::pop_front instead.

\n
§Examples
\n
let mut vec = vec![1, 2, 3];\nassert_eq!(vec.pop(), Some(3));\nassert_eq!(vec, [1, 2]);
\n
§Time complexity
\n

Takes O(1) time.

\n
source

pub fn pop_if<F>(&mut self, f: F) -> Option<T>
where\n F: FnOnce(&mut T) -> bool,

🔬This is a nightly-only experimental API. (vec_pop_if)

Removes and returns the last element in a vector if the predicate\nreturns true, or None if the predicate returns false or the vector\nis empty.

\n
§Examples
\n
#![feature(vec_pop_if)]\n\nlet mut vec = vec![1, 2, 3, 4];\nlet pred = |x: &mut i32| *x % 2 == 0;\n\nassert_eq!(vec.pop_if(pred), Some(4));\nassert_eq!(vec, [1, 2, 3]);\nassert_eq!(vec.pop_if(pred), None);
\n
1.4.0 · source

pub fn append(&mut self, other: &mut Vec<T, A>)

Moves all the elements of other into self, leaving other empty.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
let mut vec = vec![1, 2, 3];\nlet mut vec2 = vec![4, 5, 6];\nvec.append(&mut vec2);\nassert_eq!(vec, [1, 2, 3, 4, 5, 6]);\nassert_eq!(vec2, []);
\n
1.6.0 · source

pub fn drain<R>(&mut self, range: R) -> Drain<'_, T, A>
where\n R: RangeBounds<usize>,

Removes the specified range from the vector in bulk, returning all\nremoved elements as an iterator. If the iterator is dropped before\nbeing fully consumed, it drops the remaining removed elements.

\n

The returned iterator keeps a mutable borrow on the vector to optimize\nits implementation.

\n
§Panics
\n

Panics if the starting point is greater than the end point or if\nthe end point is greater than the length of the vector.

\n
§Leaking
\n

If the returned iterator goes out of scope without being dropped (due to\nmem::forget, for example), the vector may have lost and leaked\nelements arbitrarily, including elements outside the range.

\n
§Examples
\n
let mut v = vec![1, 2, 3];\nlet u: Vec<_> = v.drain(1..).collect();\nassert_eq!(v, &[1]);\nassert_eq!(u, &[2, 3]);\n\n// A full range clears the vector, like `clear()` does\nv.drain(..);\nassert_eq!(v, &[]);
\n
1.0.0 · source

pub fn clear(&mut self)

Clears the vector, removing all values.

\n

Note that this method has no effect on the allocated capacity\nof the vector.

\n
§Examples
\n
let mut v = vec![1, 2, 3];\n\nv.clear();\n\nassert!(v.is_empty());
\n
1.0.0 · source

pub fn len(&self) -> usize

Returns the number of elements in the vector, also referred to\nas its ‘length’.

\n
§Examples
\n
let a = vec![1, 2, 3];\nassert_eq!(a.len(), 3);
\n
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if the vector contains no elements.

\n
§Examples
\n
let mut v = Vec::new();\nassert!(v.is_empty());\n\nv.push(1);\nassert!(!v.is_empty());
\n
1.4.0 · source

pub fn split_off(&mut self, at: usize) -> Vec<T, A>
where\n A: Clone,

Splits the collection into two at the given index.

\n

Returns a newly allocated vector containing the elements in the range\n[at, len). After the call, the original vector will be left containing\nthe elements [0, at) with its previous capacity unchanged.

\n
    \n
  • If you want to take ownership of the entire contents and capacity of\nthe vector, see mem::take or mem::replace.
  • \n
  • If you don’t need the returned vector at all, see Vec::truncate.
  • \n
  • If you want to take ownership of an arbitrary subslice, or you don’t\nnecessarily want to store the removed items in a vector, see Vec::drain.
  • \n
\n
§Panics
\n

Panics if at > len.

\n
§Examples
\n
let mut vec = vec![1, 2, 3];\nlet vec2 = vec.split_off(1);\nassert_eq!(vec, [1]);\nassert_eq!(vec2, [2, 3]);
\n
1.33.0 · source

pub fn resize_with<F>(&mut self, new_len: usize, f: F)
where\n F: FnMut() -> T,

Resizes the Vec in-place so that len is equal to new_len.

\n

If new_len is greater than len, the Vec is extended by the\ndifference, with each additional slot filled with the result of\ncalling the closure f. The return values from f will end up\nin the Vec in the order they have been generated.

\n

If new_len is less than len, the Vec is simply truncated.

\n

This method uses a closure to create new values on every push. If\nyou’d rather Clone a given value, use Vec::resize. If you\nwant to use the Default trait to generate values, you can\npass Default::default as the second argument.

\n
§Examples
\n
let mut vec = vec![1, 2, 3];\nvec.resize_with(5, Default::default);\nassert_eq!(vec, [1, 2, 3, 0, 0]);\n\nlet mut vec = vec![];\nlet mut p = 1;\nvec.resize_with(4, || { p *= 2; p });\nassert_eq!(vec, [2, 4, 8, 16]);
\n
1.47.0 · source

pub fn leak<'a>(self) -> &'a mut [T]
where\n A: 'a,

Consumes and leaks the Vec, returning a mutable reference to the contents,\n&'a mut [T].

\n

Note that the type T must outlive the chosen lifetime 'a. If the type\nhas only static references, or none at all, then this may be chosen to be\n'static.

\n

As of Rust 1.57, this method does not reallocate or shrink the Vec,\nso the leaked allocation may include unused capacity that is not part\nof the returned slice.

\n

This function is mainly useful for data that lives for the remainder of\nthe program’s life. Dropping the returned reference will cause a memory\nleak.

\n
§Examples
\n

Simple usage:

\n\n
let x = vec![1, 2, 3];\nlet static_ref: &'static mut [usize] = x.leak();\nstatic_ref[0] += 1;\nassert_eq!(static_ref, &[2, 2, 3]);
\n
1.60.0 · source

pub fn spare_capacity_mut(&mut self) -> &mut [MaybeUninit<T>]

Returns the remaining spare capacity of the vector as a slice of\nMaybeUninit<T>.

\n

The returned slice can be used to fill the vector with data (e.g. by\nreading from a file) before marking the data as initialized using the\nset_len method.

\n
§Examples
\n
// Allocate vector big enough for 10 elements.\nlet mut v = Vec::with_capacity(10);\n\n// Fill in the first 3 elements.\nlet uninit = v.spare_capacity_mut();\nuninit[0].write(0);\nuninit[1].write(1);\nuninit[2].write(2);\n\n// Mark the first 3 elements of the vector as being initialized.\nunsafe {\n    v.set_len(3);\n}\n\nassert_eq!(&v, &[0, 1, 2]);
\n
source

pub fn split_at_spare_mut(&mut self) -> (&mut [T], &mut [MaybeUninit<T>])

🔬This is a nightly-only experimental API. (vec_split_at_spare)

Returns vector content as a slice of T, along with the remaining spare\ncapacity of the vector as a slice of MaybeUninit<T>.

\n

The returned spare capacity slice can be used to fill the vector with data\n(e.g. by reading from a file) before marking the data as initialized using\nthe set_len method.

\n

Note that this is a low-level API, which should be used with care for\noptimization purposes. If you need to append data to a Vec\nyou can use push, extend, extend_from_slice,\nextend_from_within, insert, append, resize or\nresize_with, depending on your exact needs.

\n
§Examples
\n
#![feature(vec_split_at_spare)]\n\nlet mut v = vec![1, 1, 2];\n\n// Reserve additional space big enough for 10 elements.\nv.reserve(10);\n\nlet (init, uninit) = v.split_at_spare_mut();\nlet sum = init.iter().copied().sum::<u32>();\n\n// Fill in the next 4 elements.\nuninit[0].write(sum);\nuninit[1].write(sum * 2);\nuninit[2].write(sum * 3);\nuninit[3].write(sum * 4);\n\n// Mark the 4 elements of the vector as being initialized.\nunsafe {\n    let len = v.len();\n    v.set_len(len + 4);\n}\n\nassert_eq!(&v, &[1, 1, 2, 4, 8, 12, 16]);
\n
",0,"vortex_file::read::MessageId"],["
§

impl<T> VecAllocExt for Vec<T>

§

type T = T

Item type.
§

fn allocated_size(&self) -> usize

Return the amount of memory allocated by this Vec (not\nrecursively counting any heap allocations contained within the\nstructure). Does not include the size of self
","VecAllocExt","vortex_file::read::MessageId"],["
§

impl<T> VecAllocExt for Vec<T>

§

type T = T

Item type.
§

fn push_accounted(\n &mut self,\n x: <Vec<T> as VecAllocExt>::T,\n accounting: &mut usize,\n)

Push new element to vector and increase\naccounting by any newly allocated bytes. Read more
§

fn allocated_size(&self) -> usize

Return the amount of memory allocated by this Vec to store elements\n(size_of<T> * capacity). Read more
","VecAllocExt","vortex_file::read::MessageId"],["
§

impl<T> Visit for Vec<T>
where\n T: Visit,

§

fn visit<V>(&self, visitor: &mut V) -> ControlFlow<<V as Visitor>::Break>
where\n V: Visitor,

","Visit","vortex_file::read::MessageId"],["
§

impl<T> VisitMut for Vec<T>
where\n T: VisitMut,

§

fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>
where\n V: VisitorMut,

","VisitMut","vortex_file::read::MessageId"],["
§

impl Write16 for Vec<u16>

§

fn write_slice(&mut self, s: &[u16]) -> Result<(), Error>

Write a slice containing UTF-16 to the sink. Read more
§

fn write_char(&mut self, c: char) -> Result<(), Error>

Write a Unicode scalar value to the sink.
§

fn size_hint(&mut self, upcoming: usize) -> Result<(), Error>

A hint that the caller expects to write upcoming UTF-16\ncode units. The implementation must not assume upcoming\nto be exact. The caller may write more or fewer code units\nusing write_slice() and write_char(). However, the\ncaller should try to give reasonable estimates if it uses\nthis method. Read more
","Write16","vortex_file::read::MessageId"],["
§

impl<'a, T> Yokeable<'a> for Vec<T>
where\n T: 'static,

§

type Output = Vec<T>

This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
§

fn transform(&'a self) -> &'a Vec<T>

This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
§

fn transform_owned(self) -> Vec<T>

This method must cast self between Self<'static> and Self<'a>. Read more
§

unsafe fn make(from: Vec<T>) -> Vec<T>

This method can be used to cast away Self<'a>’s lifetime. Read more
§

fn transform_mut<F>(&'a mut self, f: F)
where\n F: 'static + for<'b> FnOnce(&'b mut <Vec<T> as Yokeable<'a>>::Output),

This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>,\nand pass it to f. Read more
","Yokeable<'a>","vortex_file::read::MessageId"],["
§

impl<Z> Zeroize for Vec<Z>
where\n Z: Zeroize,

§

fn zeroize(&mut self)

“Best effort” zeroization for Vec.

\n

Ensures the entire capacity of the Vec is zeroed. Cannot ensure that\nprevious reallocations did not leave values on the heap.

\n
","Zeroize","vortex_file::read::MessageId"],["
source§

impl<T, A> DerefPure for Vec<T, A>
where\n A: Allocator,

","DerefPure","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Eq for Vec<T, A>
where\n T: Eq,\n A: Allocator,

","Eq","vortex_file::read::MessageId"],["
§

impl<T> StableDeref for Vec<T>

","StableDeref","vortex_file::read::MessageId"],["
§

impl<Z> ZeroizeOnDrop for Vec<Z>
where\n Z: ZeroizeOnDrop,

","ZeroizeOnDrop","vortex_file::read::MessageId"]]]]); + var type_impls = Object.fromEntries([["vortex_file",[["
§

impl<'a, A> Arbitrary<'a> for Vec<A>
where\n A: Arbitrary<'a>,

§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Vec<A>, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Vec<A>, Error>

Generate an arbitrary value of Self from the entirety of the given\nunstructured data. Read more
§

fn size_hint(_depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type\nneeds to construct itself. Read more
§

fn try_size_hint(\n depth: usize,\n) -> Result<(usize, Option<usize>), MaxRecursionReached>

Get a size hint for how many bytes out of an Unstructured this type\nneeds to construct itself. Read more
","Arbitrary<'a>","vortex_file::read::MessageId"],["
§

impl<T> ArrayLike for Vec<T>

§

type Item = T

Type of the elements being stored.
","ArrayLike","vortex_file::read::MessageId"],["
1.5.0 · source§

impl<T, A> AsMut<[T]> for Vec<T, A>
where\n A: Allocator,

source§

fn as_mut(&mut self) -> &mut [T]

Converts this type into a mutable reference of the (usually inferred) input type.
","AsMut<[T]>","vortex_file::read::MessageId"],["
1.5.0 · source§

impl<T, A> AsMut<Vec<T, A>> for Vec<T, A>
where\n A: Allocator,

source§

fn as_mut(&mut self) -> &mut Vec<T, A>

Converts this type into a mutable reference of the (usually inferred) input type.
","AsMut>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> AsRef<[T]> for Vec<T, A>
where\n A: Allocator,

source§

fn as_ref(&self) -> &[T]

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef<[T]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> AsRef<Vec<T, A>> for Vec<T, A>
where\n A: Allocator,

source§

fn as_ref(&self) -> &Vec<T, A>

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef>","vortex_file::read::MessageId"],["
§

impl<T> AsRef<ZeroSlice<T>> for Vec<<T as AsULE>::ULE>
where\n T: AsULE,

§

fn as_ref(&self) -> &ZeroSlice<T>

Converts this type into a shared reference of the (usually inferred) input type.
","AsRef>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Borrow<[T]> for Vec<T, A>
where\n A: Allocator,

source§

fn borrow(&self) -> &[T]

Immutably borrows from an owned value. Read more
","Borrow<[T]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> BorrowMut<[T]> for Vec<T, A>
where\n A: Allocator,

source§

fn borrow_mut(&mut self) -> &mut [T]

Mutably borrows from an owned value. Read more
","BorrowMut<[T]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Clone for Vec<T, A>
where\n T: Clone,\n A: Allocator + Clone,

source§

fn clone_from(&mut self, source: &Vec<T, A>)

Overwrites the contents of self with a clone of the contents of source.

\n

This method is preferred over simply assigning source.clone() to self,\nas it avoids reallocation if possible. Additionally, if the element type\nT overrides clone_from(), this will reuse the resources of self’s\nelements as well.

\n
§Examples
\n
let x = vec![5, 6, 7];\nlet mut y = vec![8, 9, 10];\nlet yp: *const i32 = y.as_ptr();\n\ny.clone_from(&x);\n\n// The value is the same\nassert_eq!(x, y);\n\n// And no reallocation occurred\nassert_eq!(yp, y.as_ptr());
\n
source§

fn clone(&self) -> Vec<T, A>

Returns a copy of the value. Read more
","Clone","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Debug for Vec<T, A>
where\n T: Debug,\n A: Allocator,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
","Debug","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T> Default for Vec<T>

source§

fn default() -> Vec<T>

Creates an empty Vec<T>.

\n

The vector will not allocate until elements are pushed onto it.

\n
","Default","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Deref for Vec<T, A>
where\n A: Allocator,

source§

type Target = [T]

The resulting type after dereferencing.
source§

fn deref(&self) -> &[T]

Dereferences the value.
","Deref","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> DerefMut for Vec<T, A>
where\n A: Allocator,

source§

fn deref_mut(&mut self) -> &mut [T]

Mutably dereferences the value.
","DerefMut","vortex_file::read::MessageId"],["
source§

impl<'de, T> Deserialize<'de> for Vec<T>
where\n T: Deserialize<'de>,

source§

fn deserialize<D>(\n deserializer: D,\n) -> Result<Vec<T>, <D as Deserializer<'de>>::Error>
where\n D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
","Deserialize<'de>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Drop for Vec<T, A>
where\n A: Allocator,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
","Drop","vortex_file::read::MessageId"],["
§

impl<T> EncodeAsVarULE<[T]> for Vec<T>
where\n T: ULE,

§

fn encode_var_ule_as_slices<R>(&self, cb: impl FnOnce(&[&[u8]]) -> R) -> R

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

Return the length, in bytes, of the corresponding [VarULE] type
§

fn encode_var_ule_write(&self, dst: &mut [u8])

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE<[T]>","vortex_file::read::MessageId"],["
§

impl<T, E, F> EncodeAsVarULE<VarZeroSlice<T, F>> for Vec<E>
where\n T: VarULE + ?Sized,\n E: EncodeAsVarULE<T>,\n F: VarZeroVecFormat,

§

fn encode_var_ule_as_slices<R>(&self, _: impl FnOnce(&[&[u8]]) -> R) -> R

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

Return the length, in bytes, of the corresponding [VarULE] type
§

fn encode_var_ule_write(&self, dst: &mut [u8])

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE>","vortex_file::read::MessageId"],["
§

impl<T> EncodeAsVarULE<ZeroSlice<T>> for Vec<T>
where\n T: AsULE + 'static,

§

fn encode_var_ule_as_slices<R>(&self, _: impl FnOnce(&[&[u8]]) -> R) -> R

Calls cb with a piecewise list of byte slices that when concatenated\nproduce the memory pattern of the corresponding instance of T. Read more
§

fn encode_var_ule_len(&self) -> usize

Return the length, in bytes, of the corresponding [VarULE] type
§

fn encode_var_ule_write(&self, dst: &mut [u8])

Write the corresponding [VarULE] type to the dst buffer. dst should\nbe the size of [Self::encode_var_ule_len()]
","EncodeAsVarULE>","vortex_file::read::MessageId"],["
1.2.0 · source§

impl<'a, T, A> Extend<&'a T> for Vec<T, A>
where\n T: Copy + 'a,\n A: Allocator,

Extend implementation that copies elements out of references before pushing them onto the Vec.

\n

This implementation is specialized for slice iterators, where it uses copy_from_slice to\nappend the entire slice at once.

\n
source§

fn extend<I>(&mut self, iter: I)
where\n I: IntoIterator<Item = &'a T>,

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, _: &'a T)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
","Extend<&'a T>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Extend<T> for Vec<T, A>
where\n A: Allocator,

source§

fn extend<I>(&mut self, iter: I)
where\n I: IntoIterator<Item = T>,

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: T)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
","Extend","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T> From<&[T]> for Vec<T>
where\n T: Clone,

source§

fn from(s: &[T]) -> Vec<T>

Allocates a Vec<T> and fills it by cloning s’s items.

\n
§Examples
\n
assert_eq!(Vec::from(&[1, 2, 3][..]), vec![1, 2, 3]);
\n
","From<&[T]>","vortex_file::read::MessageId"],["
1.74.0 · source§

impl<T, const N: usize> From<&[T; N]> for Vec<T>
where\n T: Clone,

source§

fn from(s: &[T; N]) -> Vec<T>

Allocates a Vec<T> and fills it by cloning s’s items.

\n
§Examples
\n
assert_eq!(Vec::from(&[1, 2, 3]), vec![1, 2, 3]);
\n
","From<&[T; N]>","vortex_file::read::MessageId"],["
1.19.0 · source§

impl<T> From<&mut [T]> for Vec<T>
where\n T: Clone,

source§

fn from(s: &mut [T]) -> Vec<T>

Allocates a Vec<T> and fills it by cloning s’s items.

\n
§Examples
\n
assert_eq!(Vec::from(&mut [1, 2, 3][..]), vec![1, 2, 3]);
\n
","From<&mut [T]>","vortex_file::read::MessageId"],["
1.74.0 · source§

impl<T, const N: usize> From<&mut [T; N]> for Vec<T>
where\n T: Clone,

source§

fn from(s: &mut [T; N]) -> Vec<T>

Allocates a Vec<T> and fills it by cloning s’s items.

\n
§Examples
\n
assert_eq!(Vec::from(&mut [1, 2, 3]), vec![1, 2, 3]);
\n
","From<&mut [T; N]>","vortex_file::read::MessageId"],["
1.44.0 · source§

impl<T, const N: usize> From<[T; N]> for Vec<T>

source§

fn from(s: [T; N]) -> Vec<T>

Allocates a Vec<T> and moves s’s items into it.

\n
§Examples
\n
assert_eq!(Vec::from([1, 2, 3]), vec![1, 2, 3]);
\n
","From<[T; N]>","vortex_file::read::MessageId"],["
1.5.0 · source§

impl<T, A> From<BinaryHeap<T, A>> for Vec<T, A>
where\n A: Allocator,

source§

fn from(heap: BinaryHeap<T, A>) -> Vec<T, A>

Converts a BinaryHeap<T> into a Vec<T>.

\n

This conversion requires no data movement or allocation, and has\nconstant time complexity.

\n
","From>","vortex_file::read::MessageId"],["
1.18.0 · source§

impl<T, A> From<Box<[T], A>> for Vec<T, A>
where\n A: Allocator,

source§

fn from(s: Box<[T], A>) -> Vec<T, A>

Converts a boxed slice into a vector by transferring ownership of\nthe existing heap allocation.

\n
§Examples
\n
let b: Box<[i32]> = vec![1, 2, 3].into_boxed_slice();\nassert_eq!(Vec::from(b), vec![1, 2, 3]);
\n
","From>","vortex_file::read::MessageId"],["
1.14.0 · source§

impl<'a, T> From<Cow<'a, [T]>> for Vec<T>
where\n [T]: ToOwned<Owned = Vec<T>>,

source§

fn from(s: Cow<'a, [T]>) -> Vec<T>

Converts a clone-on-write slice into a vector.

\n

If s already owns a Vec<T>, it will be returned directly.\nIf s is borrowing a slice, a new Vec<T> will be allocated and\nfilled by cloning s’s items into it.

\n
§Examples
\n
let o: Cow<'_, [i32]> = Cow::Owned(vec![1, 2, 3]);\nlet b: Cow<'_, [i32]> = Cow::Borrowed(&[1, 2, 3]);\nassert_eq!(Vec::from(o), Vec::from(b));
\n
","From>","vortex_file::read::MessageId"],["
§

impl<T> From<ScalarBuffer<T>> for Vec<T>
where\n T: ArrowNativeType,

§

fn from(value: ScalarBuffer<T>) -> Vec<T>

Converts to this type from the input type.
","From>","vortex_file::read::MessageId"],["
1.10.0 · source§

impl<T, A> From<VecDeque<T, A>> for Vec<T, A>
where\n A: Allocator,

source§

fn from(other: VecDeque<T, A>) -> Vec<T, A>

Turn a VecDeque<T> into a Vec<T>.

\n

This never needs to re-allocate, but does need to do O(n) data movement if\nthe circular buffer doesn’t happen to be at the beginning of the allocation.

\n
§Examples
\n
use std::collections::VecDeque;\n\n// This one is *O*(1).\nlet deque: VecDeque<_> = (1..5).collect();\nlet ptr = deque.as_slices().0.as_ptr();\nlet vec = Vec::from(deque);\nassert_eq!(vec, [1, 2, 3, 4]);\nassert_eq!(vec.as_ptr(), ptr);\n\n// This one needs data rearranging.\nlet mut deque: VecDeque<_> = (1..5).collect();\ndeque.push_front(9);\ndeque.push_front(8);\nlet ptr = deque.as_slices().1.as_ptr();\nlet vec = Vec::from(deque);\nassert_eq!(vec, [8, 9, 1, 2, 3, 4]);\nassert_eq!(vec.as_ptr(), ptr);
\n
","From>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T> FromIterator<T> for Vec<T>

Collects an iterator into a Vec, commonly called via Iterator::collect()

\n

§Allocation behavior

\n

In general Vec does not guarantee any particular growth or allocation strategy.\nThat also applies to this trait impl.

\n

Note: This section covers implementation details and is therefore exempt from\nstability guarantees.

\n

Vec may use any or none of the following strategies,\ndepending on the supplied iterator:

\n
    \n
  • preallocate based on Iterator::size_hint()\n
      \n
    • and panic if the number of items is outside the provided lower/upper bounds
    • \n
    \n
  • \n
  • use an amortized growth strategy similar to pushing one item at a time
  • \n
  • perform the iteration in-place on the original allocation backing the iterator
  • \n
\n

The last case warrants some attention. It is an optimization that in many cases reduces peak memory\nconsumption and improves cache locality. But when big, short-lived allocations are created,\nonly a small fraction of their items get collected, no further use is made of the spare capacity\nand the resulting Vec is moved into a longer-lived structure, then this can lead to the large\nallocations having their lifetimes unnecessarily extended which can result in increased memory\nfootprint.

\n

In cases where this is an issue, the excess capacity can be discarded with Vec::shrink_to(),\nVec::shrink_to_fit() or by collecting into Box<[T]> instead, which additionally reduces\nthe size of the long-lived struct.

\n\n
static LONG_LIVED: Mutex<Vec<Vec<u16>>> = Mutex::new(Vec::new());\n\nfor i in 0..10 {\n    let big_temporary: Vec<u16> = (0..1024).collect();\n    // discard most items\n    let mut result: Vec<_> = big_temporary.into_iter().filter(|i| i % 100 == 0).collect();\n    // without this a lot of unused capacity might be moved into the global\n    result.shrink_to_fit();\n    LONG_LIVED.lock().unwrap().push(result);\n}
\n
source§

fn from_iter<I>(iter: I) -> Vec<T>
where\n I: IntoIterator<Item = T>,

Creates a value from an iterator. Read more
","FromIterator","vortex_file::read::MessageId"],["
§

impl<T> FromPyArrow for Vec<T>
where\n T: FromPyArrow,

§

fn from_pyarrow_bound(value: &Bound<'_, PyAny>) -> Result<Vec<T>, PyErr>

Convert a Python object to an arrow-rs type. Read more
","FromPyArrow","vortex_file::read::MessageId"],["
§

impl<'py, T> FromPyObject<'py> for Vec<T>
where\n T: FromPyObject<'py>,

§

fn extract_bound(obj: &Bound<'py, PyAny>) -> Result<Vec<T>, PyErr>

Extracts Self from the bound smart pointer obj. Read more
","FromPyObject<'py>","vortex_file::read::MessageId"],["
source§

impl<T> FromWasmAbi for Vec<T>
where\n Box<[T]>: FromWasmAbi<Abi = WasmSlice>,

source§

type Abi = <Box<[T]> as FromWasmAbi>::Abi

The Wasm ABI type that this converts from when coming back out from the\nABI boundary.
source§

unsafe fn from_abi(js: <Vec<T> as FromWasmAbi>::Abi) -> Vec<T>

Recover a Self from Self::Abi. Read more
","FromWasmAbi","vortex_file::read::MessageId"],["
source§

impl HalfBitsVecExt for Vec<u16>

source§

fn reinterpret_into<H>(self) -> Vec<H>
where\n H: SealedHalf,

Reinterprets a vector of u16 bits as a vector of [f16] or bf16 numbers. Read more
","HalfBitsVecExt","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Hash for Vec<T, A>
where\n T: Hash,\n A: Allocator,

The hash of a vector is the same as that of the corresponding slice,\nas required by the core::borrow::Borrow implementation.

\n\n
use std::hash::BuildHasher;\n\nlet b = std::hash::RandomState::new();\nlet v: Vec<u8> = vec![0xa8, 0x3c, 0x09];\nlet s: &[u8] = &[0xa8, 0x3c, 0x09];\nassert_eq!(b.hash_one(v), b.hash_one(s));
\n
source§

fn hash<H>(&self, state: &mut H)
where\n H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where\n H: Hasher,\n Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
","Hash","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, I, A> Index<I> for Vec<T, A>
where\n I: SliceIndex<[T]>,\n A: Allocator,

source§

type Output = <I as SliceIndex<[T]>>::Output

The returned type after indexing.
source§

fn index(&self, index: I) -> &<Vec<T, A> as Index<I>>::Output

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<PatternID> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: PatternID) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<PatternID> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: PatternID) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<SmallIndex> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: SmallIndex) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<SmallIndex> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: SmallIndex) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<StateID> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: StateID) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
§

impl<T> Index<StateID> for Vec<T>

§

type Output = T

The returned type after indexing.
§

fn index(&self, index: StateID) -> &T

Performs the indexing (container[index]) operation. Read more
","Index","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, I, A> IndexMut<I> for Vec<T, A>
where\n I: SliceIndex<[T]>,\n A: Allocator,

source§

fn index_mut(&mut self, index: I) -> &mut <Vec<T, A> as Index<I>>::Output

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<PatternID> for Vec<T>

§

fn index_mut(&mut self, index: PatternID) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<PatternID> for Vec<T>

§

fn index_mut(&mut self, index: PatternID) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<SmallIndex> for Vec<T>

§

fn index_mut(&mut self, index: SmallIndex) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<SmallIndex> for Vec<T>

§

fn index_mut(&mut self, index: SmallIndex) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<StateID> for Vec<T>

§

fn index_mut(&mut self, index: StateID) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> IndexMut<StateID> for Vec<T>

§

fn index_mut(&mut self, index: StateID) -> &mut T

Performs the mutable indexing (container[index]) operation. Read more
","IndexMut","vortex_file::read::MessageId"],["
§

impl<T> Indexable for Vec<T>

§

type Output = T

Output item
§

fn index(&self, n: usize) -> Option<&T>

Get the item with specific index.
","Indexable","vortex_file::read::MessageId"],["
§

impl<T> IndexableMut for Vec<T>

§

fn index_mut(&mut self, n: usize) -> Option<&mut T>

Get the mutable item with specific index.
","IndexableMut","vortex_file::read::MessageId"],["
§

impl<T> IntoArrayData for Vec<T>
where\n T: NativePType,

§

fn into_array(self) -> ArrayData

","IntoArrayData","vortex_file::read::MessageId"],["
source§

impl<'de, T, E> IntoDeserializer<'de, E> for Vec<T>
where\n T: IntoDeserializer<'de, E>,\n E: Error,

source§

type Deserializer = SeqDeserializer<<Vec<T> as IntoIterator>::IntoIter, E>

The type of the deserializer being converted into.
source§

fn into_deserializer(self) -> <Vec<T> as IntoDeserializer<'de, E>>::Deserializer

Convert this value into a deserializer.
","IntoDeserializer<'de, E>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> IntoIterator for Vec<T, A>
where\n A: Allocator,

source§

fn into_iter(self) -> <Vec<T, A> as IntoIterator>::IntoIter

Creates a consuming iterator, that is, one that moves each value out of\nthe vector (from start to end). The vector cannot be used after calling\nthis.

\n
§Examples
\n
let v = vec![\"a\".to_string(), \"b\".to_string()];\nlet mut v_iter = v.into_iter();\n\nlet first_element: Option<String> = v_iter.next();\n\nassert_eq!(first_element, Some(\"a\".to_string()));\nassert_eq!(v_iter.next(), Some(\"b\".to_string()));\nassert_eq!(v_iter.next(), None);
\n
source§

type Item = T

The type of the elements being iterated over.
source§

type IntoIter = IntoIter<T, A>

Which kind of iterator are we turning this into?
","IntoIterator","vortex_file::read::MessageId"],["
§

impl<T> IntoPy<Py<PyAny>> for Vec<T>
where\n T: IntoPy<Py<PyAny>>,

§

fn into_py(self, py: Python<'_>) -> Py<PyAny>

Performs the conversion.
","IntoPy>","vortex_file::read::MessageId"],["
source§

impl<T> IntoWasmAbi for Vec<T>
where\n Box<[T]>: IntoWasmAbi<Abi = WasmSlice>,

source§

type Abi = <Box<[T]> as IntoWasmAbi>::Abi

The Wasm ABI type that this converts into when crossing the ABI\nboundary.
source§

fn into_abi(self) -> <Vec<T> as IntoWasmAbi>::Abi

Convert self into Self::Abi so that it can be sent across the wasm\nABI boundary.
","IntoWasmAbi","vortex_file::read::MessageId"],["
§

impl<T> IoVectoredBuf for Vec<T>
where\n T: IoBuf,

§

type Buf = T

The buffer.
§

type OwnedIter = IndexedIter<Vec<T>>

The owned iterator that wraps Self.
§

fn iter_buf(&self) -> impl Iterator<Item = MaybeOwned<'_, T>>

An iterator over the buffers that’s either owned or borrowed with\n[MaybeOwned].
§

fn owned_iter(self) -> Result<<Vec<T> as IoVectoredBuf>::OwnedIter, Vec<T>>

Wrap self into an owned iterator.
§

unsafe fn io_slices(&self) -> Vec<IoSlice>

Collected [IoSlice]s of the buffers. Read more
","IoVectoredBuf","vortex_file::read::MessageId"],["
§

impl<T> IoVectoredBufMut for Vec<T>
where\n T: IoBufMut,

§

fn iter_buf_mut(\n &mut self,\n) -> impl Iterator<Item = MaybeOwnedMut<'_, <Vec<T> as IoVectoredBuf>::Buf>>

An iterator over the buffers that’s either owned or mutably borrowed\nwith [MaybeOwnedMut].
§

unsafe fn io_slices_mut(&mut self) -> Vec<IoSliceMut>

An iterator for the [IoSliceMut]s of the buffers. Read more
","IoVectoredBufMut","vortex_file::read::MessageId"],["
source§

impl<T> OptionFromWasmAbi for Vec<T>
where\n Box<[T]>: FromWasmAbi<Abi = WasmSlice>,

source§

fn is_none(abi: &WasmSlice) -> bool

Tests whether the argument is a “none” instance. If so it will be\ndeserialized as None, and otherwise it will be passed to\nFromWasmAbi.
","OptionFromWasmAbi","vortex_file::read::MessageId"],["
source§

impl<T> OptionIntoWasmAbi for Vec<T>
where\n Box<[T]>: IntoWasmAbi<Abi = WasmSlice>,

source§

fn none() -> WasmSlice

Returns an ABI instance indicating “none”, which JS will interpret as\nthe None branch of this option. Read more
","OptionIntoWasmAbi","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Ord for Vec<T, A>
where\n T: Ord,\n A: Allocator,

Implements ordering of vectors, lexicographically.

\n
source§

fn cmp(&self, other: &Vec<T, A>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where\n Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where\n Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
","Ord","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, U, A> PartialEq<&[U]> for Vec<T, A>
where\n A: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &&[U]) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &&[U]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<&[U]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, U, A, const N: usize> PartialEq<&[U; N]> for Vec<T, A>
where\n A: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &&[U; N]) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &&[U; N]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<&[U; N]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, U, A> PartialEq<&mut [U]> for Vec<T, A>
where\n A: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &&mut [U]) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &&mut [U]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<&mut [U]>","vortex_file::read::MessageId"],["
1.48.0 · source§

impl<T, U, A> PartialEq<[U]> for Vec<T, A>
where\n A: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &[U]) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &[U]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<[U]>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, U, A, const N: usize> PartialEq<[U; N]> for Vec<T, A>
where\n A: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &[U; N]) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &[U; N]) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq<[U; N]>","vortex_file::read::MessageId"],["
§

impl<T> PartialEq<ScalarBuffer<T>> for Vec<T>
where\n T: ArrowNativeType,

§

fn eq(&self, other: &ScalarBuffer<T>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, U, A1, A2> PartialEq<Vec<U, A2>> for Vec<T, A1>
where\n A1: Allocator,\n A2: Allocator,\n T: PartialEq<U>,

source§

fn eq(&self, other: &Vec<U, A2>) -> bool

Tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &Vec<U, A2>) -> bool

Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
","PartialEq>","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A1, A2> PartialOrd<Vec<T, A2>> for Vec<T, A1>
where\n T: PartialOrd,\n A1: Allocator,\n A2: Allocator,

Implements comparison of vectors, lexicographically.

\n
source§

fn partial_cmp(&self, other: &Vec<T, A2>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the >\noperator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
","PartialOrd>","vortex_file::read::MessageId"],["
§

impl ScalarType for Vec<u16>

§

fn dtype() -> DType

","ScalarType","vortex_file::read::MessageId"],["
source§

impl<T> Serialize for Vec<T>
where\n T: Serialize,

source§

fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where\n S: Serializer,

Serialize this value into the given Serde serializer. Read more
","Serialize","vortex_file::read::MessageId"],["
§

impl<T> SetBufInit for Vec<T>
where\n T: IoBufMut,

§

unsafe fn set_buf_init(&mut self, len: usize)

Set the buffer length. If len is less than the current length, nothing\nshould happen. Read more
","SetBufInit","vortex_file::read::MessageId"],["
§

impl<T> Sink<T> for Vec<T>

§

type Error = Infallible

The type of value produced by the sink when an error occurs.
§

fn poll_ready(\n self: Pin<&mut Vec<T>>,\n _: &mut Context<'_>,\n) -> Poll<Result<(), <Vec<T> as Sink<T>>::Error>>

Attempts to prepare the Sink to receive a value. Read more
§

fn start_send(\n self: Pin<&mut Vec<T>>,\n item: T,\n) -> Result<(), <Vec<T> as Sink<T>>::Error>

Begin the process of sending a value to the sink.\nEach call to this function must be preceded by a successful call to\npoll_ready which returned Poll::Ready(Ok(())). Read more
§

fn poll_flush(\n self: Pin<&mut Vec<T>>,\n _: &mut Context<'_>,\n) -> Poll<Result<(), <Vec<T> as Sink<T>>::Error>>

Flush any remaining output from this sink. Read more
§

fn poll_close(\n self: Pin<&mut Vec<T>>,\n _: &mut Context<'_>,\n) -> Poll<Result<(), <Vec<T> as Sink<T>>::Error>>

Flush any remaining output and close this sink, if necessary. Read more
","Sink","vortex_file::read::MessageId"],["
§

impl<T> ToPyArrow for Vec<T>
where\n T: ToPyArrow,

§

fn to_pyarrow(&self, py: Python<'_>) -> Result<Py<PyAny>, PyErr>

Convert the implemented type into a Python object without consuming it.
","ToPyArrow","vortex_file::read::MessageId"],["
§

impl<T> ToPyObject for Vec<T>
where\n T: ToPyObject,

§

fn to_object(&self, py: Python<'_>) -> Py<PyAny>

Converts self into a Python object.
","ToPyObject","vortex_file::read::MessageId"],["
§

impl<'a, T> TryFrom<&'a Scalar> for Vec<T>
where\n T: for<'b> TryFrom<&'b Scalar, Error = VortexError>,

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(\n value: &'a Scalar,\n) -> Result<Vec<T>, <Vec<T> as TryFrom<&'a Scalar>>::Error>

Performs the conversion.
","TryFrom<&'a Scalar>","vortex_file::read::MessageId"],["
source§

impl<T> Vec<T>

1.0.0 (const: 1.39.0) · source

pub const fn new() -> Vec<T>

Constructs a new, empty Vec<T>.

\n

The vector will not allocate until elements are pushed onto it.

\n
§Examples
\n
let mut vec: Vec<i32> = Vec::new();
\n
1.0.0 · source

pub fn with_capacity(capacity: usize) -> Vec<T>

Constructs a new, empty Vec<T> with at least the specified capacity.

\n

The vector will be able to hold at least capacity elements without\nreallocating. This method is allowed to allocate for more elements than\ncapacity. If capacity is 0, the vector will not allocate.

\n

It is important to note that although the returned vector has the\nminimum capacity specified, the vector will have a zero length. For\nan explanation of the difference between length and capacity, see\nCapacity and reallocation.

\n

If it is important to know the exact allocated capacity of a Vec,\nalways use the capacity method after construction.

\n

For Vec<T> where T is a zero-sized type, there will be no allocation\nand the capacity will always be usize::MAX.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
let mut vec = Vec::with_capacity(10);\n\n// The vector contains no items, even though it has capacity for more\nassert_eq!(vec.len(), 0);\nassert!(vec.capacity() >= 10);\n\n// These are all done without reallocating...\nfor i in 0..10 {\n    vec.push(i);\n}\nassert_eq!(vec.len(), 10);\nassert!(vec.capacity() >= 10);\n\n// ...but this may make the vector reallocate\nvec.push(11);\nassert_eq!(vec.len(), 11);\nassert!(vec.capacity() >= 11);\n\n// A vector of a zero-sized type will always over-allocate, since no\n// allocation is necessary\nlet vec_units = Vec::<()>::with_capacity(10);\nassert_eq!(vec_units.capacity(), usize::MAX);
\n
source

pub fn try_with_capacity(capacity: usize) -> Result<Vec<T>, TryReserveError>

🔬This is a nightly-only experimental API. (try_with_capacity)

Constructs a new, empty Vec<T> with at least the specified capacity.

\n

The vector will be able to hold at least capacity elements without\nreallocating. This method is allowed to allocate for more elements than\ncapacity. If capacity is 0, the vector will not allocate.

\n
§Errors
\n

Returns an error if the capacity exceeds isize::MAX bytes,\nor if the allocator reports allocation failure.

\n
1.0.0 · source

pub unsafe fn from_raw_parts(\n ptr: *mut T,\n length: usize,\n capacity: usize,\n) -> Vec<T>

Creates a Vec<T> directly from a pointer, a length, and a capacity.

\n
§Safety
\n

This is highly unsafe, due to the number of invariants that aren’t\nchecked:

\n
    \n
  • ptr must have been allocated using the global allocator, such as via\nthe alloc::alloc function.
  • \n
  • T needs to have the same alignment as what ptr was allocated with.\n(T having a less strict alignment is not sufficient, the alignment really\nneeds to be equal to satisfy the dealloc requirement that memory must be\nallocated and deallocated with the same layout.)
  • \n
  • The size of T times the capacity (ie. the allocated size in bytes) needs\nto be the same size as the pointer was allocated with. (Because similar to\nalignment, dealloc must be called with the same layout size.)
  • \n
  • length needs to be less than or equal to capacity.
  • \n
  • The first length values must be properly initialized values of type T.
  • \n
  • capacity needs to be the capacity that the pointer was allocated with.
  • \n
  • The allocated size in bytes must be no larger than isize::MAX.\nSee the safety documentation of pointer::offset.
  • \n
\n

These requirements are always upheld by any ptr that has been allocated\nvia Vec<T>. Other allocation sources are allowed if the invariants are\nupheld.

\n

Violating these may cause problems like corrupting the allocator’s\ninternal data structures. For example it is normally not safe\nto build a Vec<u8> from a pointer to a C char array with length\nsize_t, doing so is only safe if the array was initially allocated by\na Vec or String.\nIt’s also not safe to build one from a Vec<u16> and its length, because\nthe allocator cares about the alignment, and these two types have different\nalignments. The buffer was allocated with alignment 2 (for u16), but after\nturning it into a Vec<u8> it’ll be deallocated with alignment 1. To avoid\nthese issues, it is often preferable to do casting/transmuting using\nslice::from_raw_parts instead.

\n

The ownership of ptr is effectively transferred to the\nVec<T> which may then deallocate, reallocate or change the\ncontents of memory pointed to by the pointer at will. Ensure\nthat nothing else uses the pointer after calling this\nfunction.

\n
§Examples
\n
use std::ptr;\nuse std::mem;\n\nlet v = vec![1, 2, 3];\n\n// Prevent running `v`'s destructor so we are in complete control\n// of the allocation.\nlet mut v = mem::ManuallyDrop::new(v);\n\n// Pull out the various important pieces of information about `v`\nlet p = v.as_mut_ptr();\nlet len = v.len();\nlet cap = v.capacity();\n\nunsafe {\n    // Overwrite memory with 4, 5, 6\n    for i in 0..len {\n        ptr::write(p.add(i), 4 + i);\n    }\n\n    // Put everything back together into a Vec\n    let rebuilt = Vec::from_raw_parts(p, len, cap);\n    assert_eq!(rebuilt, [4, 5, 6]);\n}
\n

Using memory that was allocated elsewhere:

\n\n
use std::alloc::{alloc, Layout};\n\nfn main() {\n    let layout = Layout::array::<u32>(16).expect(\"overflow cannot happen\");\n\n    let vec = unsafe {\n        let mem = alloc(layout).cast::<u32>();\n        if mem.is_null() {\n            return;\n        }\n\n        mem.write(1_000_000);\n\n        Vec::from_raw_parts(mem, 1, 16)\n    };\n\n    assert_eq!(vec, &[1_000_000]);\n    assert_eq!(vec.capacity(), 16);\n}
\n
",0,"vortex_file::read::MessageId"],["
source§

impl<T, A> Vec<T, A>
where\n T: Clone,\n A: Allocator,

1.5.0 · source

pub fn resize(&mut self, new_len: usize, value: T)

Resizes the Vec in-place so that len is equal to new_len.

\n

If new_len is greater than len, the Vec is extended by the\ndifference, with each additional slot filled with value.\nIf new_len is less than len, the Vec is simply truncated.

\n

This method requires T to implement Clone,\nin order to be able to clone the passed value.\nIf you need more flexibility (or want to rely on Default instead of\nClone), use Vec::resize_with.\nIf you only need to resize to a smaller size, use Vec::truncate.

\n
§Examples
\n
let mut vec = vec![\"hello\"];\nvec.resize(3, \"world\");\nassert_eq!(vec, [\"hello\", \"world\", \"world\"]);\n\nlet mut vec = vec![1, 2, 3, 4];\nvec.resize(2, 0);\nassert_eq!(vec, [1, 2]);
\n
1.6.0 · source

pub fn extend_from_slice(&mut self, other: &[T])

Clones and appends all elements in a slice to the Vec.

\n

Iterates over the slice other, clones each element, and then appends\nit to this Vec. The other slice is traversed in-order.

\n

Note that this function is same as extend except that it is\nspecialized to work with slices instead. If and when Rust gets\nspecialization this function will likely be deprecated (but still\navailable).

\n
§Examples
\n
let mut vec = vec![1];\nvec.extend_from_slice(&[2, 3, 4]);\nassert_eq!(vec, [1, 2, 3, 4]);
\n
1.53.0 · source

pub fn extend_from_within<R>(&mut self, src: R)
where\n R: RangeBounds<usize>,

Copies elements from src range to the end of the vector.

\n
§Panics
\n

Panics if the starting point is greater than the end point or if\nthe end point is greater than the length of the vector.

\n
§Examples
\n
let mut vec = vec![0, 1, 2, 3, 4];\n\nvec.extend_from_within(2..);\nassert_eq!(vec, [0, 1, 2, 3, 4, 2, 3, 4]);\n\nvec.extend_from_within(..2);\nassert_eq!(vec, [0, 1, 2, 3, 4, 2, 3, 4, 0, 1]);\n\nvec.extend_from_within(4..8);\nassert_eq!(vec, [0, 1, 2, 3, 4, 2, 3, 4, 0, 1, 4, 2, 3, 4]);
\n
",0,"vortex_file::read::MessageId"],["
source§

impl<T, A> Vec<T, A>
where\n T: PartialEq,\n A: Allocator,

1.0.0 · source

pub fn dedup(&mut self)

Removes consecutive repeated elements in the vector according to the\nPartialEq trait implementation.

\n

If the vector is sorted, this removes all duplicates.

\n
§Examples
\n
let mut vec = vec![1, 2, 2, 3, 2];\n\nvec.dedup();\n\nassert_eq!(vec, [1, 2, 3, 2]);
\n
",0,"vortex_file::read::MessageId"],["
source§

impl<T, A> Vec<T, A>
where\n A: Allocator,

1.21.0 · source

pub fn splice<R, I>(\n &mut self,\n range: R,\n replace_with: I,\n) -> Splice<'_, <I as IntoIterator>::IntoIter, A>
where\n R: RangeBounds<usize>,\n I: IntoIterator<Item = T>,

Creates a splicing iterator that replaces the specified range in the vector\nwith the given replace_with iterator and yields the removed items.\nreplace_with does not need to be the same length as range.

\n

range is removed even if the iterator is not consumed until the end.

\n

It is unspecified how many elements are removed from the vector\nif the Splice value is leaked.

\n

The input iterator replace_with is only consumed when the Splice value is dropped.

\n

This is optimal if:

\n
    \n
  • The tail (elements in the vector after range) is empty,
  • \n
  • or replace_with yields fewer or equal elements than range’s length
  • \n
  • or the lower bound of its size_hint() is exact.
  • \n
\n

Otherwise, a temporary vector is allocated and the tail is moved twice.

\n
§Panics
\n

Panics if the starting point is greater than the end point or if\nthe end point is greater than the length of the vector.

\n
§Examples
\n
let mut v = vec![1, 2, 3, 4];\nlet new = [7, 8, 9];\nlet u: Vec<_> = v.splice(1..3, new).collect();\nassert_eq!(v, &[1, 7, 8, 9, 4]);\nassert_eq!(u, &[2, 3]);
\n
source

pub fn extract_if<F>(&mut self, filter: F) -> ExtractIf<'_, T, F, A>
where\n F: FnMut(&mut T) -> bool,

🔬This is a nightly-only experimental API. (extract_if)

Creates an iterator which uses a closure to determine if an element should be removed.

\n

If the closure returns true, then the element is removed and yielded.\nIf the closure returns false, the element will remain in the vector and will not be yielded\nby the iterator.

\n

If the returned ExtractIf is not exhausted, e.g. because it is dropped without iterating\nor the iteration short-circuits, then the remaining elements will be retained.\nUse retain with a negated predicate if you do not need the returned iterator.

\n

Using this method is equivalent to the following code:

\n\n
let mut i = 0;\nwhile i < vec.len() {\n    if some_predicate(&mut vec[i]) {\n        let val = vec.remove(i);\n        // your code here\n    } else {\n        i += 1;\n    }\n}\n
\n

But extract_if is easier to use. extract_if is also more efficient,\nbecause it can backshift the elements of the array in bulk.

\n

Note that extract_if also lets you mutate every element in the filter closure,\nregardless of whether you choose to keep or remove it.

\n
§Examples
\n

Splitting an array into evens and odds, reusing the original allocation:

\n\n
#![feature(extract_if)]\nlet mut numbers = vec![1, 2, 3, 4, 5, 6, 8, 9, 11, 13, 14, 15];\n\nlet evens = numbers.extract_if(|x| *x % 2 == 0).collect::<Vec<_>>();\nlet odds = numbers;\n\nassert_eq!(evens, vec![2, 4, 6, 8, 14]);\nassert_eq!(odds, vec![1, 3, 5, 9, 11, 13, 15]);
\n
",0,"vortex_file::read::MessageId"],["
source§

impl<T, A> Vec<T, A>
where\n A: Allocator,

source

pub const fn new_in(alloc: A) -> Vec<T, A>

🔬This is a nightly-only experimental API. (allocator_api)

Constructs a new, empty Vec<T, A>.

\n

The vector will not allocate until elements are pushed onto it.

\n
§Examples
\n
#![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut vec: Vec<i32, _> = Vec::new_in(System);
\n
source

pub fn with_capacity_in(capacity: usize, alloc: A) -> Vec<T, A>

🔬This is a nightly-only experimental API. (allocator_api)

Constructs a new, empty Vec<T, A> with at least the specified capacity\nwith the provided allocator.

\n

The vector will be able to hold at least capacity elements without\nreallocating. This method is allowed to allocate for more elements than\ncapacity. If capacity is 0, the vector will not allocate.

\n

It is important to note that although the returned vector has the\nminimum capacity specified, the vector will have a zero length. For\nan explanation of the difference between length and capacity, see\nCapacity and reallocation.

\n

If it is important to know the exact allocated capacity of a Vec,\nalways use the capacity method after construction.

\n

For Vec<T, A> where T is a zero-sized type, there will be no allocation\nand the capacity will always be usize::MAX.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
#![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut vec = Vec::with_capacity_in(10, System);\n\n// The vector contains no items, even though it has capacity for more\nassert_eq!(vec.len(), 0);\nassert!(vec.capacity() >= 10);\n\n// These are all done without reallocating...\nfor i in 0..10 {\n    vec.push(i);\n}\nassert_eq!(vec.len(), 10);\nassert!(vec.capacity() >= 10);\n\n// ...but this may make the vector reallocate\nvec.push(11);\nassert_eq!(vec.len(), 11);\nassert!(vec.capacity() >= 11);\n\n// A vector of a zero-sized type will always over-allocate, since no\n// allocation is necessary\nlet vec_units = Vec::<(), System>::with_capacity_in(10, System);\nassert_eq!(vec_units.capacity(), usize::MAX);
\n
source

pub fn try_with_capacity_in(\n capacity: usize,\n alloc: A,\n) -> Result<Vec<T, A>, TryReserveError>

🔬This is a nightly-only experimental API. (allocator_api)

Constructs a new, empty Vec<T, A> with at least the specified capacity\nwith the provided allocator.

\n

The vector will be able to hold at least capacity elements without\nreallocating. This method is allowed to allocate for more elements than\ncapacity. If capacity is 0, the vector will not allocate.

\n
§Errors
\n

Returns an error if the capacity exceeds isize::MAX bytes,\nor if the allocator reports allocation failure.

\n
source

pub unsafe fn from_raw_parts_in(\n ptr: *mut T,\n length: usize,\n capacity: usize,\n alloc: A,\n) -> Vec<T, A>

🔬This is a nightly-only experimental API. (allocator_api)

Creates a Vec<T, A> directly from a pointer, a length, a capacity,\nand an allocator.

\n
§Safety
\n

This is highly unsafe, due to the number of invariants that aren’t\nchecked:

\n
    \n
  • ptr must be currently allocated via the given allocator alloc.
  • \n
  • T needs to have the same alignment as what ptr was allocated with.\n(T having a less strict alignment is not sufficient, the alignment really\nneeds to be equal to satisfy the dealloc requirement that memory must be\nallocated and deallocated with the same layout.)
  • \n
  • The size of T times the capacity (ie. the allocated size in bytes) needs\nto be the same size as the pointer was allocated with. (Because similar to\nalignment, dealloc must be called with the same layout size.)
  • \n
  • length needs to be less than or equal to capacity.
  • \n
  • The first length values must be properly initialized values of type T.
  • \n
  • capacity needs to fit the layout size that the pointer was allocated with.
  • \n
  • The allocated size in bytes must be no larger than isize::MAX.\nSee the safety documentation of pointer::offset.
  • \n
\n

These requirements are always upheld by any ptr that has been allocated\nvia Vec<T, A>. Other allocation sources are allowed if the invariants are\nupheld.

\n

Violating these may cause problems like corrupting the allocator’s\ninternal data structures. For example it is not safe\nto build a Vec<u8> from a pointer to a C char array with length size_t.\nIt’s also not safe to build one from a Vec<u16> and its length, because\nthe allocator cares about the alignment, and these two types have different\nalignments. The buffer was allocated with alignment 2 (for u16), but after\nturning it into a Vec<u8> it’ll be deallocated with alignment 1.

\n

The ownership of ptr is effectively transferred to the\nVec<T> which may then deallocate, reallocate or change the\ncontents of memory pointed to by the pointer at will. Ensure\nthat nothing else uses the pointer after calling this\nfunction.

\n
§Examples
\n
#![feature(allocator_api)]\n\nuse std::alloc::System;\n\nuse std::ptr;\nuse std::mem;\n\nlet mut v = Vec::with_capacity_in(3, System);\nv.push(1);\nv.push(2);\nv.push(3);\n\n// Prevent running `v`'s destructor so we are in complete control\n// of the allocation.\nlet mut v = mem::ManuallyDrop::new(v);\n\n// Pull out the various important pieces of information about `v`\nlet p = v.as_mut_ptr();\nlet len = v.len();\nlet cap = v.capacity();\nlet alloc = v.allocator();\n\nunsafe {\n    // Overwrite memory with 4, 5, 6\n    for i in 0..len {\n        ptr::write(p.add(i), 4 + i);\n    }\n\n    // Put everything back together into a Vec\n    let rebuilt = Vec::from_raw_parts_in(p, len, cap, alloc.clone());\n    assert_eq!(rebuilt, [4, 5, 6]);\n}
\n

Using memory that was allocated elsewhere:

\n\n
#![feature(allocator_api)]\n\nuse std::alloc::{AllocError, Allocator, Global, Layout};\n\nfn main() {\n    let layout = Layout::array::<u32>(16).expect(\"overflow cannot happen\");\n\n    let vec = unsafe {\n        let mem = match Global.allocate(layout) {\n            Ok(mem) => mem.cast::<u32>().as_ptr(),\n            Err(AllocError) => return,\n        };\n\n        mem.write(1_000_000);\n\n        Vec::from_raw_parts_in(mem, 1, 16, Global)\n    };\n\n    assert_eq!(vec, &[1_000_000]);\n    assert_eq!(vec.capacity(), 16);\n}
\n
source

pub fn into_raw_parts(self) -> (*mut T, usize, usize)

🔬This is a nightly-only experimental API. (vec_into_raw_parts)

Decomposes a Vec<T> into its raw components: (pointer, length, capacity).

\n

Returns the raw pointer to the underlying data, the length of\nthe vector (in elements), and the allocated capacity of the\ndata (in elements). These are the same arguments in the same\norder as the arguments to from_raw_parts.

\n

After calling this function, the caller is responsible for the\nmemory previously managed by the Vec. The only way to do\nthis is to convert the raw pointer, length, and capacity back\ninto a Vec with the from_raw_parts function, allowing\nthe destructor to perform the cleanup.

\n
§Examples
\n
#![feature(vec_into_raw_parts)]\nlet v: Vec<i32> = vec![-1, 0, 1];\n\nlet (ptr, len, cap) = v.into_raw_parts();\n\nlet rebuilt = unsafe {\n    // We can now make changes to the components, such as\n    // transmuting the raw pointer to a compatible type.\n    let ptr = ptr as *mut u32;\n\n    Vec::from_raw_parts(ptr, len, cap)\n};\nassert_eq!(rebuilt, [4294967295, 0, 1]);
\n
source

pub fn into_raw_parts_with_alloc(self) -> (*mut T, usize, usize, A)

🔬This is a nightly-only experimental API. (allocator_api)

Decomposes a Vec<T> into its raw components: (pointer, length, capacity, allocator).

\n

Returns the raw pointer to the underlying data, the length of the vector (in elements),\nthe allocated capacity of the data (in elements), and the allocator. These are the same\narguments in the same order as the arguments to from_raw_parts_in.

\n

After calling this function, the caller is responsible for the\nmemory previously managed by the Vec. The only way to do\nthis is to convert the raw pointer, length, and capacity back\ninto a Vec with the from_raw_parts_in function, allowing\nthe destructor to perform the cleanup.

\n
§Examples
\n
#![feature(allocator_api, vec_into_raw_parts)]\n\nuse std::alloc::System;\n\nlet mut v: Vec<i32, System> = Vec::new_in(System);\nv.push(-1);\nv.push(0);\nv.push(1);\n\nlet (ptr, len, cap, alloc) = v.into_raw_parts_with_alloc();\n\nlet rebuilt = unsafe {\n    // We can now make changes to the components, such as\n    // transmuting the raw pointer to a compatible type.\n    let ptr = ptr as *mut u32;\n\n    Vec::from_raw_parts_in(ptr, len, cap, alloc)\n};\nassert_eq!(rebuilt, [4294967295, 0, 1]);
\n
1.0.0 · source

pub fn capacity(&self) -> usize

Returns the total number of elements the vector can hold without\nreallocating.

\n
§Examples
\n
let mut vec: Vec<i32> = Vec::with_capacity(10);\nvec.push(42);\nassert!(vec.capacity() >= 10);
\n
1.0.0 · source

pub fn reserve(&mut self, additional: usize)

Reserves capacity for at least additional more elements to be inserted\nin the given Vec<T>. The collection may reserve more space to\nspeculatively avoid frequent reallocations. After calling reserve,\ncapacity will be greater than or equal to self.len() + additional.\nDoes nothing if capacity is already sufficient.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
let mut vec = vec![1];\nvec.reserve(10);\nassert!(vec.capacity() >= 11);
\n
1.0.0 · source

pub fn reserve_exact(&mut self, additional: usize)

Reserves the minimum capacity for at least additional more elements to\nbe inserted in the given Vec<T>. Unlike reserve, this will not\ndeliberately over-allocate to speculatively avoid frequent allocations.\nAfter calling reserve_exact, capacity will be greater than or equal to\nself.len() + additional. Does nothing if the capacity is already\nsufficient.

\n

Note that the allocator may give the collection more space than it\nrequests. Therefore, capacity can not be relied upon to be precisely\nminimal. Prefer reserve if future insertions are expected.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
let mut vec = vec![1];\nvec.reserve_exact(10);\nassert!(vec.capacity() >= 11);
\n
1.57.0 · source

pub fn try_reserve(&mut self, additional: usize) -> Result<(), TryReserveError>

Tries to reserve capacity for at least additional more elements to be inserted\nin the given Vec<T>. The collection may reserve more space to speculatively avoid\nfrequent reallocations. After calling try_reserve, capacity will be\ngreater than or equal to self.len() + additional if it returns\nOk(()). Does nothing if capacity is already sufficient. This method\npreserves the contents even if an error occurs.

\n
§Errors
\n

If the capacity overflows, or the allocator reports a failure, then an error\nis returned.

\n
§Examples
\n
use std::collections::TryReserveError;\n\nfn process_data(data: &[u32]) -> Result<Vec<u32>, TryReserveError> {\n    let mut output = Vec::new();\n\n    // Pre-reserve the memory, exiting if we can't\n    output.try_reserve(data.len())?;\n\n    // Now we know this can't OOM in the middle of our complex work\n    output.extend(data.iter().map(|&val| {\n        val * 2 + 5 // very complicated\n    }));\n\n    Ok(output)\n}
\n
1.57.0 · source

pub fn try_reserve_exact(\n &mut self,\n additional: usize,\n) -> Result<(), TryReserveError>

Tries to reserve the minimum capacity for at least additional\nelements to be inserted in the given Vec<T>. Unlike try_reserve,\nthis will not deliberately over-allocate to speculatively avoid frequent\nallocations. After calling try_reserve_exact, capacity will be greater\nthan or equal to self.len() + additional if it returns Ok(()).\nDoes nothing if the capacity is already sufficient.

\n

Note that the allocator may give the collection more space than it\nrequests. Therefore, capacity can not be relied upon to be precisely\nminimal. Prefer try_reserve if future insertions are expected.

\n
§Errors
\n

If the capacity overflows, or the allocator reports a failure, then an error\nis returned.

\n
§Examples
\n
use std::collections::TryReserveError;\n\nfn process_data(data: &[u32]) -> Result<Vec<u32>, TryReserveError> {\n    let mut output = Vec::new();\n\n    // Pre-reserve the memory, exiting if we can't\n    output.try_reserve_exact(data.len())?;\n\n    // Now we know this can't OOM in the middle of our complex work\n    output.extend(data.iter().map(|&val| {\n        val * 2 + 5 // very complicated\n    }));\n\n    Ok(output)\n}
\n
1.0.0 · source

pub fn shrink_to_fit(&mut self)

Shrinks the capacity of the vector as much as possible.

\n

The behavior of this method depends on the allocator, which may either shrink the vector\nin-place or reallocate. The resulting vector might still have some excess capacity, just as\nis the case for with_capacity. See Allocator::shrink for more details.

\n
§Examples
\n
let mut vec = Vec::with_capacity(10);\nvec.extend([1, 2, 3]);\nassert!(vec.capacity() >= 10);\nvec.shrink_to_fit();\nassert!(vec.capacity() >= 3);
\n
1.56.0 · source

pub fn shrink_to(&mut self, min_capacity: usize)

Shrinks the capacity of the vector with a lower bound.

\n

The capacity will remain at least as large as both the length\nand the supplied value.

\n

If the current capacity is less than the lower limit, this is a no-op.

\n
§Examples
\n
let mut vec = Vec::with_capacity(10);\nvec.extend([1, 2, 3]);\nassert!(vec.capacity() >= 10);\nvec.shrink_to(4);\nassert!(vec.capacity() >= 4);\nvec.shrink_to(0);\nassert!(vec.capacity() >= 3);
\n
1.0.0 · source

pub fn into_boxed_slice(self) -> Box<[T], A>

Converts the vector into Box<[T]>.

\n

Before doing the conversion, this method discards excess capacity like shrink_to_fit.

\n
§Examples
\n
let v = vec![1, 2, 3];\n\nlet slice = v.into_boxed_slice();
\n

Any excess capacity is removed:

\n\n
let mut vec = Vec::with_capacity(10);\nvec.extend([1, 2, 3]);\n\nassert!(vec.capacity() >= 10);\nlet slice = vec.into_boxed_slice();\nassert_eq!(slice.into_vec().capacity(), 3);
\n
1.0.0 · source

pub fn truncate(&mut self, len: usize)

Shortens the vector, keeping the first len elements and dropping\nthe rest.

\n

If len is greater or equal to the vector’s current length, this has\nno effect.

\n

The drain method can emulate truncate, but causes the excess\nelements to be returned instead of dropped.

\n

Note that this method has no effect on the allocated capacity\nof the vector.

\n
§Examples
\n

Truncating a five element vector to two elements:

\n\n
let mut vec = vec![1, 2, 3, 4, 5];\nvec.truncate(2);\nassert_eq!(vec, [1, 2]);
\n

No truncation occurs when len is greater than the vector’s current\nlength:

\n\n
let mut vec = vec![1, 2, 3];\nvec.truncate(8);\nassert_eq!(vec, [1, 2, 3]);
\n

Truncating when len == 0 is equivalent to calling the clear\nmethod.

\n\n
let mut vec = vec![1, 2, 3];\nvec.truncate(0);\nassert_eq!(vec, []);
\n
1.7.0 · source

pub fn as_slice(&self) -> &[T]

Extracts a slice containing the entire vector.

\n

Equivalent to &s[..].

\n
§Examples
\n
use std::io::{self, Write};\nlet buffer = vec![1, 2, 3, 5, 8];\nio::sink().write(buffer.as_slice()).unwrap();
\n
1.7.0 · source

pub fn as_mut_slice(&mut self) -> &mut [T]

Extracts a mutable slice of the entire vector.

\n

Equivalent to &mut s[..].

\n
§Examples
\n
use std::io::{self, Read};\nlet mut buffer = vec![0; 3];\nio::repeat(0b101).read_exact(buffer.as_mut_slice()).unwrap();
\n
1.37.0 · source

pub fn as_ptr(&self) -> *const T

Returns a raw pointer to the vector’s buffer, or a dangling raw pointer\nvalid for zero sized reads if the vector didn’t allocate.

\n

The caller must ensure that the vector outlives the pointer this\nfunction returns, or else it will end up dangling.\nModifying the vector may cause its buffer to be reallocated,\nwhich would also make any pointers to it invalid.

\n

The caller must also ensure that the memory the pointer (non-transitively) points to\nis never written to (except inside an UnsafeCell) using this pointer or any pointer\nderived from it. If you need to mutate the contents of the slice, use as_mut_ptr.

\n

This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying slice, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize mutable references to the slice,\nor mutable references to specific elements you are planning on accessing through this pointer,\nas well as writing to those elements, may still invalidate this pointer.\nSee the second example below for how this guarantee can be used.

\n
§Examples
\n
let x = vec![1, 2, 4];\nlet x_ptr = x.as_ptr();\n\nunsafe {\n    for i in 0..x.len() {\n        assert_eq!(*x_ptr.add(i), 1 << i);\n    }\n}
\n

Due to the aliasing guarantee, the following code is legal:

\n\n
unsafe {\n    let mut v = vec![0, 1, 2];\n    let ptr1 = v.as_ptr();\n    let _ = ptr1.read();\n    let ptr2 = v.as_mut_ptr().offset(2);\n    ptr2.write(2);\n    // Notably, the write to `ptr2` did *not* invalidate `ptr1`\n    // because it mutated a different element:\n    let _ = ptr1.read();\n}
\n
1.37.0 · source

pub fn as_mut_ptr(&mut self) -> *mut T

Returns a raw mutable pointer to the vector’s buffer, or a dangling\nraw pointer valid for zero sized reads if the vector didn’t allocate.

\n

The caller must ensure that the vector outlives the pointer this\nfunction returns, or else it will end up dangling.\nModifying the vector may cause its buffer to be reallocated,\nwhich would also make any pointers to it invalid.

\n

This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying slice, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize references to the slice,\nor references to specific elements you are planning on accessing through this pointer,\nmay still invalidate this pointer.\nSee the second example below for how this guarantee can be used.

\n
§Examples
\n
// Allocate vector big enough for 4 elements.\nlet size = 4;\nlet mut x: Vec<i32> = Vec::with_capacity(size);\nlet x_ptr = x.as_mut_ptr();\n\n// Initialize elements via raw pointer writes, then set length.\nunsafe {\n    for i in 0..size {\n        *x_ptr.add(i) = i as i32;\n    }\n    x.set_len(size);\n}\nassert_eq!(&*x, &[0, 1, 2, 3]);
\n

Due to the aliasing guarantee, the following code is legal:

\n\n
unsafe {\n    let mut v = vec![0];\n    let ptr1 = v.as_mut_ptr();\n    ptr1.write(1);\n    let ptr2 = v.as_mut_ptr();\n    ptr2.write(2);\n    // Notably, the write to `ptr2` did *not* invalidate `ptr1`:\n    ptr1.write(3);\n}
\n
source

pub fn allocator(&self) -> &A

🔬This is a nightly-only experimental API. (allocator_api)

Returns a reference to the underlying allocator.

\n
1.0.0 · source

pub unsafe fn set_len(&mut self, new_len: usize)

Forces the length of the vector to new_len.

\n

This is a low-level operation that maintains none of the normal\ninvariants of the type. Normally changing the length of a vector\nis done using one of the safe operations instead, such as\ntruncate, resize, extend, or clear.

\n
§Safety
\n
    \n
  • new_len must be less than or equal to capacity().
  • \n
  • The elements at old_len..new_len must be initialized.
  • \n
\n
§Examples
\n

This method can be useful for situations in which the vector\nis serving as a buffer for other code, particularly over FFI:

\n\n
pub fn get_dictionary(&self) -> Option<Vec<u8>> {\n    // Per the FFI method's docs, \"32768 bytes is always enough\".\n    let mut dict = Vec::with_capacity(32_768);\n    let mut dict_length = 0;\n    // SAFETY: When `deflateGetDictionary` returns `Z_OK`, it holds that:\n    // 1. `dict_length` elements were initialized.\n    // 2. `dict_length` <= the capacity (32_768)\n    // which makes `set_len` safe to call.\n    unsafe {\n        // Make the FFI call...\n        let r = deflateGetDictionary(self.strm, dict.as_mut_ptr(), &mut dict_length);\n        if r == Z_OK {\n            // ...and update the length to what was initialized.\n            dict.set_len(dict_length);\n            Some(dict)\n        } else {\n            None\n        }\n    }\n}
\n

While the following example is sound, there is a memory leak since\nthe inner vectors were not freed prior to the set_len call:

\n\n
let mut vec = vec![vec![1, 0, 0],\n                   vec![0, 1, 0],\n                   vec![0, 0, 1]];\n// SAFETY:\n// 1. `old_len..0` is empty so no elements need to be initialized.\n// 2. `0 <= capacity` always holds whatever `capacity` is.\nunsafe {\n    vec.set_len(0);\n}
\n

Normally, here, one would use clear instead to correctly drop\nthe contents and thus not leak memory.

\n
1.0.0 · source

pub fn swap_remove(&mut self, index: usize) -> T

Removes an element from the vector and returns it.

\n

The removed element is replaced by the last element of the vector.

\n

This does not preserve ordering of the remaining elements, but is O(1).\nIf you need to preserve the element order, use remove instead.

\n
§Panics
\n

Panics if index is out of bounds.

\n
§Examples
\n
let mut v = vec![\"foo\", \"bar\", \"baz\", \"qux\"];\n\nassert_eq!(v.swap_remove(1), \"bar\");\nassert_eq!(v, [\"foo\", \"qux\", \"baz\"]);\n\nassert_eq!(v.swap_remove(0), \"foo\");\nassert_eq!(v, [\"baz\", \"qux\"]);
\n
1.0.0 · source

pub fn insert(&mut self, index: usize, element: T)

Inserts an element at position index within the vector, shifting all\nelements after it to the right.

\n
§Panics
\n

Panics if index > len.

\n
§Examples
\n
let mut vec = vec![1, 2, 3];\nvec.insert(1, 4);\nassert_eq!(vec, [1, 4, 2, 3]);\nvec.insert(4, 5);\nassert_eq!(vec, [1, 4, 2, 3, 5]);
\n
§Time complexity
\n

Takes O(Vec::len) time. All items after the insertion index must be\nshifted to the right. In the worst case, all elements are shifted when\nthe insertion index is 0.

\n
1.0.0 · source

pub fn remove(&mut self, index: usize) -> T

Removes and returns the element at position index within the vector,\nshifting all elements after it to the left.

\n

Note: Because this shifts over the remaining elements, it has a\nworst-case performance of O(n). If you don’t need the order of elements\nto be preserved, use swap_remove instead. If you’d like to remove\nelements from the beginning of the Vec, consider using\nVecDeque::pop_front instead.

\n
§Panics
\n

Panics if index is out of bounds.

\n
§Examples
\n
let mut v = vec![1, 2, 3];\nassert_eq!(v.remove(1), 2);\nassert_eq!(v, [1, 3]);
\n
1.0.0 · source

pub fn retain<F>(&mut self, f: F)
where\n F: FnMut(&T) -> bool,

Retains only the elements specified by the predicate.

\n

In other words, remove all elements e for which f(&e) returns false.\nThis method operates in place, visiting each element exactly once in the\noriginal order, and preserves the order of the retained elements.

\n
§Examples
\n
let mut vec = vec![1, 2, 3, 4];\nvec.retain(|&x| x % 2 == 0);\nassert_eq!(vec, [2, 4]);
\n

Because the elements are visited exactly once in the original order,\nexternal state may be used to decide which elements to keep.

\n\n
let mut vec = vec![1, 2, 3, 4, 5];\nlet keep = [false, true, true, false, true];\nlet mut iter = keep.iter();\nvec.retain(|_| *iter.next().unwrap());\nassert_eq!(vec, [2, 3, 5]);
\n
1.61.0 · source

pub fn retain_mut<F>(&mut self, f: F)
where\n F: FnMut(&mut T) -> bool,

Retains only the elements specified by the predicate, passing a mutable reference to it.

\n

In other words, remove all elements e such that f(&mut e) returns false.\nThis method operates in place, visiting each element exactly once in the\noriginal order, and preserves the order of the retained elements.

\n
§Examples
\n
let mut vec = vec![1, 2, 3, 4];\nvec.retain_mut(|x| if *x <= 3 {\n    *x += 1;\n    true\n} else {\n    false\n});\nassert_eq!(vec, [2, 3, 4]);
\n
1.16.0 · source

pub fn dedup_by_key<F, K>(&mut self, key: F)
where\n F: FnMut(&mut T) -> K,\n K: PartialEq,

Removes all but the first of consecutive elements in the vector that resolve to the same\nkey.

\n

If the vector is sorted, this removes all duplicates.

\n
§Examples
\n
let mut vec = vec![10, 20, 21, 30, 20];\n\nvec.dedup_by_key(|i| *i / 10);\n\nassert_eq!(vec, [10, 20, 30, 20]);
\n
1.16.0 · source

pub fn dedup_by<F>(&mut self, same_bucket: F)
where\n F: FnMut(&mut T, &mut T) -> bool,

Removes all but the first of consecutive elements in the vector satisfying a given equality\nrelation.

\n

The same_bucket function is passed references to two elements from the vector and\nmust determine if the elements compare equal. The elements are passed in opposite order\nfrom their order in the slice, so if same_bucket(a, b) returns true, a is removed.

\n

If the vector is sorted, this removes all duplicates.

\n
§Examples
\n
let mut vec = vec![\"foo\", \"bar\", \"Bar\", \"baz\", \"bar\"];\n\nvec.dedup_by(|a, b| a.eq_ignore_ascii_case(b));\n\nassert_eq!(vec, [\"foo\", \"bar\", \"baz\", \"bar\"]);
\n
1.0.0 · source

pub fn push(&mut self, value: T)

Appends an element to the back of a collection.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
let mut vec = vec![1, 2];\nvec.push(3);\nassert_eq!(vec, [1, 2, 3]);
\n
§Time complexity
\n

Takes amortized O(1) time. If the vector’s length would exceed its\ncapacity after the push, O(capacity) time is taken to copy the\nvector’s elements to a larger allocation. This expensive operation is\noffset by the capacity O(1) insertions it allows.

\n
source

pub fn push_within_capacity(&mut self, value: T) -> Result<(), T>

🔬This is a nightly-only experimental API. (vec_push_within_capacity)

Appends an element if there is sufficient spare capacity, otherwise an error is returned\nwith the element.

\n

Unlike push this method will not reallocate when there’s insufficient capacity.\nThe caller should use reserve or try_reserve to ensure that there is enough capacity.

\n
§Examples
\n

A manual, panic-free alternative to FromIterator:

\n\n
#![feature(vec_push_within_capacity)]\n\nuse std::collections::TryReserveError;\nfn from_iter_fallible<T>(iter: impl Iterator<Item=T>) -> Result<Vec<T>, TryReserveError> {\n    let mut vec = Vec::new();\n    for value in iter {\n        if let Err(value) = vec.push_within_capacity(value) {\n            vec.try_reserve(1)?;\n            // this cannot fail, the previous line either returned or added at least 1 free slot\n            let _ = vec.push_within_capacity(value);\n        }\n    }\n    Ok(vec)\n}\nassert_eq!(from_iter_fallible(0..100), Ok(Vec::from_iter(0..100)));
\n
§Time complexity
\n

Takes O(1) time.

\n
1.0.0 · source

pub fn pop(&mut self) -> Option<T>

Removes the last element from a vector and returns it, or None if it\nis empty.

\n

If you’d like to pop the first element, consider using\nVecDeque::pop_front instead.

\n
§Examples
\n
let mut vec = vec![1, 2, 3];\nassert_eq!(vec.pop(), Some(3));\nassert_eq!(vec, [1, 2]);
\n
§Time complexity
\n

Takes O(1) time.

\n
source

pub fn pop_if<F>(&mut self, f: F) -> Option<T>
where\n F: FnOnce(&mut T) -> bool,

🔬This is a nightly-only experimental API. (vec_pop_if)

Removes and returns the last element in a vector if the predicate\nreturns true, or None if the predicate returns false or the vector\nis empty.

\n
§Examples
\n
#![feature(vec_pop_if)]\n\nlet mut vec = vec![1, 2, 3, 4];\nlet pred = |x: &mut i32| *x % 2 == 0;\n\nassert_eq!(vec.pop_if(pred), Some(4));\nassert_eq!(vec, [1, 2, 3]);\nassert_eq!(vec.pop_if(pred), None);
\n
1.4.0 · source

pub fn append(&mut self, other: &mut Vec<T, A>)

Moves all the elements of other into self, leaving other empty.

\n
§Panics
\n

Panics if the new capacity exceeds isize::MAX bytes.

\n
§Examples
\n
let mut vec = vec![1, 2, 3];\nlet mut vec2 = vec![4, 5, 6];\nvec.append(&mut vec2);\nassert_eq!(vec, [1, 2, 3, 4, 5, 6]);\nassert_eq!(vec2, []);
\n
1.6.0 · source

pub fn drain<R>(&mut self, range: R) -> Drain<'_, T, A>
where\n R: RangeBounds<usize>,

Removes the specified range from the vector in bulk, returning all\nremoved elements as an iterator. If the iterator is dropped before\nbeing fully consumed, it drops the remaining removed elements.

\n

The returned iterator keeps a mutable borrow on the vector to optimize\nits implementation.

\n
§Panics
\n

Panics if the starting point is greater than the end point or if\nthe end point is greater than the length of the vector.

\n
§Leaking
\n

If the returned iterator goes out of scope without being dropped (due to\nmem::forget, for example), the vector may have lost and leaked\nelements arbitrarily, including elements outside the range.

\n
§Examples
\n
let mut v = vec![1, 2, 3];\nlet u: Vec<_> = v.drain(1..).collect();\nassert_eq!(v, &[1]);\nassert_eq!(u, &[2, 3]);\n\n// A full range clears the vector, like `clear()` does\nv.drain(..);\nassert_eq!(v, &[]);
\n
1.0.0 · source

pub fn clear(&mut self)

Clears the vector, removing all values.

\n

Note that this method has no effect on the allocated capacity\nof the vector.

\n
§Examples
\n
let mut v = vec![1, 2, 3];\n\nv.clear();\n\nassert!(v.is_empty());
\n
1.0.0 · source

pub fn len(&self) -> usize

Returns the number of elements in the vector, also referred to\nas its ‘length’.

\n
§Examples
\n
let a = vec![1, 2, 3];\nassert_eq!(a.len(), 3);
\n
1.0.0 · source

pub fn is_empty(&self) -> bool

Returns true if the vector contains no elements.

\n
§Examples
\n
let mut v = Vec::new();\nassert!(v.is_empty());\n\nv.push(1);\nassert!(!v.is_empty());
\n
1.4.0 · source

pub fn split_off(&mut self, at: usize) -> Vec<T, A>
where\n A: Clone,

Splits the collection into two at the given index.

\n

Returns a newly allocated vector containing the elements in the range\n[at, len). After the call, the original vector will be left containing\nthe elements [0, at) with its previous capacity unchanged.

\n
    \n
  • If you want to take ownership of the entire contents and capacity of\nthe vector, see mem::take or mem::replace.
  • \n
  • If you don’t need the returned vector at all, see Vec::truncate.
  • \n
  • If you want to take ownership of an arbitrary subslice, or you don’t\nnecessarily want to store the removed items in a vector, see Vec::drain.
  • \n
\n
§Panics
\n

Panics if at > len.

\n
§Examples
\n
let mut vec = vec![1, 2, 3];\nlet vec2 = vec.split_off(1);\nassert_eq!(vec, [1]);\nassert_eq!(vec2, [2, 3]);
\n
1.33.0 · source

pub fn resize_with<F>(&mut self, new_len: usize, f: F)
where\n F: FnMut() -> T,

Resizes the Vec in-place so that len is equal to new_len.

\n

If new_len is greater than len, the Vec is extended by the\ndifference, with each additional slot filled with the result of\ncalling the closure f. The return values from f will end up\nin the Vec in the order they have been generated.

\n

If new_len is less than len, the Vec is simply truncated.

\n

This method uses a closure to create new values on every push. If\nyou’d rather Clone a given value, use Vec::resize. If you\nwant to use the Default trait to generate values, you can\npass Default::default as the second argument.

\n
§Examples
\n
let mut vec = vec![1, 2, 3];\nvec.resize_with(5, Default::default);\nassert_eq!(vec, [1, 2, 3, 0, 0]);\n\nlet mut vec = vec![];\nlet mut p = 1;\nvec.resize_with(4, || { p *= 2; p });\nassert_eq!(vec, [2, 4, 8, 16]);
\n
1.47.0 · source

pub fn leak<'a>(self) -> &'a mut [T]
where\n A: 'a,

Consumes and leaks the Vec, returning a mutable reference to the contents,\n&'a mut [T].

\n

Note that the type T must outlive the chosen lifetime 'a. If the type\nhas only static references, or none at all, then this may be chosen to be\n'static.

\n

As of Rust 1.57, this method does not reallocate or shrink the Vec,\nso the leaked allocation may include unused capacity that is not part\nof the returned slice.

\n

This function is mainly useful for data that lives for the remainder of\nthe program’s life. Dropping the returned reference will cause a memory\nleak.

\n
§Examples
\n

Simple usage:

\n\n
let x = vec![1, 2, 3];\nlet static_ref: &'static mut [usize] = x.leak();\nstatic_ref[0] += 1;\nassert_eq!(static_ref, &[2, 2, 3]);
\n
1.60.0 · source

pub fn spare_capacity_mut(&mut self) -> &mut [MaybeUninit<T>]

Returns the remaining spare capacity of the vector as a slice of\nMaybeUninit<T>.

\n

The returned slice can be used to fill the vector with data (e.g. by\nreading from a file) before marking the data as initialized using the\nset_len method.

\n
§Examples
\n
// Allocate vector big enough for 10 elements.\nlet mut v = Vec::with_capacity(10);\n\n// Fill in the first 3 elements.\nlet uninit = v.spare_capacity_mut();\nuninit[0].write(0);\nuninit[1].write(1);\nuninit[2].write(2);\n\n// Mark the first 3 elements of the vector as being initialized.\nunsafe {\n    v.set_len(3);\n}\n\nassert_eq!(&v, &[0, 1, 2]);
\n
source

pub fn split_at_spare_mut(&mut self) -> (&mut [T], &mut [MaybeUninit<T>])

🔬This is a nightly-only experimental API. (vec_split_at_spare)

Returns vector content as a slice of T, along with the remaining spare\ncapacity of the vector as a slice of MaybeUninit<T>.

\n

The returned spare capacity slice can be used to fill the vector with data\n(e.g. by reading from a file) before marking the data as initialized using\nthe set_len method.

\n

Note that this is a low-level API, which should be used with care for\noptimization purposes. If you need to append data to a Vec\nyou can use push, extend, extend_from_slice,\nextend_from_within, insert, append, resize or\nresize_with, depending on your exact needs.

\n
§Examples
\n
#![feature(vec_split_at_spare)]\n\nlet mut v = vec![1, 1, 2];\n\n// Reserve additional space big enough for 10 elements.\nv.reserve(10);\n\nlet (init, uninit) = v.split_at_spare_mut();\nlet sum = init.iter().copied().sum::<u32>();\n\n// Fill in the next 4 elements.\nuninit[0].write(sum);\nuninit[1].write(sum * 2);\nuninit[2].write(sum * 3);\nuninit[3].write(sum * 4);\n\n// Mark the 4 elements of the vector as being initialized.\nunsafe {\n    let len = v.len();\n    v.set_len(len + 4);\n}\n\nassert_eq!(&v, &[1, 1, 2, 4, 8, 12, 16]);
\n
",0,"vortex_file::read::MessageId"],["
§

impl<T> VecAllocExt for Vec<T>

§

type T = T

Item type.
§

fn allocated_size(&self) -> usize

Return the amount of memory allocated by this Vec (not\nrecursively counting any heap allocations contained within the\nstructure). Does not include the size of self
","VecAllocExt","vortex_file::read::MessageId"],["
§

impl<T> VecAllocExt for Vec<T>

§

type T = T

Item type.
§

fn push_accounted(\n &mut self,\n x: <Vec<T> as VecAllocExt>::T,\n accounting: &mut usize,\n)

Push new element to vector and increase\naccounting by any newly allocated bytes. Read more
§

fn allocated_size(&self) -> usize

Return the amount of memory allocated by this Vec to store elements\n(size_of<T> * capacity). Read more
","VecAllocExt","vortex_file::read::MessageId"],["
§

impl<T> Visit for Vec<T>
where\n T: Visit,

§

fn visit<V>(&self, visitor: &mut V) -> ControlFlow<<V as Visitor>::Break>
where\n V: Visitor,

","Visit","vortex_file::read::MessageId"],["
§

impl<T> VisitMut for Vec<T>
where\n T: VisitMut,

§

fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>
where\n V: VisitorMut,

","VisitMut","vortex_file::read::MessageId"],["
§

impl Write16 for Vec<u16>

§

fn write_slice(&mut self, s: &[u16]) -> Result<(), Error>

Write a slice containing UTF-16 to the sink. Read more
§

fn write_char(&mut self, c: char) -> Result<(), Error>

Write a Unicode scalar value to the sink.
§

fn size_hint(&mut self, upcoming: usize) -> Result<(), Error>

A hint that the caller expects to write upcoming UTF-16\ncode units. The implementation must not assume upcoming\nto be exact. The caller may write more or fewer code units\nusing write_slice() and write_char(). However, the\ncaller should try to give reasonable estimates if it uses\nthis method. Read more
","Write16","vortex_file::read::MessageId"],["
§

impl<'a, T> Yokeable<'a> for Vec<T>
where\n T: 'static,

§

type Output = Vec<T>

This type MUST be Self with the 'static replaced with 'a, i.e. Self<'a>
§

fn transform(&'a self) -> &'a Vec<T>

This method must cast self between &'a Self<'static> and &'a Self<'a>. Read more
§

fn transform_owned(self) -> Vec<T>

This method must cast self between Self<'static> and Self<'a>. Read more
§

unsafe fn make(from: Vec<T>) -> Vec<T>

This method can be used to cast away Self<'a>’s lifetime. Read more
§

fn transform_mut<F>(&'a mut self, f: F)
where\n F: 'static + for<'b> FnOnce(&'b mut <Vec<T> as Yokeable<'a>>::Output),

This method must cast self between &'a mut Self<'static> and &'a mut Self<'a>,\nand pass it to f. Read more
","Yokeable<'a>","vortex_file::read::MessageId"],["
§

impl<Z> Zeroize for Vec<Z>
where\n Z: Zeroize,

§

fn zeroize(&mut self)

“Best effort” zeroization for Vec.

\n

Ensures the entire capacity of the Vec is zeroed. Cannot ensure that\nprevious reallocations did not leave values on the heap.

\n
","Zeroize","vortex_file::read::MessageId"],["
source§

impl<T, A> DerefPure for Vec<T, A>
where\n A: Allocator,

","DerefPure","vortex_file::read::MessageId"],["
1.0.0 · source§

impl<T, A> Eq for Vec<T, A>
where\n T: Eq,\n A: Allocator,

","Eq","vortex_file::read::MessageId"],["
§

impl<T> StableDeref for Vec<T>

","StableDeref","vortex_file::read::MessageId"],["
§

impl<Z> ZeroizeOnDrop for Vec<Z>
where\n Z: ZeroizeOnDrop,

","ZeroizeOnDrop","vortex_file::read::MessageId"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() -//{"start":55,"fragment_lengths":[358599]} \ No newline at end of file +//{"start":55,"fragment_lengths":[357064]} \ No newline at end of file diff --git a/docs/rust/doc/vortex/accessor/index.html b/docs/rust/doc/vortex/accessor/index.html index 4485417d71..bb0741d60b 100644 --- a/docs/rust/doc/vortex/accessor/index.html +++ b/docs/rust/doc/vortex/accessor/index.html @@ -1 +1 @@ -vortex::accessor - Rust

Module vortex::accessor

source ·

Traits§

  • Trait for arrays that support iterative access to their elements.
\ No newline at end of file +vortex::accessor - Rust

Module vortex::accessor

Traits§

  • Trait for arrays that support iterative access to their elements.
\ No newline at end of file diff --git a/docs/rust/doc/vortex/accessor/trait.ArrayAccessor.html b/docs/rust/doc/vortex/accessor/trait.ArrayAccessor.html index ab5906e974..ab80c58421 100644 --- a/docs/rust/doc/vortex/accessor/trait.ArrayAccessor.html +++ b/docs/rust/doc/vortex/accessor/trait.ArrayAccessor.html @@ -1,13 +1,13 @@ -ArrayAccessor in vortex::accessor - Rust

Trait vortex::accessor::ArrayAccessor

source ·
pub trait ArrayAccessor<Item>
where +ArrayAccessor in vortex::accessor - Rust

Trait vortex::accessor::ArrayAccessor

pub trait ArrayAccessor<Item>
where Item: ?Sized,
{ // Required method fn with_iterator<F, R>(&self, f: F) -> Result<R, VortexError> where F: for<'a> FnOnce(&mut dyn Iterator<Item = Option<&'a Item>>) -> R; }
Expand description

Trait for arrays that support iterative access to their elements.

-

Required Methods§

source

fn with_iterator<F, R>(&self, f: F) -> Result<R, VortexError>
where +

Required Methods§

fn with_iterator<F, R>(&self, f: F) -> Result<R, VortexError>
where F: for<'a> FnOnce(&mut dyn Iterator<Item = Option<&'a Item>>) -> R,

Iterate over each element of the array, in-order.

The function f will be passed an Iterator, it can call next on the iterator len times. Iterator elements are Option types, regardless of the nullability of the underlying array data.

-

Object Safety§

This trait is not object safe.

Implementors§

Object Safety§

This trait is not object safe.

Implementors§

§

impl ArrayAccessor<[u8]> for VarBinArray

§

impl ArrayAccessor<[u8]> for VarBinViewArray

§

impl<T> ArrayAccessor<T> for PrimitiveArray
where T: NativePType,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/aliases/hash_map/index.html b/docs/rust/doc/vortex/aliases/hash_map/index.html index 4cd2c6218b..5a3ad7e9df 100644 --- a/docs/rust/doc/vortex/aliases/hash_map/index.html +++ b/docs/rust/doc/vortex/aliases/hash_map/index.html @@ -1 +1 @@ -vortex::aliases::hash_map - Rust
\ No newline at end of file +vortex::aliases::hash_map - Rust
\ No newline at end of file diff --git a/docs/rust/doc/vortex/aliases/hash_map/type.DefaultHashBuilder.html b/docs/rust/doc/vortex/aliases/hash_map/type.DefaultHashBuilder.html index 95ca6da864..fcc6cdfdbd 100644 --- a/docs/rust/doc/vortex/aliases/hash_map/type.DefaultHashBuilder.html +++ b/docs/rust/doc/vortex/aliases/hash_map/type.DefaultHashBuilder.html @@ -1 +1 @@ -DefaultHashBuilder in vortex::aliases::hash_map - Rust

Type Alias vortex::aliases::hash_map::DefaultHashBuilder

source ·
pub type DefaultHashBuilder = RandomState;

Aliased Type§

struct DefaultHashBuilder { /* private fields */ }
\ No newline at end of file +DefaultHashBuilder in vortex::aliases::hash_map - Rust

Type Alias vortex::aliases::hash_map::DefaultHashBuilder

pub type DefaultHashBuilder = RandomState;

Aliased Type§

struct DefaultHashBuilder { /* private fields */ }
\ No newline at end of file diff --git a/docs/rust/doc/vortex/aliases/hash_map/type.Entry.html b/docs/rust/doc/vortex/aliases/hash_map/type.Entry.html index 4712033f93..5fa6b06088 100644 --- a/docs/rust/doc/vortex/aliases/hash_map/type.Entry.html +++ b/docs/rust/doc/vortex/aliases/hash_map/type.Entry.html @@ -1,4 +1,4 @@ -Entry in vortex::aliases::hash_map - Rust

Type Alias vortex::aliases::hash_map::Entry

source ·
pub type Entry<'a, K, V, S> = Entry<'a, K, V, S>;

Aliased Type§

enum Entry<'a, K, V, S> {
+Entry in vortex::aliases::hash_map - Rust

Type Alias vortex::aliases::hash_map::Entry

pub type Entry<'a, K, V, S> = Entry<'a, K, V, S>;

Aliased Type§

enum Entry<'a, K, V, S> {
     Occupied(OccupiedEntry<'a, K, V, S>),
     Vacant(VacantEntry<'a, K, V, S>),
 }

Variants§

§

Occupied(OccupiedEntry<'a, K, V, S>)

An occupied entry.

diff --git a/docs/rust/doc/vortex/aliases/hash_map/type.HashMap.html b/docs/rust/doc/vortex/aliases/hash_map/type.HashMap.html index 5d6cf6cb31..ec1af1a733 100644 --- a/docs/rust/doc/vortex/aliases/hash_map/type.HashMap.html +++ b/docs/rust/doc/vortex/aliases/hash_map/type.HashMap.html @@ -1 +1 @@ -HashMap in vortex::aliases::hash_map - Rust

Type Alias vortex::aliases::hash_map::HashMap

source ·
pub type HashMap<K, V> = HashMap<K, V>;

Aliased Type§

struct HashMap<K, V> { /* private fields */ }
\ No newline at end of file +HashMap in vortex::aliases::hash_map - Rust

Type Alias vortex::aliases::hash_map::HashMap

pub type HashMap<K, V> = HashMap<K, V>;

Aliased Type§

struct HashMap<K, V> { /* private fields */ }
\ No newline at end of file diff --git a/docs/rust/doc/vortex/aliases/hash_map/type.HashTable.html b/docs/rust/doc/vortex/aliases/hash_map/type.HashTable.html index c2d871849a..54d894091b 100644 --- a/docs/rust/doc/vortex/aliases/hash_map/type.HashTable.html +++ b/docs/rust/doc/vortex/aliases/hash_map/type.HashTable.html @@ -1 +1 @@ -HashTable in vortex::aliases::hash_map - Rust

Type Alias vortex::aliases::hash_map::HashTable

source ·
pub type HashTable<T> = HashTable<T>;

Aliased Type§

struct HashTable<T> { /* private fields */ }
\ No newline at end of file +HashTable in vortex::aliases::hash_map - Rust

Type Alias vortex::aliases::hash_map::HashTable

pub type HashTable<T> = HashTable<T>;

Aliased Type§

struct HashTable<T> { /* private fields */ }
\ No newline at end of file diff --git a/docs/rust/doc/vortex/aliases/hash_map/type.IntoIter.html b/docs/rust/doc/vortex/aliases/hash_map/type.IntoIter.html index 531961f84b..35f010f1c5 100644 --- a/docs/rust/doc/vortex/aliases/hash_map/type.IntoIter.html +++ b/docs/rust/doc/vortex/aliases/hash_map/type.IntoIter.html @@ -1 +1 @@ -IntoIter in vortex::aliases::hash_map - Rust

Type Alias vortex::aliases::hash_map::IntoIter

source ·
pub type IntoIter<K, V> = IntoIter<K, V>;

Aliased Type§

struct IntoIter<K, V> { /* private fields */ }
\ No newline at end of file +IntoIter in vortex::aliases::hash_map - Rust

Type Alias vortex::aliases::hash_map::IntoIter

pub type IntoIter<K, V> = IntoIter<K, V>;

Aliased Type§

struct IntoIter<K, V> { /* private fields */ }
\ No newline at end of file diff --git a/docs/rust/doc/vortex/aliases/hash_set/index.html b/docs/rust/doc/vortex/aliases/hash_set/index.html index d0c6c22280..7fa0deb921 100644 --- a/docs/rust/doc/vortex/aliases/hash_set/index.html +++ b/docs/rust/doc/vortex/aliases/hash_set/index.html @@ -1 +1 @@ -vortex::aliases::hash_set - Rust

Module vortex::aliases::hash_set

source ·

Type Aliases§

\ No newline at end of file +vortex::aliases::hash_set - Rust

Module vortex::aliases::hash_set

Type Aliases§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/aliases/hash_set/type.Entry.html b/docs/rust/doc/vortex/aliases/hash_set/type.Entry.html index 31f50659dc..3c6cb8bf50 100644 --- a/docs/rust/doc/vortex/aliases/hash_set/type.Entry.html +++ b/docs/rust/doc/vortex/aliases/hash_set/type.Entry.html @@ -1,4 +1,4 @@ -Entry in vortex::aliases::hash_set - Rust

Type Alias vortex::aliases::hash_set::Entry

source ·
pub type Entry<'a, V, S> = Entry<'a, V, S>;

Aliased Type§

enum Entry<'a, V, S> {
+Entry in vortex::aliases::hash_set - Rust

Type Alias vortex::aliases::hash_set::Entry

pub type Entry<'a, V, S> = Entry<'a, V, S>;

Aliased Type§

enum Entry<'a, V, S> {
     Occupied(OccupiedEntry<'a, V, S>),
     Vacant(VacantEntry<'a, V, S>),
 }

Variants§

§

Occupied(OccupiedEntry<'a, V, S>)

An occupied entry.

diff --git a/docs/rust/doc/vortex/aliases/hash_set/type.HashSet.html b/docs/rust/doc/vortex/aliases/hash_set/type.HashSet.html index 52ac4c1024..f82ff552a3 100644 --- a/docs/rust/doc/vortex/aliases/hash_set/type.HashSet.html +++ b/docs/rust/doc/vortex/aliases/hash_set/type.HashSet.html @@ -1 +1 @@ -HashSet in vortex::aliases::hash_set - Rust

Type Alias vortex::aliases::hash_set::HashSet

source ·
pub type HashSet<V> = HashSet<V>;

Aliased Type§

struct HashSet<V> { /* private fields */ }
\ No newline at end of file +HashSet in vortex::aliases::hash_set - Rust

Type Alias vortex::aliases::hash_set::HashSet

pub type HashSet<V> = HashSet<V>;

Aliased Type§

struct HashSet<V> { /* private fields */ }
\ No newline at end of file diff --git a/docs/rust/doc/vortex/aliases/hash_set/type.IntoIter.html b/docs/rust/doc/vortex/aliases/hash_set/type.IntoIter.html index 33a6414c82..a2ea1be990 100644 --- a/docs/rust/doc/vortex/aliases/hash_set/type.IntoIter.html +++ b/docs/rust/doc/vortex/aliases/hash_set/type.IntoIter.html @@ -1 +1 @@ -IntoIter in vortex::aliases::hash_set - Rust

Type Alias vortex::aliases::hash_set::IntoIter

source ·
pub type IntoIter<V> = IntoIter<V>;

Aliased Type§

struct IntoIter<V> { /* private fields */ }
\ No newline at end of file +IntoIter in vortex::aliases::hash_set - Rust

Type Alias vortex::aliases::hash_set::IntoIter

pub type IntoIter<V> = IntoIter<V>;

Aliased Type§

struct IntoIter<V> { /* private fields */ }
\ No newline at end of file diff --git a/docs/rust/doc/vortex/aliases/index.html b/docs/rust/doc/vortex/aliases/index.html index a17e9861a0..7af442bf32 100644 --- a/docs/rust/doc/vortex/aliases/index.html +++ b/docs/rust/doc/vortex/aliases/index.html @@ -1 +1 @@ -vortex::aliases - Rust

Module vortex::aliases

source ·

Modules§

\ No newline at end of file +vortex::aliases - Rust

Module vortex::aliases

Modules§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/array/arbitrary/index.html b/docs/rust/doc/vortex/array/arbitrary/index.html index 90088a9ac8..8dfefba248 100644 --- a/docs/rust/doc/vortex/array/arbitrary/index.html +++ b/docs/rust/doc/vortex/array/arbitrary/index.html @@ -1 +1 @@ -vortex::array::arbitrary - Rust

Module vortex::array::arbitrary

source ·
\ No newline at end of file +vortex::array::arbitrary - Rust

Module vortex::array::arbitrary

\ No newline at end of file diff --git a/docs/rust/doc/vortex/array/builder/index.html b/docs/rust/doc/vortex/array/builder/index.html index 101f26ca90..ad3defa1d6 100644 --- a/docs/rust/doc/vortex/array/builder/index.html +++ b/docs/rust/doc/vortex/array/builder/index.html @@ -1 +1 @@ -vortex::array::builder - Rust

Module vortex::array::builder

source ·

Structs§

\ No newline at end of file +vortex::array::builder - Rust

Module vortex::array::builder

Structs§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/array/builder/struct.VarBinBuilder.html b/docs/rust/doc/vortex/array/builder/struct.VarBinBuilder.html index f377707399..41299cfe6f 100644 --- a/docs/rust/doc/vortex/array/builder/struct.VarBinBuilder.html +++ b/docs/rust/doc/vortex/array/builder/struct.VarBinBuilder.html @@ -1,14 +1,14 @@ -VarBinBuilder in vortex::array::builder - Rust

Struct vortex::array::builder::VarBinBuilder

source ·
pub struct VarBinBuilder<O>
where - O: NativePType,
{ /* private fields */ }

Implementations§

source§

impl<O> VarBinBuilder<O>
where - O: NativePType,

source

pub fn new() -> VarBinBuilder<O>

source

pub fn with_capacity(len: usize) -> VarBinBuilder<O>

source

pub fn push(&mut self, value: Option<&[u8]>)

source

pub fn push_value(&mut self, value: impl AsRef<[u8]>)

source

pub fn push_null(&mut self)

source

pub fn push_values( +VarBinBuilder in vortex::array::builder - Rust

Struct vortex::array::builder::VarBinBuilder

pub struct VarBinBuilder<O>
where + O: NativePType,
{ /* private fields */ }

Implementations§

§

impl<O> VarBinBuilder<O>
where + O: NativePType,

pub fn new() -> VarBinBuilder<O>

pub fn with_capacity(len: usize) -> VarBinBuilder<O>

pub fn push(&mut self, value: Option<&[u8]>)

pub fn push_value(&mut self, value: impl AsRef<[u8]>)

pub fn push_null(&mut self)

pub fn push_values( &mut self, values: &[u8], end_offsets: impl Iterator<Item = O>, num: usize, )
where O: 'static, - usize: AsPrimitive<O>,

source

pub fn finish(self, dtype: DType) -> VarBinArray

Trait Implementations§

source§

impl<O> Default for VarBinBuilder<O>
where - O: NativePType,

source§

fn default() -> VarBinBuilder<O>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<O> Freeze for VarBinBuilder<O>

§

impl<O> RefUnwindSafe for VarBinBuilder<O>

§

impl<O> Send for VarBinBuilder<O>

§

impl<O> Sync for VarBinBuilder<O>

§

impl<O> Unpin for VarBinBuilder<O>
where + usize: AsPrimitive<O>,

pub fn finish(self, dtype: DType) -> VarBinArray

Trait Implementations§

§

impl<O> Default for VarBinBuilder<O>
where + O: NativePType,

§

fn default() -> VarBinBuilder<O>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<O> Freeze for VarBinBuilder<O>

§

impl<O> RefUnwindSafe for VarBinBuilder<O>

§

impl<O> Send for VarBinBuilder<O>

§

impl<O> Sync for VarBinBuilder<O>

§

impl<O> Unpin for VarBinBuilder<O>
where O: Unpin,

§

impl<O> UnwindSafe for VarBinBuilder<O>
where O: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/docs/rust/doc/vortex/array/compute/filter/fn.filter_indices.html b/docs/rust/doc/vortex/array/compute/filter/fn.filter_indices.html index 8e24facc93..ed3cf6b109 100644 --- a/docs/rust/doc/vortex/array/compute/filter/fn.filter_indices.html +++ b/docs/rust/doc/vortex/array/compute/filter/fn.filter_indices.html @@ -1,4 +1,4 @@ -filter_indices in vortex::array::compute::filter - Rust

Function vortex::array::compute::filter::filter_indices

source ·
pub fn filter_indices(
+filter_indices in vortex::array::compute::filter - Rust

Function vortex::array::compute::filter::filter_indices

pub fn filter_indices(
     buffer: &BooleanBuffer,
     indices_len: usize,
     indices: impl Iterator<Item = usize>,
diff --git a/docs/rust/doc/vortex/array/compute/filter/fn.filter_slices.html b/docs/rust/doc/vortex/array/compute/filter/fn.filter_slices.html
index b76ac2b93b..881b5426b1 100644
--- a/docs/rust/doc/vortex/array/compute/filter/fn.filter_slices.html
+++ b/docs/rust/doc/vortex/array/compute/filter/fn.filter_slices.html
@@ -1,4 +1,4 @@
-filter_slices in vortex::array::compute::filter - Rust

Function vortex::array::compute::filter::filter_slices

source ·
pub fn filter_slices(
+filter_slices in vortex::array::compute::filter - Rust

Function vortex::array::compute::filter::filter_slices

pub fn filter_slices(
     buffer: &BooleanBuffer,
     indices_len: usize,
     slices: impl Iterator<Item = (usize, usize)>,
diff --git a/docs/rust/doc/vortex/array/compute/filter/index.html b/docs/rust/doc/vortex/array/compute/filter/index.html
index a5d4c18c53..652db24245 100644
--- a/docs/rust/doc/vortex/array/compute/filter/index.html
+++ b/docs/rust/doc/vortex/array/compute/filter/index.html
@@ -1 +1 @@
-vortex::array::compute::filter - Rust

Module vortex::array::compute::filter

source ·

Functions§

\ No newline at end of file +vortex::array::compute::filter - Rust

Module vortex::array::compute::filter

Functions§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/array/compute/index.html b/docs/rust/doc/vortex/array/compute/index.html index 4b99719608..06a2f5dcd5 100644 --- a/docs/rust/doc/vortex/array/compute/index.html +++ b/docs/rust/doc/vortex/array/compute/index.html @@ -1 +1 @@ -vortex::array::compute - Rust

Module vortex::array::compute

source ·

Modules§

\ No newline at end of file +vortex::array::compute - Rust

Module vortex::array::compute

Modules§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/array/fn.compute_varbin_statistics.html b/docs/rust/doc/vortex/array/fn.compute_varbin_statistics.html index d0c8c9b545..1ced710b02 100644 --- a/docs/rust/doc/vortex/array/fn.compute_varbin_statistics.html +++ b/docs/rust/doc/vortex/array/fn.compute_varbin_statistics.html @@ -1,4 +1,4 @@ -compute_varbin_statistics in vortex::array - Rust

Function vortex::array::compute_varbin_statistics

source ·
pub fn compute_varbin_statistics<T>(
+compute_varbin_statistics in vortex::array - Rust

Function vortex::array::compute_varbin_statistics

pub fn compute_varbin_statistics<T>(
     array: &T,
     stat: Stat,
 ) -> Result<StatsSet, VortexError>
where diff --git a/docs/rust/doc/vortex/array/fn.varbin_scalar.html b/docs/rust/doc/vortex/array/fn.varbin_scalar.html index ade9b8f66e..ce0e63964a 100644 --- a/docs/rust/doc/vortex/array/fn.varbin_scalar.html +++ b/docs/rust/doc/vortex/array/fn.varbin_scalar.html @@ -1 +1 @@ -varbin_scalar in vortex::array - Rust

Function vortex::array::varbin_scalar

source ·
pub fn varbin_scalar(value: Buffer, dtype: &DType) -> Scalar
\ No newline at end of file +varbin_scalar in vortex::array - Rust

Function vortex::array::varbin_scalar

pub fn varbin_scalar(value: Buffer, dtype: &DType) -> Scalar
\ No newline at end of file diff --git a/docs/rust/doc/vortex/array/from/index.html b/docs/rust/doc/vortex/array/from/index.html index 1634789ecf..ebf4c369a0 100644 --- a/docs/rust/doc/vortex/array/from/index.html +++ b/docs/rust/doc/vortex/array/from/index.html @@ -1 +1 @@ -vortex::array::from - Rust

Module vortex::array::from

source ·
\ No newline at end of file +vortex::array::from - Rust

Module vortex::array::from

\ No newline at end of file diff --git a/docs/rust/doc/vortex/array/index.html b/docs/rust/doc/vortex/array/index.html index ec706ddd58..5bbcf10ad3 100644 --- a/docs/rust/doc/vortex/array/index.html +++ b/docs/rust/doc/vortex/array/index.html @@ -1,2 +1,2 @@ -vortex::array - Rust

Module vortex::array

source ·
Expand description

All the built-in encoding schemes and arrays.

+vortex::array - Rust

Module vortex::array

Expand description

All the built-in encoding schemes and arrays.

Modules§

Structs§

Functions§

Unions§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/array/struct.BoolArray.html b/docs/rust/doc/vortex/array/struct.BoolArray.html index 51bddab39b..1a5885b51e 100644 --- a/docs/rust/doc/vortex/array/struct.BoolArray.html +++ b/docs/rust/doc/vortex/array/struct.BoolArray.html @@ -1,86 +1,86 @@ -BoolArray in vortex::array - Rust

Struct vortex::array::BoolArray

source ·
pub struct BoolArray(/* private fields */);

Implementations§

source§

impl BoolArray

source

pub fn patch(self, patches: Patches) -> Result<BoolArray, VortexError>

source§

impl BoolArray

source

pub fn maybe_from(data: ArrayData) -> Option<BoolArray>

Optionally downcast an ArrayData instance to a specific encoding.

+BoolArray in vortex::array - Rust

Struct vortex::array::BoolArray

pub struct BoolArray(/* private fields */);

Implementations§

§

impl BoolArray

pub fn patch(self, patches: Patches) -> Result<BoolArray, VortexError>

§

impl BoolArray

pub fn maybe_from(data: ArrayData) -> Option<BoolArray>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl BoolArray

source

pub fn buffer(&self) -> &Buffer

Access internal array buffer

-
source

pub fn into_buffer(self) -> Buffer

Convert array into its internal buffer

-
source

pub fn boolean_buffer(&self) -> BooleanBuffer

Get array values as an arrow BooleanBuffer

-
source

pub fn into_boolean_builder(self) -> (BooleanBufferBuilder, usize)

Get a mutable version of this array.

+
§

impl BoolArray

pub fn buffer(&self) -> &Buffer

Access internal array buffer

+

pub fn into_buffer(self) -> Buffer

Convert array into its internal buffer

+

pub fn boolean_buffer(&self) -> BooleanBuffer

Get array values as an arrow BooleanBuffer

+

pub fn into_boolean_builder(self) -> (BooleanBufferBuilder, usize)

Get a mutable version of this array.

If the caller holds the only reference to the underlying buffer the underlying buffer is returned otherwise a copy is created.

The second value of the tuple is a bit_offset of first value in first byte of the returned builder

-
source

pub fn validity(&self) -> Validity

source

pub fn new(buffer: BooleanBuffer, nullability: Nullability) -> BoolArray

Create a new BoolArray from a buffer and nullability.

-
source

pub fn try_new( +

pub fn validity(&self) -> Validity

pub fn new(buffer: BooleanBuffer, nullability: Nullability) -> BoolArray

Create a new BoolArray from a buffer and nullability.

+

pub fn try_new( buffer: BooleanBuffer, validity: Validity, ) -> Result<BoolArray, VortexError>

Create a new BoolArray from a buffer and validity metadata. Returns an error if the validity length does not match the buffer length.

-
source

pub fn from_indices<I>(length: usize, indices: I) -> BoolArray
where +

pub fn from_indices<I>(length: usize, indices: I) -> BoolArray
where I: IntoIterator<Item = usize>,

Create a new BoolArray from a set of indices and a length. All indices must be less than the length.

-

Trait Implementations§

source§

impl AsRef<ArrayData> for BoolArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for BoolArray

source§

fn clone(&self) -> BoolArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BoolArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FillForwardFn<BoolArray> for BoolEncoding

source§

fn fill_forward(&self, array: &BoolArray) -> Result<ArrayData, VortexError>

source§

impl FillNullFn<BoolArray> for BoolEncoding

Trait Implementations§

§

impl AsRef<ArrayData> for BoolArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Clone for BoolArray

§

fn clone(&self) -> BoolArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for BoolArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl FillForwardFn<BoolArray> for BoolEncoding

§

fn fill_forward(&self, array: &BoolArray) -> Result<ArrayData, VortexError>

§

impl FillNullFn<BoolArray> for BoolEncoding

§

fn fill_null( &self, array: &BoolArray, - fill_value: Scalar, -) -> Result<ArrayData, VortexError>

source§

impl FilterFn<BoolArray> for BoolEncoding

source§

fn filter( + fill_value: Scalar, +) -> Result<ArrayData, VortexError>

§

impl FilterFn<BoolArray> for BoolEncoding

§

fn filter( &self, array: &BoolArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl From<BooleanBuffer> for BoolArray

source§

fn from(value: BooleanBuffer) -> BoolArray

Converts to this type from the input type.
source§

impl FromIterator<Option<bool>> for BoolArray

source§

fn from_iter<I>(iter: I) -> BoolArray
where - I: IntoIterator<Item = Option<bool>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<bool> for BoolArray

source§

fn from_iter<T>(iter: T) -> BoolArray
where - T: IntoIterator<Item = bool>,

Creates a value from an iterator. Read more
source§

impl IntoArrayData for BoolArray

source§

impl IntoCanonical for BoolArray

source§

fn into_canonical(self) -> Result<Canonical, VortexError>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl InvertFn<BoolArray> for BoolEncoding

source§

fn invert(&self, array: &BoolArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
source§

impl ScalarAtFn<BoolArray> for BoolEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl From<BooleanBuffer> for BoolArray

§

fn from(value: BooleanBuffer) -> BoolArray

Converts to this type from the input type.
§

impl FromIterator<Option<bool>> for BoolArray

§

fn from_iter<I>(iter: I) -> BoolArray
where + I: IntoIterator<Item = Option<bool>>,

Creates a value from an iterator. Read more
§

impl FromIterator<bool> for BoolArray

§

fn from_iter<T>(iter: T) -> BoolArray
where + T: IntoIterator<Item = bool>,

Creates a value from an iterator. Read more
§

impl IntoArrayData for BoolArray

§

impl IntoCanonical for BoolArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

§

impl InvertFn<BoolArray> for BoolEncoding

§

fn invert(&self, array: &BoolArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
§

impl ScalarAtFn<BoolArray> for BoolEncoding

§

fn scalar_at( &self, array: &BoolArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<BoolArray> for BoolEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<BoolArray> for BoolEncoding

§

fn slice( &self, array: &BoolArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<BoolArray> for BoolEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<BoolArray> for BoolEncoding

§

fn compute_statistics( &self, array: &BoolArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<BoolArray> for BoolEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<BoolArray> for BoolEncoding

§

fn take( &self, array: &BoolArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &BoolArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a BoolArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a BoolArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for BoolArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<BoolArray, VortexError>

Performs the conversion.
source§

impl ValidityVTable<BoolArray> for BoolEncoding

source§

fn is_valid(&self, array: &BoolArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &BoolArray) -> LogicalValidity

source§

impl VariantsVTable<BoolArray> for BoolEncoding

source§

fn as_bool_array<'a>( +given indices. Read more

§

impl<'a> TryFrom<&'a ArrayData> for &'a BoolArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a BoolArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for BoolArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<BoolArray, VortexError>

Performs the conversion.
§

impl ValidityVTable<BoolArray> for BoolEncoding

§

fn is_valid(&self, array: &BoolArray, index: usize) -> bool

§

fn logical_validity(&self, array: &BoolArray) -> LogicalValidity

§

impl VariantsVTable<BoolArray> for BoolEncoding

§

fn as_bool_array<'a>( &self, array: &'a BoolArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<BoolArray> for BoolEncoding

§

impl VisitorVTable<BoolArray> for BoolEncoding

§

fn accept( &self, array: &BoolArray, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl ArrayTrait for BoolArray

source§

impl BoolArrayTrait for BoolArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+) -> Result<(), VortexError>
§

impl ArrayTrait for BoolArray

§

impl BoolArrayTrait for BoolArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -91,16 +91,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/array/struct.BoolEncoding.html b/docs/rust/doc/vortex/array/struct.BoolEncoding.html index c6edec9b01..5634fb04f4 100644 --- a/docs/rust/doc/vortex/array/struct.BoolEncoding.html +++ b/docs/rust/doc/vortex/array/struct.BoolEncoding.html @@ -1,62 +1,62 @@ -BoolEncoding in vortex::array - Rust

Struct vortex::array::BoolEncoding

source ·
pub struct BoolEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for BoolEncoding

source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for BoolEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Encoding for BoolEncoding

source§

impl EncodingVTable for BoolEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl FillForwardFn<BoolArray> for BoolEncoding

source§

fn fill_forward(&self, array: &BoolArray) -> Result<ArrayData, VortexError>

source§

impl FillNullFn<BoolArray> for BoolEncoding

source§

fn fill_null( +BoolEncoding in vortex::array - Rust

Struct vortex::array::BoolEncoding

pub struct BoolEncoding;
Expand description

The array encoding

+

Trait Implementations§

§

impl ComputeVTable for BoolEncoding

§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

impl Debug for BoolEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encoding for BoolEncoding

§

impl EncodingVTable for BoolEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl FillForwardFn<BoolArray> for BoolEncoding

§

fn fill_forward(&self, array: &BoolArray) -> Result<ArrayData, VortexError>

§

impl FillNullFn<BoolArray> for BoolEncoding

§

fn fill_null( &self, array: &BoolArray, - fill_value: Scalar, -) -> Result<ArrayData, VortexError>

source§

impl FilterFn<BoolArray> for BoolEncoding

source§

fn filter( + fill_value: Scalar, +) -> Result<ArrayData, VortexError>

§

impl FilterFn<BoolArray> for BoolEncoding

§

fn filter( &self, array: &BoolArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl InvertFn<BoolArray> for BoolEncoding

source§

fn invert(&self, array: &BoolArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
source§

impl ScalarAtFn<BoolArray> for BoolEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl InvertFn<BoolArray> for BoolEncoding

§

fn invert(&self, array: &BoolArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
§

impl ScalarAtFn<BoolArray> for BoolEncoding

§

fn scalar_at( &self, array: &BoolArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<BoolArray> for BoolEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<BoolArray> for BoolEncoding

§

fn slice( &self, array: &BoolArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<BoolArray> for BoolEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<BoolArray> for BoolEncoding

§

fn compute_statistics( &self, array: &BoolArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl StatisticsVTable<BooleanBuffer> for BoolEncoding

source§

fn compute_statistics( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl StatisticsVTable<BooleanBuffer> for BoolEncoding

§

fn compute_statistics( &self, buffer: &BooleanBuffer, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl StatisticsVTable<NullableBools<'_>> for BoolEncoding

source§

fn compute_statistics( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl StatisticsVTable<NullableBools<'_>> for BoolEncoding

§

fn compute_statistics( &self, array: &NullableBools<'_>, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<BoolArray> for BoolEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<BoolArray> for BoolEncoding

§

fn take( &self, array: &BoolArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &BoolArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<BoolArray> for BoolEncoding

source§

fn is_valid(&self, array: &BoolArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &BoolArray) -> LogicalValidity

source§

impl VariantsVTable<BoolArray> for BoolEncoding

source§

fn as_bool_array<'a>( +given indices. Read more

§

impl ValidityVTable<BoolArray> for BoolEncoding

§

fn is_valid(&self, array: &BoolArray, index: usize) -> bool

§

fn logical_validity(&self, array: &BoolArray) -> LogicalValidity

§

impl VariantsVTable<BoolArray> for BoolEncoding

§

fn as_bool_array<'a>( &self, array: &'a BoolArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<BoolArray> for BoolEncoding

§

impl VisitorVTable<BoolArray> for BoolEncoding

§

fn accept( &self, array: &BoolArray, visitor: &mut dyn ArrayVisitor, @@ -77,9 +77,9 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where +otherwise. Read more

§

impl<E> MetadataVTable for E
where E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, ) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where diff --git a/docs/rust/doc/vortex/array/struct.BoolMetadata.html b/docs/rust/doc/vortex/array/struct.BoolMetadata.html index aa120bc2aa..d88e3767d3 100644 --- a/docs/rust/doc/vortex/array/struct.BoolMetadata.html +++ b/docs/rust/doc/vortex/array/struct.BoolMetadata.html @@ -1,8 +1,8 @@ -BoolMetadata in vortex::array - Rust

Struct vortex::array::BoolMetadata

source ·
pub struct BoolMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for BoolMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<BoolMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for BoolMetadata

source§

fn clone(&self) -> BoolMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BoolMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BoolMetadata

source§

fn deserialize<__D>( +BoolMetadata in vortex::array - Rust

Struct vortex::array::BoolMetadata

pub struct BoolMetadata { /* private fields */ }

Trait Implementations§

§

impl ArrayMetadata for BoolMetadata

Implement ArrayMetadata

+
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<BoolMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Clone for BoolMetadata

§

fn clone(&self) -> BoolMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for BoolMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for BoolMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<BoolMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BoolMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for BoolMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for BoolMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for BoolMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -27,13 +27,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/array/struct.BooleanBuffer.html b/docs/rust/doc/vortex/array/struct.BooleanBuffer.html index 9e275d27a8..488c9c26ec 100644 --- a/docs/rust/doc/vortex/array/struct.BooleanBuffer.html +++ b/docs/rust/doc/vortex/array/struct.BooleanBuffer.html @@ -42,9 +42,9 @@
§Safety
) -> <&BooleanBuffer as BitOr<&BooleanBuffer>>::Output
Performs the | operation. Read more
§

impl BitXor<&BooleanBuffer> for &BooleanBuffer

§

type Output = BooleanBuffer

The resulting type after applying the ^ operator.
§

fn bitxor( self, rhs: &BooleanBuffer, -) -> <&BooleanBuffer as BitXor<&BooleanBuffer>>::Output

Performs the ^ operation. Read more
§

impl Clone for BooleanBuffer

§

fn clone(&self) -> BooleanBuffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for BooleanBuffer

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<&[bool]> for BooleanBuffer

§

fn from(value: &[bool]) -> BooleanBuffer

Converts to this type from the input type.
source§

impl From<BooleanBuffer> for ArrayData

source§

fn from(value: BooleanBuffer) -> ArrayData

Converts to this type from the input type.
source§

impl From<BooleanBuffer> for BoolArray

source§

fn from(value: BooleanBuffer) -> BoolArray

Converts to this type from the input type.
source§

impl From<BooleanBuffer> for FilterMask

source§

fn from(value: BooleanBuffer) -> FilterMask

Converts to this type from the input type.
source§

impl From<BooleanBuffer> for Validity

source§

fn from(value: BooleanBuffer) -> Validity

Converts to this type from the input type.
§

impl From<BooleanBufferBuilder> for BooleanBuffer

§

fn from(builder: BooleanBufferBuilder) -> BooleanBuffer

Converts to this type from the input type.
§

impl From<Vec<bool>> for BooleanBuffer

§

fn from(value: Vec<bool>) -> BooleanBuffer

Converts to this type from the input type.
§

impl FromIterator<bool> for BooleanBuffer

§

fn from_iter<T>(iter: T) -> BooleanBuffer

Performs the ^ operation. Read more
§

impl Clone for BooleanBuffer

§

fn clone(&self) -> BooleanBuffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for BooleanBuffer

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<&[bool]> for BooleanBuffer

§

fn from(value: &[bool]) -> BooleanBuffer

Converts to this type from the input type.
§

impl From<BooleanBuffer> for ArrayData

§

fn from(value: BooleanBuffer) -> ArrayData

Converts to this type from the input type.
§

impl From<BooleanBuffer> for BoolArray

§

fn from(value: BooleanBuffer) -> BoolArray

Converts to this type from the input type.
§

impl From<BooleanBuffer> for FilterMask

§

fn from(value: BooleanBuffer) -> FilterMask

Converts to this type from the input type.
§

impl From<BooleanBuffer> for Validity

§

fn from(value: BooleanBuffer) -> Validity

Converts to this type from the input type.
§

impl From<BooleanBufferBuilder> for BooleanBuffer

§

fn from(builder: BooleanBufferBuilder) -> BooleanBuffer

Converts to this type from the input type.
§

impl From<Vec<bool>> for BooleanBuffer

§

fn from(value: Vec<bool>) -> BooleanBuffer

Converts to this type from the input type.
§

impl FromIterator<bool> for BooleanBuffer

§

fn from_iter<T>(iter: T) -> BooleanBuffer
where T: IntoIterator<Item = bool>,

Creates a value from an iterator. Read more
§

impl<'a> IntoIterator for &'a BooleanBuffer

§

type Item = bool

The type of the elements being iterated over.
§

type IntoIter = BitIterator<'a>

Which kind of iterator are we turning this into?
§

fn into_iter(self) -> <&'a BooleanBuffer as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
§

impl Not for &BooleanBuffer

§

type Output = BooleanBuffer

The resulting type after applying the ! operator.
§

fn not(self) -> <&BooleanBuffer as Not>::Output

Performs the unary ! operation. Read more
§

impl PartialEq for BooleanBuffer

§

fn eq(&self, other: &BooleanBuffer) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl StatisticsVTable<BooleanBuffer> for BoolEncoding

source§

fn compute_statistics( +and should not be overridden without very good reason.

§

impl StatisticsVTable<BooleanBuffer> for BoolEncoding

§

fn compute_statistics( &self, buffer: &BooleanBuffer, stat: Stat, diff --git a/docs/rust/doc/vortex/array/struct.Buffers.html b/docs/rust/doc/vortex/array/struct.Buffers.html index b62c7b102a..1d69c0f33d 100644 --- a/docs/rust/doc/vortex/array/struct.Buffers.html +++ b/docs/rust/doc/vortex/array/struct.Buffers.html @@ -1,4 +1,4 @@ -Buffers in vortex::array - Rust

Struct vortex::array::Buffers

source ·
pub struct Buffers<'a> { /* private fields */ }

Trait Implementations§

source§

impl Iterator for Buffers<'_>

source§

type Item = ArrayData

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Buffers<'_> as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn next_chunk<const N: usize>( +Buffers in vortex::array - Rust

Struct vortex::array::Buffers

pub struct Buffers<'a> { /* private fields */ }

Trait Implementations§

§

impl Iterator for Buffers<'_>

§

type Item = ArrayData

The type of the elements being iterated over.
§

fn next(&mut self) -> Option<<Buffers<'_> as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn next_chunk<const N: usize>( &mut self, ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
where Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
1.0.0 · source§

fn count(self) -> usize
where diff --git a/docs/rust/doc/vortex/array/struct.ChunkedArray.html b/docs/rust/doc/vortex/array/struct.ChunkedArray.html index 2e20e16d7d..fd0314ab32 100644 --- a/docs/rust/doc/vortex/array/struct.ChunkedArray.html +++ b/docs/rust/doc/vortex/array/struct.ChunkedArray.html @@ -1,105 +1,105 @@ -ChunkedArray in vortex::array - Rust

Struct vortex::array::ChunkedArray

source ·
pub struct ChunkedArray(/* private fields */);

Implementations§

source§

impl ChunkedArray

source

pub fn maybe_from(data: ArrayData) -> Option<ChunkedArray>

Optionally downcast an ArrayData instance to a specific encoding.

+ChunkedArray in vortex::array - Rust

Struct vortex::array::ChunkedArray

pub struct ChunkedArray(/* private fields */);

Implementations§

§

impl ChunkedArray

pub fn maybe_from(data: ArrayData) -> Option<ChunkedArray>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl ChunkedArray

source

pub fn try_new( +

§

impl ChunkedArray

pub fn try_new( chunks: Vec<ArrayData>, dtype: DType, -) -> Result<ChunkedArray, VortexError>

source

pub fn chunk(&self, idx: usize) -> Result<ArrayData, VortexError>

source

pub fn nchunks(&self) -> usize

source

pub fn chunk_offsets(&self) -> ArrayData

source

pub fn chunks(&self) -> impl Iterator<Item = ArrayData>

source

pub fn array_iterator(&self) -> impl ArrayIterator

source

pub fn array_stream(&self) -> impl ArrayStream

source

pub fn rechunk( +) -> Result<ChunkedArray, VortexError>

pub fn chunk(&self, idx: usize) -> Result<ArrayData, VortexError>

pub fn nchunks(&self) -> usize

pub fn chunk_offsets(&self) -> ArrayData

pub fn chunks(&self) -> impl Iterator<Item = ArrayData>

pub fn array_iterator(&self) -> impl ArrayIterator

pub fn array_stream(&self) -> impl ArrayStream

pub fn rechunk( &self, target_bytesize: usize, target_rowsize: usize, -) -> Result<ChunkedArray, VortexError>

Trait Implementations§

source§

impl AsRef<ArrayData> for ChunkedArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BinaryBooleanFn<ChunkedArray> for ChunkedEncoding

Trait Implementations§

§

impl AsRef<ArrayData> for ChunkedArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl BinaryBooleanFn<ChunkedArray> for ChunkedEncoding

§

fn binary_boolean( &self, lhs: &ChunkedArray, rhs: &ArrayData, op: BinaryOperator, -) -> Result<Option<ArrayData>, VortexError>

source§

impl CastFn<ChunkedArray> for ChunkedEncoding

source§

fn cast( +) -> Result<Option<ArrayData>, VortexError>

§

impl CastFn<ChunkedArray> for ChunkedEncoding

§

fn cast( &self, array: &ChunkedArray, dtype: &DType, -) -> Result<ArrayData, VortexError>

source§

impl Clone for ChunkedArray

source§

fn clone(&self) -> ChunkedArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CompareFn<ChunkedArray> for ChunkedEncoding

source§

fn compare( +) -> Result<ArrayData, VortexError>

§

impl Clone for ChunkedArray

§

fn clone(&self) -> ChunkedArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl CompareFn<ChunkedArray> for ChunkedEncoding

§

fn compare( &self, lhs: &ChunkedArray, rhs: &ArrayData, operator: Operator, ) -> Result<Option<ArrayData>, VortexError>

Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
source§

impl Debug for ChunkedArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl ExtensionArrayTrait for ChunkedArray

source§

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the [ExtDType].
source§

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].
source§

impl FillNullFn<ChunkedArray> for ChunkedEncoding

source§

fn fill_null( +Or, returns None if comparison is not supported for these arrays.

§

impl Debug for ChunkedArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl ExtensionArrayTrait for ChunkedArray

§

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the [ExtDType].
§

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].
§

impl FillNullFn<ChunkedArray> for ChunkedEncoding

§

fn fill_null( &self, array: &ChunkedArray, - fill_value: Scalar, -) -> Result<ArrayData, VortexError>

source§

impl FilterFn<ChunkedArray> for ChunkedEncoding

source§

fn filter( + fill_value: Scalar, +) -> Result<ArrayData, VortexError>

§

impl FilterFn<ChunkedArray> for ChunkedEncoding

§

fn filter( &self, array: &ChunkedArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl FromIterator<ArrayData> for ChunkedArray

source§

fn from_iter<T>(iter: T) -> ChunkedArray
where - T: IntoIterator<Item = ArrayData>,

Creates a value from an iterator. Read more
source§

impl IntoArrayData for ChunkedArray

source§

impl IntoCanonical for ChunkedArray

source§

fn into_canonical(self) -> Result<Canonical, VortexError>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl InvertFn<ChunkedArray> for ChunkedEncoding

source§

fn invert(&self, array: &ChunkedArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
source§

impl PrimitiveArrayTrait for ChunkedArray

source§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<ChunkedArray> for ChunkedEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl FromIterator<ArrayData> for ChunkedArray

§

fn from_iter<T>(iter: T) -> ChunkedArray
where + T: IntoIterator<Item = ArrayData>,

Creates a value from an iterator. Read more
§

impl IntoArrayData for ChunkedArray

§

impl IntoCanonical for ChunkedArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

§

impl InvertFn<ChunkedArray> for ChunkedEncoding

§

fn invert(&self, array: &ChunkedArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
§

impl PrimitiveArrayTrait for ChunkedArray

§

fn ptype(&self) -> PType

§

impl ScalarAtFn<ChunkedArray> for ChunkedEncoding

§

fn scalar_at( &self, array: &ChunkedArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<ChunkedArray> for ChunkedEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<ChunkedArray> for ChunkedEncoding

§

fn slice( &self, array: &ChunkedArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ChunkedArray> for ChunkedEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<ChunkedArray> for ChunkedEncoding

§

fn compute_statistics( &self, array: &ChunkedArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl StructArrayTrait for ChunkedArray

source§

fn field(&self, idx: usize) -> Option<ArrayData>

Return a field’s array by index
source§

fn project(&self, projection: &[Field]) -> Result<ArrayData, VortexError>

source§

fn names(&self) -> &Arc<[Arc<str>]>

source§

fn dtypes(&self) -> &[DType]

source§

fn nfields(&self) -> usize

source§

fn field_by_name(&self, name: &str) -> Option<ArrayData>

Return a field’s array by name
source§

impl SubtractScalarFn<ChunkedArray> for ChunkedEncoding

source§

fn subtract_scalar( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl StructArrayTrait for ChunkedArray

§

fn field(&self, idx: usize) -> Option<ArrayData>

Return a field’s array by index
§

fn project(&self, projection: &[Field]) -> Result<ArrayData, VortexError>

§

fn names(&self) -> &Arc<[Arc<str>]>

§

fn dtypes(&self) -> &[DType]

§

fn nfields(&self) -> usize

§

fn field_by_name(&self, name: &str) -> Option<ArrayData>

Return a field’s array by name
§

impl SubtractScalarFn<ChunkedArray> for ChunkedEncoding

§

fn subtract_scalar( &self, array: &ChunkedArray, - to_subtract: &Scalar, -) -> Result<ArrayData, VortexError>

source§

impl TakeFn<ChunkedArray> for ChunkedEncoding

source§

fn take( + to_subtract: &Scalar, +) -> Result<ArrayData, VortexError>

§

impl TakeFn<ChunkedArray> for ChunkedEncoding

§

fn take( &self, array: &ChunkedArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ChunkedArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a ChunkedArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ChunkedArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<ChunkedArray, VortexError>

Performs the conversion.
source§

impl ValidityVTable<ChunkedArray> for ChunkedEncoding

source§

impl VariantsVTable<ChunkedArray> for ChunkedEncoding

Chunked arrays support all DTypes

-
source§

fn as_null_array<'a>( +given indices. Read more

§

impl<'a> TryFrom<&'a ArrayData> for &'a ChunkedArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a ChunkedArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for ChunkedArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<ChunkedArray, VortexError>

Performs the conversion.
§

impl ValidityVTable<ChunkedArray> for ChunkedEncoding

§

fn is_valid(&self, array: &ChunkedArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ChunkedArray) -> LogicalValidity

§

impl VariantsVTable<ChunkedArray> for ChunkedEncoding

Chunked arrays support all DTypes

+
§

fn as_null_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>( +) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ChunkedArray> for ChunkedEncoding

§

impl VisitorVTable<ChunkedArray> for ChunkedEncoding

§

fn accept( &self, array: &ChunkedArray, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl ArrayTrait for ChunkedArray

source§

impl BinaryArrayTrait for ChunkedArray

source§

impl BoolArrayTrait for ChunkedArray

source§

impl ListArrayTrait for ChunkedArray

source§

impl NullArrayTrait for ChunkedArray

source§

impl Utf8ArrayTrait for ChunkedArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+) -> Result<(), VortexError>
§

impl ArrayTrait for ChunkedArray

§

impl BinaryArrayTrait for ChunkedArray

§

impl BoolArrayTrait for ChunkedArray

§

impl ListArrayTrait for ChunkedArray

§

impl NullArrayTrait for ChunkedArray

§

impl Utf8ArrayTrait for ChunkedArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -110,16 +110,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/array/struct.ChunkedEncoding.html b/docs/rust/doc/vortex/array/struct.ChunkedEncoding.html index 0d58e5f628..6328febc5b 100644 --- a/docs/rust/doc/vortex/array/struct.ChunkedEncoding.html +++ b/docs/rust/doc/vortex/array/struct.ChunkedEncoding.html @@ -1,83 +1,83 @@ -ChunkedEncoding in vortex::array - Rust

Struct vortex::array::ChunkedEncoding

source ·
pub struct ChunkedEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl BinaryBooleanFn<ChunkedArray> for ChunkedEncoding

source§

fn binary_boolean( +ChunkedEncoding in vortex::array - Rust

Struct vortex::array::ChunkedEncoding

pub struct ChunkedEncoding;
Expand description

The array encoding

+

Trait Implementations§

§

impl BinaryBooleanFn<ChunkedArray> for ChunkedEncoding

§

fn binary_boolean( &self, lhs: &ChunkedArray, rhs: &ArrayData, op: BinaryOperator, -) -> Result<Option<ArrayData>, VortexError>

source§

impl CastFn<ChunkedArray> for ChunkedEncoding

source§

fn cast( +) -> Result<Option<ArrayData>, VortexError>

§

impl CastFn<ChunkedArray> for ChunkedEncoding

§

fn cast( &self, array: &ChunkedArray, dtype: &DType, -) -> Result<ArrayData, VortexError>

source§

impl CompareFn<ChunkedArray> for ChunkedEncoding

source§

fn compare( +) -> Result<ArrayData, VortexError>

§

impl CompareFn<ChunkedArray> for ChunkedEncoding

§

fn compare( &self, lhs: &ChunkedArray, rhs: &ArrayData, operator: Operator, ) -> Result<Option<ArrayData>, VortexError>

Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
source§

impl ComputeVTable for ChunkedEncoding

source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

impl Debug for ChunkedEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Encoding for ChunkedEncoding

source§

impl EncodingVTable for ChunkedEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl FillNullFn<ChunkedArray> for ChunkedEncoding

source§

fn fill_null( +Or, returns None if comparison is not supported for these arrays.

§

impl ComputeVTable for ChunkedEncoding

§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

impl Debug for ChunkedEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encoding for ChunkedEncoding

§

impl EncodingVTable for ChunkedEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl FillNullFn<ChunkedArray> for ChunkedEncoding

§

fn fill_null( &self, array: &ChunkedArray, - fill_value: Scalar, -) -> Result<ArrayData, VortexError>

source§

impl FilterFn<ChunkedArray> for ChunkedEncoding

source§

fn filter( + fill_value: Scalar, +) -> Result<ArrayData, VortexError>

§

impl FilterFn<ChunkedArray> for ChunkedEncoding

§

fn filter( &self, array: &ChunkedArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl InvertFn<ChunkedArray> for ChunkedEncoding

source§

fn invert(&self, array: &ChunkedArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
source§

impl ScalarAtFn<ChunkedArray> for ChunkedEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl InvertFn<ChunkedArray> for ChunkedEncoding

§

fn invert(&self, array: &ChunkedArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
§

impl ScalarAtFn<ChunkedArray> for ChunkedEncoding

§

fn scalar_at( &self, array: &ChunkedArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<ChunkedArray> for ChunkedEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<ChunkedArray> for ChunkedEncoding

§

fn slice( &self, array: &ChunkedArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ChunkedArray> for ChunkedEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<ChunkedArray> for ChunkedEncoding

§

fn compute_statistics( &self, array: &ChunkedArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl SubtractScalarFn<ChunkedArray> for ChunkedEncoding

source§

fn subtract_scalar( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl SubtractScalarFn<ChunkedArray> for ChunkedEncoding

§

fn subtract_scalar( &self, array: &ChunkedArray, - to_subtract: &Scalar, -) -> Result<ArrayData, VortexError>

source§

impl TakeFn<ChunkedArray> for ChunkedEncoding

source§

fn take( + to_subtract: &Scalar, +) -> Result<ArrayData, VortexError>

§

impl TakeFn<ChunkedArray> for ChunkedEncoding

§

fn take( &self, array: &ChunkedArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<ChunkedArray> for ChunkedEncoding

source§

impl VariantsVTable<ChunkedArray> for ChunkedEncoding

Chunked arrays support all DTypes

-
source§

fn as_null_array<'a>( +given indices. Read more

§

impl ValidityVTable<ChunkedArray> for ChunkedEncoding

§

fn is_valid(&self, array: &ChunkedArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ChunkedArray) -> LogicalValidity

§

impl VariantsVTable<ChunkedArray> for ChunkedEncoding

Chunked arrays support all DTypes

+
§

fn as_null_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>( +) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, array: &'a ChunkedArray, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ChunkedArray> for ChunkedEncoding

§

impl VisitorVTable<ChunkedArray> for ChunkedEncoding

§

fn accept( &self, array: &ChunkedArray, visitor: &mut dyn ArrayVisitor, @@ -98,9 +98,9 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where +otherwise. Read more

§

impl<E> MetadataVTable for E
where E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, ) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where diff --git a/docs/rust/doc/vortex/array/struct.ChunkedMetadata.html b/docs/rust/doc/vortex/array/struct.ChunkedMetadata.html index c2af46fe9a..ddca7eca76 100644 --- a/docs/rust/doc/vortex/array/struct.ChunkedMetadata.html +++ b/docs/rust/doc/vortex/array/struct.ChunkedMetadata.html @@ -1,8 +1,8 @@ -ChunkedMetadata in vortex::array - Rust

Struct vortex::array::ChunkedMetadata

source ·
pub struct ChunkedMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for ChunkedMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<ChunkedMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for ChunkedMetadata

source§

fn clone(&self) -> ChunkedMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ChunkedMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ChunkedMetadata

source§

fn deserialize<__D>( +ChunkedMetadata in vortex::array - Rust

Struct vortex::array::ChunkedMetadata

pub struct ChunkedMetadata { /* private fields */ }

Trait Implementations§

§

impl ArrayMetadata for ChunkedMetadata

Implement ArrayMetadata

+
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<ChunkedMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Clone for ChunkedMetadata

§

fn clone(&self) -> ChunkedMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ChunkedMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for ChunkedMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<ChunkedMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ChunkedMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for ChunkedMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for ChunkedMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for ChunkedMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -27,13 +27,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/array/struct.ConstantArray.html b/docs/rust/doc/vortex/array/struct.ConstantArray.html index 9c56726f53..1727911a05 100644 --- a/docs/rust/doc/vortex/array/struct.ConstantArray.html +++ b/docs/rust/doc/vortex/array/struct.ConstantArray.html @@ -1,98 +1,98 @@ -ConstantArray in vortex::array - Rust

Struct vortex::array::ConstantArray

source ·
pub struct ConstantArray(/* private fields */);

Implementations§

source§

impl ConstantArray

source

pub fn maybe_from(data: ArrayData) -> Option<ConstantArray>

Optionally downcast an ArrayData instance to a specific encoding.

+ConstantArray in vortex::array - Rust

Struct vortex::array::ConstantArray

pub struct ConstantArray(/* private fields */);

Implementations§

§

impl ConstantArray

pub fn maybe_from(data: ArrayData) -> Option<ConstantArray>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl ConstantArray

source

pub fn new<S>(scalar: S, length: usize) -> ConstantArray
where - S: Into<Scalar>,

source

pub fn scalar(&self) -> Scalar

Returns the Scalar value of this constant array.

-

Trait Implementations§

source§

impl<T> Accessor<T> for ConstantArray
where - T: Clone + TryFrom<Scalar, Error = VortexError>,

source§

fn array_len(&self) -> usize

source§

fn is_valid(&self, index: usize) -> bool

source§

fn value_unchecked(&self, _index: usize) -> T

source§

fn array_validity(&self) -> Validity

source§

fn batch_size(&self, start_idx: usize) -> usize

source§

fn decode_batch(&self, start_idx: usize) -> Vec<T>

source§

impl AsRef<ArrayData> for ConstantArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl BinaryBooleanFn<ConstantArray> for ConstantEncoding

§

impl ConstantArray

pub fn new<S>(scalar: S, length: usize) -> ConstantArray
where + S: Into<Scalar>,

pub fn scalar(&self) -> Scalar

Returns the [Scalar] value of this constant array.

+

Trait Implementations§

§

impl<T> Accessor<T> for ConstantArray
where + T: Clone + TryFrom<Scalar, Error = VortexError>,

§

fn array_len(&self) -> usize

§

fn is_valid(&self, index: usize) -> bool

§

fn value_unchecked(&self, _index: usize) -> T

§

fn array_validity(&self) -> Validity

§

fn batch_size(&self, start_idx: usize) -> usize

§

fn decode_batch(&self, start_idx: usize) -> Vec<T>

§

impl AsRef<ArrayData> for ConstantArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl BinaryBooleanFn<ConstantArray> for ConstantEncoding

§

fn binary_boolean( &self, lhs: &ConstantArray, rhs: &ArrayData, op: BinaryOperator, -) -> Result<Option<ArrayData>, VortexError>

source§

impl Clone for ConstantArray

source§

fn clone(&self) -> ConstantArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CompareFn<ConstantArray> for ConstantEncoding

source§

fn compare( +) -> Result<Option<ArrayData>, VortexError>

§

impl Clone for ConstantArray

§

fn clone(&self) -> ConstantArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl CompareFn<ConstantArray> for ConstantEncoding

§

fn compare( &self, lhs: &ConstantArray, rhs: &ArrayData, operator: Operator, ) -> Result<Option<ArrayData>, VortexError>

Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
source§

impl Debug for ConstantArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl ExtensionArrayTrait for ConstantArray

source§

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the [ExtDType].
source§

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].
source§

impl FilterFn<ConstantArray> for ConstantEncoding

source§

fn filter( +Or, returns None if comparison is not supported for these arrays.

§

impl Debug for ConstantArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl ExtensionArrayTrait for ConstantArray

§

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the [ExtDType].
§

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].
§

impl FilterFn<ConstantArray> for ConstantEncoding

§

fn filter( &self, array: &ConstantArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl IntoArrayData for ConstantArray

source§

impl IntoCanonical for ConstantArray

source§

fn into_canonical(self) -> Result<Canonical, VortexError>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl InvertFn<ConstantArray> for ConstantEncoding

source§

fn invert(&self, array: &ConstantArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
source§

impl PrimitiveArrayTrait for ConstantArray

source§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<ConstantArray> for ConstantEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl IntoArrayData for ConstantArray

§

impl IntoCanonical for ConstantArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

§

impl InvertFn<ConstantArray> for ConstantEncoding

§

fn invert(&self, array: &ConstantArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
§

impl PrimitiveArrayTrait for ConstantArray

§

fn ptype(&self) -> PType

§

impl ScalarAtFn<ConstantArray> for ConstantEncoding

§

fn scalar_at( &self, array: &ConstantArray, _index: usize, -) -> Result<Scalar, VortexError>

source§

impl SearchSortedFn<ConstantArray> for ConstantEncoding

source§

fn search_sorted( +) -> Result<Scalar, VortexError>

§

impl SearchSortedFn<ConstantArray> for ConstantEncoding

§

fn search_sorted( &self, array: &ConstantArray, - value: &Scalar, + value: &Scalar, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_many( &self, array: &Array, - values: &[Scalar], + values: &[Scalar], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
source§

impl SliceFn<ConstantArray> for ConstantEncoding

source§

fn slice( +) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
§

impl SliceFn<ConstantArray> for ConstantEncoding

§

fn slice( &self, array: &ConstantArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ConstantArray> for ConstantEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<ConstantArray> for ConstantEncoding

§

fn compute_statistics( &self, array: &ConstantArray, _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl StructArrayTrait for ConstantArray

source§

fn field(&self, idx: usize) -> Option<ArrayData>

Return a field’s array by index
source§

fn project(&self, projection: &[Field]) -> Result<ArrayData, VortexError>

source§

fn names(&self) -> &Arc<[Arc<str>]>

source§

fn dtypes(&self) -> &[DType]

source§

fn nfields(&self) -> usize

source§

fn field_by_name(&self, name: &str) -> Option<ArrayData>

Return a field’s array by name
source§

impl TakeFn<ConstantArray> for ConstantEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl StructArrayTrait for ConstantArray

§

fn field(&self, idx: usize) -> Option<ArrayData>

Return a field’s array by index
§

fn project(&self, projection: &[Field]) -> Result<ArrayData, VortexError>

§

fn names(&self) -> &Arc<[Arc<str>]>

§

fn dtypes(&self) -> &[DType]

§

fn nfields(&self) -> usize

§

fn field_by_name(&self, name: &str) -> Option<ArrayData>

Return a field’s array by name
§

impl TakeFn<ConstantArray> for ConstantEncoding

§

fn take( &self, array: &ConstantArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ConstantArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a ConstantArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ConstantArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<ConstantArray, VortexError>

Performs the conversion.
source§

impl ValidityVTable<ConstantArray> for ConstantEncoding

source§

impl VariantsVTable<ConstantArray> for ConstantEncoding

Constant arrays support all DTypes

-
source§

fn as_null_array<'a>( +given indices. Read more

§

impl<'a> TryFrom<&'a ArrayData> for &'a ConstantArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a ConstantArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for ConstantArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<ConstantArray, VortexError>

Performs the conversion.
§

impl ValidityVTable<ConstantArray> for ConstantEncoding

§

fn is_valid(&self, array: &ConstantArray, _index: usize) -> bool

§

fn logical_validity(&self, array: &ConstantArray) -> LogicalValidity

§

impl VariantsVTable<ConstantArray> for ConstantEncoding

Constant arrays support all DTypes

+
§

fn as_null_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>( +) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ConstantArray> for ConstantEncoding

§

impl VisitorVTable<ConstantArray> for ConstantEncoding

§

fn accept( &self, _array: &ConstantArray, _visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl ArrayTrait for ConstantArray

source§

impl BinaryArrayTrait for ConstantArray

source§

impl BoolArrayTrait for ConstantArray

source§

impl ListArrayTrait for ConstantArray

source§

impl NullArrayTrait for ConstantArray

source§

impl Utf8ArrayTrait for ConstantArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+) -> Result<(), VortexError>
§

impl ArrayTrait for ConstantArray

§

impl BinaryArrayTrait for ConstantArray

§

impl BoolArrayTrait for ConstantArray

§

impl ListArrayTrait for ConstantArray

§

impl NullArrayTrait for ConstantArray

§

impl Utf8ArrayTrait for ConstantArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -103,16 +103,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/array/struct.ConstantEncoding.html b/docs/rust/doc/vortex/array/struct.ConstantEncoding.html index 4de2c95785..44551c4566 100644 --- a/docs/rust/doc/vortex/array/struct.ConstantEncoding.html +++ b/docs/rust/doc/vortex/array/struct.ConstantEncoding.html @@ -1,81 +1,81 @@ -ConstantEncoding in vortex::array - Rust

Struct vortex::array::ConstantEncoding

source ·
pub struct ConstantEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl BinaryBooleanFn<ConstantArray> for ConstantEncoding

source§

fn binary_boolean( +ConstantEncoding in vortex::array - Rust

Struct vortex::array::ConstantEncoding

pub struct ConstantEncoding;
Expand description

The array encoding

+

Trait Implementations§

§

impl BinaryBooleanFn<ConstantArray> for ConstantEncoding

§

fn binary_boolean( &self, lhs: &ConstantArray, rhs: &ArrayData, op: BinaryOperator, -) -> Result<Option<ArrayData>, VortexError>

source§

impl CompareFn<ConstantArray> for ConstantEncoding

source§

fn compare( +) -> Result<Option<ArrayData>, VortexError>

§

impl CompareFn<ConstantArray> for ConstantEncoding

§

fn compare( &self, lhs: &ConstantArray, rhs: &ArrayData, operator: Operator, ) -> Result<Option<ArrayData>, VortexError>

Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
source§

impl ComputeVTable for ConstantEncoding

source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for ConstantEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Encoding for ConstantEncoding

source§

impl EncodingVTable for ConstantEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl FilterFn<ConstantArray> for ConstantEncoding

source§

fn filter( +Or, returns None if comparison is not supported for these arrays.

§

impl ComputeVTable for ConstantEncoding

§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

impl Debug for ConstantEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encoding for ConstantEncoding

§

impl EncodingVTable for ConstantEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl FilterFn<ConstantArray> for ConstantEncoding

§

fn filter( &self, array: &ConstantArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl InvertFn<ConstantArray> for ConstantEncoding

source§

fn invert(&self, array: &ConstantArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
source§

impl ScalarAtFn<ConstantArray> for ConstantEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl InvertFn<ConstantArray> for ConstantEncoding

§

fn invert(&self, array: &ConstantArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
§

impl ScalarAtFn<ConstantArray> for ConstantEncoding

§

fn scalar_at( &self, array: &ConstantArray, _index: usize, -) -> Result<Scalar, VortexError>

source§

impl SearchSortedFn<ConstantArray> for ConstantEncoding

source§

fn search_sorted( +) -> Result<Scalar, VortexError>

§

impl SearchSortedFn<ConstantArray> for ConstantEncoding

§

fn search_sorted( &self, array: &ConstantArray, - value: &Scalar, + value: &Scalar, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_many( &self, array: &Array, - values: &[Scalar], + values: &[Scalar], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
source§

impl SliceFn<ConstantArray> for ConstantEncoding

source§

fn slice( +) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
§

impl SliceFn<ConstantArray> for ConstantEncoding

§

fn slice( &self, array: &ConstantArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ConstantArray> for ConstantEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<ConstantArray> for ConstantEncoding

§

fn compute_statistics( &self, array: &ConstantArray, _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ConstantArray> for ConstantEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<ConstantArray> for ConstantEncoding

§

fn take( &self, array: &ConstantArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<ConstantArray> for ConstantEncoding

source§

impl VariantsVTable<ConstantArray> for ConstantEncoding

Constant arrays support all DTypes

-
source§

fn as_null_array<'a>( +given indices. Read more

§

impl ValidityVTable<ConstantArray> for ConstantEncoding

§

fn is_valid(&self, array: &ConstantArray, _index: usize) -> bool

§

fn logical_validity(&self, array: &ConstantArray) -> LogicalValidity

§

impl VariantsVTable<ConstantArray> for ConstantEncoding

Constant arrays support all DTypes

+
§

fn as_null_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>( +) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, array: &'a ConstantArray, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ConstantArray> for ConstantEncoding

§

impl VisitorVTable<ConstantArray> for ConstantEncoding

§

fn accept( &self, _array: &ConstantArray, _visitor: &mut dyn ArrayVisitor, @@ -96,9 +96,9 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where +otherwise. Read more

§

impl<E> MetadataVTable for E
where E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, ) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where diff --git a/docs/rust/doc/vortex/array/struct.ConstantMetadata.html b/docs/rust/doc/vortex/array/struct.ConstantMetadata.html index 0dea8b3802..e15a5db7e0 100644 --- a/docs/rust/doc/vortex/array/struct.ConstantMetadata.html +++ b/docs/rust/doc/vortex/array/struct.ConstantMetadata.html @@ -1,8 +1,8 @@ -ConstantMetadata in vortex::array - Rust

Struct vortex::array::ConstantMetadata

source ·
pub struct ConstantMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for ConstantMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<ConstantMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for ConstantMetadata

source§

fn clone(&self) -> ConstantMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ConstantMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ConstantMetadata

source§

fn deserialize<__D>( +ConstantMetadata in vortex::array - Rust

Struct vortex::array::ConstantMetadata

pub struct ConstantMetadata { /* private fields */ }

Trait Implementations§

§

impl ArrayMetadata for ConstantMetadata

Implement ArrayMetadata

+
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<ConstantMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Clone for ConstantMetadata

§

fn clone(&self) -> ConstantMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ConstantMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for ConstantMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<ConstantMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ConstantMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for ConstantMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for ConstantMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for ConstantMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -27,13 +27,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/array/struct.ExtensionArray.html b/docs/rust/doc/vortex/array/struct.ExtensionArray.html index 11df2350de..38c763b9df 100644 --- a/docs/rust/doc/vortex/array/struct.ExtensionArray.html +++ b/docs/rust/doc/vortex/array/struct.ExtensionArray.html @@ -1,65 +1,65 @@ -ExtensionArray in vortex::array - Rust

Struct vortex::array::ExtensionArray

source ·
pub struct ExtensionArray(/* private fields */);

Implementations§

source§

impl ExtensionArray

source

pub fn maybe_from(data: ArrayData) -> Option<ExtensionArray>

Optionally downcast an ArrayData instance to a specific encoding.

+ExtensionArray in vortex::array - Rust

Struct vortex::array::ExtensionArray

pub struct ExtensionArray(/* private fields */);

Implementations§

§

impl ExtensionArray

pub fn maybe_from(data: ArrayData) -> Option<ExtensionArray>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl ExtensionArray

source

pub fn new(ext_dtype: Arc<ExtDType>, storage: ArrayData) -> ExtensionArray

source

pub fn storage(&self) -> ArrayData

source

pub fn id(&self) -> &ExtID

Trait Implementations§

source§

impl AsRef<ArrayData> for ExtensionArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for ExtensionArray

source§

fn clone(&self) -> ExtensionArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CompareFn<ExtensionArray> for ExtensionEncoding

§

impl ExtensionArray

pub fn new(ext_dtype: Arc<ExtDType>, storage: ArrayData) -> ExtensionArray

pub fn storage(&self) -> ArrayData

pub fn id(&self) -> &ExtID

Trait Implementations§

§

impl AsRef<ArrayData> for ExtensionArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Clone for ExtensionArray

§

fn clone(&self) -> ExtensionArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl CompareFn<ExtensionArray> for ExtensionEncoding

§

fn compare( &self, lhs: &ExtensionArray, rhs: &ArrayData, operator: Operator, ) -> Result<Option<ArrayData>, VortexError>

Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
source§

impl Debug for ExtensionArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl ExtensionArrayTrait for ExtensionArray

source§

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the [ExtDType].
source§

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].
source§

impl From<&TemporalArray> for ExtensionArray

source§

fn from(value: &TemporalArray) -> ExtensionArray

Converts to this type from the input type.
source§

impl From<TemporalArray> for ExtensionArray

source§

fn from(value: TemporalArray) -> ExtensionArray

Converts to this type from the input type.
source§

impl IntoArrayData for ExtensionArray

source§

impl IntoCanonical for ExtensionArray

source§

fn into_canonical(self) -> Result<Canonical, VortexError>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl ScalarAtFn<ExtensionArray> for ExtensionEncoding

source§

fn scalar_at( +Or, returns None if comparison is not supported for these arrays.

§

impl Debug for ExtensionArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl ExtensionArrayTrait for ExtensionArray

§

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the [ExtDType].
§

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].
§

impl From<&TemporalArray> for ExtensionArray

§

fn from(value: &TemporalArray) -> ExtensionArray

Converts to this type from the input type.
§

impl From<TemporalArray> for ExtensionArray

§

fn from(value: TemporalArray) -> ExtensionArray

Converts to this type from the input type.
§

impl IntoArrayData for ExtensionArray

§

impl IntoCanonical for ExtensionArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

§

impl ScalarAtFn<ExtensionArray> for ExtensionEncoding

§

fn scalar_at( &self, array: &ExtensionArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<ExtensionArray> for ExtensionEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<ExtensionArray> for ExtensionEncoding

§

fn slice( &self, array: &ExtensionArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ExtensionArray> for ExtensionEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<ExtensionArray> for ExtensionEncoding

§

fn compute_statistics( &self, array: &ExtensionArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ExtensionArray> for ExtensionEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<ExtensionArray> for ExtensionEncoding

§

fn take( &self, array: &ExtensionArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ExtensionArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a ExtensionArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ExtensionArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<ExtensionArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ExtensionArray> for TemporalArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from( +given indices. Read more

§

impl<'a> TryFrom<&'a ArrayData> for &'a ExtensionArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a ExtensionArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for ExtensionArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<ExtensionArray, VortexError>

Performs the conversion.
§

impl TryFrom<ExtensionArray> for TemporalArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from( ext: ExtensionArray, -) -> Result<TemporalArray, <TemporalArray as TryFrom<ExtensionArray>>::Error>

Performs the conversion.
source§

impl ValidityVTable<ExtensionArray> for ExtensionEncoding

source§

impl VariantsVTable<ExtensionArray> for ExtensionEncoding

§

impl ValidityVTable<ExtensionArray> for ExtensionEncoding

§

fn is_valid(&self, array: &ExtensionArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ExtensionArray) -> LogicalValidity

§

impl VariantsVTable<ExtensionArray> for ExtensionEncoding

§

fn as_extension_array<'a>( &self, array: &'a ExtensionArray, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn ExtensionArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

impl VisitorVTable<ExtensionArray> for ExtensionEncoding

source§

fn accept( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

impl VisitorVTable<ExtensionArray> for ExtensionEncoding

§

fn accept( &self, array: &ExtensionArray, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl ArrayTrait for ExtensionArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+) -> Result<(), VortexError>
§

impl ArrayTrait for ExtensionArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -70,16 +70,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/array/struct.ExtensionEncoding.html b/docs/rust/doc/vortex/array/struct.ExtensionEncoding.html index a5901187b4..64c41bf17c 100644 --- a/docs/rust/doc/vortex/array/struct.ExtensionEncoding.html +++ b/docs/rust/doc/vortex/array/struct.ExtensionEncoding.html @@ -1,49 +1,49 @@ -ExtensionEncoding in vortex::array - Rust

Struct vortex::array::ExtensionEncoding

source ·
pub struct ExtensionEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl CompareFn<ExtensionArray> for ExtensionEncoding

source§

fn compare( +ExtensionEncoding in vortex::array - Rust

Struct vortex::array::ExtensionEncoding

pub struct ExtensionEncoding;
Expand description

The array encoding

+

Trait Implementations§

§

impl CompareFn<ExtensionArray> for ExtensionEncoding

§

fn compare( &self, lhs: &ExtensionArray, rhs: &ArrayData, operator: Operator, ) -> Result<Option<ArrayData>, VortexError>

Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
source§

impl ComputeVTable for ExtensionEncoding

source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for ExtensionEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Encoding for ExtensionEncoding

source§

impl EncodingVTable for ExtensionEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl ScalarAtFn<ExtensionArray> for ExtensionEncoding

source§

fn scalar_at( +Or, returns None if comparison is not supported for these arrays.

§

impl ComputeVTable for ExtensionEncoding

§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

impl Debug for ExtensionEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encoding for ExtensionEncoding

§

impl EncodingVTable for ExtensionEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl ScalarAtFn<ExtensionArray> for ExtensionEncoding

§

fn scalar_at( &self, array: &ExtensionArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<ExtensionArray> for ExtensionEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<ExtensionArray> for ExtensionEncoding

§

fn slice( &self, array: &ExtensionArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ExtensionArray> for ExtensionEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<ExtensionArray> for ExtensionEncoding

§

fn compute_statistics( &self, array: &ExtensionArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ExtensionArray> for ExtensionEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<ExtensionArray> for ExtensionEncoding

§

fn take( &self, array: &ExtensionArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more

source§

impl ValidityVTable<ExtensionArray> for ExtensionEncoding

source§

impl VariantsVTable<ExtensionArray> for ExtensionEncoding

source§

fn as_extension_array<'a>( +given indices. Read more

§

impl ValidityVTable<ExtensionArray> for ExtensionEncoding

§

fn is_valid(&self, array: &ExtensionArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ExtensionArray) -> LogicalValidity

§

impl VariantsVTable<ExtensionArray> for ExtensionEncoding

§

fn as_extension_array<'a>( &self, array: &'a ExtensionArray, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn ExtensionArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

impl VisitorVTable<ExtensionArray> for ExtensionEncoding

source§

fn accept( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

impl VisitorVTable<ExtensionArray> for ExtensionEncoding

§

fn accept( &self, array: &ExtensionArray, visitor: &mut dyn ArrayVisitor, @@ -64,9 +64,9 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where +otherwise. Read more

§

impl<E> MetadataVTable for E
where E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, ) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where diff --git a/docs/rust/doc/vortex/array/struct.ExtensionMetadata.html b/docs/rust/doc/vortex/array/struct.ExtensionMetadata.html index b380d6ba3d..7348da425e 100644 --- a/docs/rust/doc/vortex/array/struct.ExtensionMetadata.html +++ b/docs/rust/doc/vortex/array/struct.ExtensionMetadata.html @@ -1,8 +1,8 @@ -ExtensionMetadata in vortex::array - Rust

Struct vortex::array::ExtensionMetadata

source ·
pub struct ExtensionMetadata;

Trait Implementations§

source§

impl ArrayMetadata for ExtensionMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<ExtensionMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for ExtensionMetadata

source§

fn clone(&self) -> ExtensionMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExtensionMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ExtensionMetadata

source§

fn deserialize<__D>( +ExtensionMetadata in vortex::array - Rust

Struct vortex::array::ExtensionMetadata

pub struct ExtensionMetadata;

Trait Implementations§

§

impl ArrayMetadata for ExtensionMetadata

Implement ArrayMetadata

+
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<ExtensionMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Clone for ExtensionMetadata

§

fn clone(&self) -> ExtensionMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ExtensionMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for ExtensionMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<ExtensionMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ExtensionMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for ExtensionMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for ExtensionMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for ExtensionMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -27,13 +27,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/array/struct.Inlined.html b/docs/rust/doc/vortex/array/struct.Inlined.html index 7166a5b8ed..f8ab3cf63d 100644 --- a/docs/rust/doc/vortex/array/struct.Inlined.html +++ b/docs/rust/doc/vortex/array/struct.Inlined.html @@ -1,4 +1,4 @@ -Inlined in vortex::array - Rust

Struct vortex::array::Inlined

source ·
#[repr(C, align(8))]
pub struct Inlined { /* private fields */ }

Implementations§

source§

impl Inlined

source

pub fn new(value: &[u8]) -> Inlined

source

pub fn value(&self) -> &[u8]

Trait Implementations§

source§

impl Clone for Inlined

source§

fn clone(&self) -> Inlined

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Inlined

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Copy for Inlined

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +Inlined in vortex::array - Rust

Struct vortex::array::Inlined

#[repr(C, align(8))]
pub struct Inlined { /* private fields */ }

Implementations§

§

impl Inlined

pub fn new(value: &[u8]) -> Inlined

pub fn value(&self) -> &[u8]

Trait Implementations§

§

impl Clone for Inlined

§

fn clone(&self) -> Inlined

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Inlined

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Copy for Inlined

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex/array/struct.ListArray.html b/docs/rust/doc/vortex/array/struct.ListArray.html index e24ffd53b2..23252e081f 100644 --- a/docs/rust/doc/vortex/array/struct.ListArray.html +++ b/docs/rust/doc/vortex/array/struct.ListArray.html @@ -1,54 +1,54 @@ -ListArray in vortex::array - Rust

Struct vortex::array::ListArray

source ·
pub struct ListArray(/* private fields */);

Implementations§

source§

impl ListArray

source

pub fn maybe_from(data: ArrayData) -> Option<ListArray>

Optionally downcast an ArrayData instance to a specific encoding.

+ListArray in vortex::array - Rust

Struct vortex::array::ListArray

pub struct ListArray(/* private fields */);

Implementations§

§

impl ListArray

pub fn maybe_from(data: ArrayData) -> Option<ListArray>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl ListArray

source

pub fn try_new( +

§

impl ListArray

pub fn try_new( elements: ArrayData, offsets: ArrayData, validity: Validity, -) -> Result<ListArray, VortexError>

source

pub fn validity(&self) -> Validity

source

pub fn offset_at(&self, index: usize) -> usize

source

pub fn elements_at(&self, index: usize) -> Result<ArrayData, VortexError>

source

pub fn offsets(&self) -> ArrayData

source

pub fn elements(&self) -> ArrayData

Trait Implementations§

source§

impl AsRef<ArrayData> for ListArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for ListArray

source§

fn clone(&self) -> ListArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ListArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl IntoArrayData for ListArray

source§

impl IntoCanonical for ListArray

source§

fn into_canonical(self) -> Result<Canonical, VortexError>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl ScalarAtFn<ListArray> for ListEncoding

source§

fn scalar_at( +) -> Result<ListArray, VortexError>

pub fn validity(&self) -> Validity

pub fn offset_at(&self, index: usize) -> usize

pub fn elements_at(&self, index: usize) -> Result<ArrayData, VortexError>

pub fn offsets(&self) -> ArrayData

pub fn elements(&self) -> ArrayData

Trait Implementations§

§

impl AsRef<ArrayData> for ListArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Clone for ListArray

§

fn clone(&self) -> ListArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ListArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl IntoArrayData for ListArray

§

impl IntoCanonical for ListArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

§

impl ScalarAtFn<ListArray> for ListEncoding

§

fn scalar_at( &self, array: &ListArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<ListArray> for ListEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<ListArray> for ListEncoding

§

fn slice( &self, array: &ListArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ListArray> for ListEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<ListArray> for ListEncoding

§

fn compute_statistics( &self, _array: &ListArray, _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ListArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a ListArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ListArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<ListArray, VortexError>

Performs the conversion.
source§

impl ValidityVTable<ListArray> for ListEncoding

source§

fn is_valid(&self, array: &ListArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ListArray) -> LogicalValidity

source§

impl VariantsVTable<ListArray> for ListEncoding

source§

fn as_list_array<'a>( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.

§

impl<'a> TryFrom<&'a ArrayData> for &'a ListArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a ListArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for ListArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<ListArray, VortexError>

Performs the conversion.
§

impl ValidityVTable<ListArray> for ListEncoding

§

fn is_valid(&self, array: &ListArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ListArray) -> LogicalValidity

§

impl VariantsVTable<ListArray> for ListEncoding

§

fn as_list_array<'a>( &self, array: &'a ListArray, -) -> Option<&'a dyn ListArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn ListArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ListArray> for ListEncoding

§

impl VisitorVTable<ListArray> for ListEncoding

§

fn accept( &self, array: &ListArray, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl ArrayTrait for ListArray

source§

impl ListArrayTrait for ListArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+) -> Result<(), VortexError>
§

impl ArrayTrait for ListArray

§

impl ListArrayTrait for ListArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -59,16 +59,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/array/struct.ListEncoding.html b/docs/rust/doc/vortex/array/struct.ListEncoding.html index 8c76910cdd..292854987a 100644 --- a/docs/rust/doc/vortex/array/struct.ListEncoding.html +++ b/docs/rust/doc/vortex/array/struct.ListEncoding.html @@ -1,36 +1,36 @@ -ListEncoding in vortex::array - Rust

Struct vortex::array::ListEncoding

source ·
pub struct ListEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for ListEncoding

source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

impl Debug for ListEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Encoding for ListEncoding

source§

impl EncodingVTable for ListEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl ScalarAtFn<ListArray> for ListEncoding

source§

fn scalar_at( +ListEncoding in vortex::array - Rust

Struct vortex::array::ListEncoding

pub struct ListEncoding;
Expand description

The array encoding

+

Trait Implementations§

§

impl ComputeVTable for ListEncoding

§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

impl Debug for ListEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encoding for ListEncoding

§

impl EncodingVTable for ListEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl ScalarAtFn<ListArray> for ListEncoding

§

fn scalar_at( &self, array: &ListArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<ListArray> for ListEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<ListArray> for ListEncoding

§

fn slice( &self, array: &ListArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ListArray> for ListEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<ListArray> for ListEncoding

§

fn compute_statistics( &self, _array: &ListArray, _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl ValidityVTable<ListArray> for ListEncoding

source§

fn is_valid(&self, array: &ListArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ListArray) -> LogicalValidity

source§

impl VariantsVTable<ListArray> for ListEncoding

source§

fn as_list_array<'a>( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl ValidityVTable<ListArray> for ListEncoding

§

fn is_valid(&self, array: &ListArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ListArray) -> LogicalValidity

§

impl VariantsVTable<ListArray> for ListEncoding

§

fn as_list_array<'a>( &self, array: &'a ListArray, -) -> Option<&'a dyn ListArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn ListArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ListArray> for ListEncoding

§

impl VisitorVTable<ListArray> for ListEncoding

§

fn accept( &self, array: &ListArray, visitor: &mut dyn ArrayVisitor, @@ -51,9 +51,9 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where +otherwise. Read more

§

impl<E> MetadataVTable for E
where E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, ) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where diff --git a/docs/rust/doc/vortex/array/struct.ListMetadata.html b/docs/rust/doc/vortex/array/struct.ListMetadata.html index 52ca27a2ef..6fcfa3c625 100644 --- a/docs/rust/doc/vortex/array/struct.ListMetadata.html +++ b/docs/rust/doc/vortex/array/struct.ListMetadata.html @@ -1,8 +1,8 @@ -ListMetadata in vortex::array - Rust

Struct vortex::array::ListMetadata

source ·
pub struct ListMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for ListMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<ListMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for ListMetadata

source§

fn clone(&self) -> ListMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ListMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ListMetadata

source§

fn deserialize<__D>( +ListMetadata in vortex::array - Rust

Struct vortex::array::ListMetadata

pub struct ListMetadata { /* private fields */ }

Trait Implementations§

§

impl ArrayMetadata for ListMetadata

Implement ArrayMetadata

+
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<ListMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Clone for ListMetadata

§

fn clone(&self) -> ListMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ListMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for ListMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<ListMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ListMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for ListMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for ListMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for ListMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -27,13 +27,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/array/struct.NullArray.html b/docs/rust/doc/vortex/array/struct.NullArray.html index c8f9b7a9b1..0b57f17d3a 100644 --- a/docs/rust/doc/vortex/array/struct.NullArray.html +++ b/docs/rust/doc/vortex/array/struct.NullArray.html @@ -1,60 +1,60 @@ -NullArray in vortex::array - Rust

Struct vortex::array::NullArray

source ·
pub struct NullArray(/* private fields */);

Implementations§

source§

impl NullArray

source

pub fn maybe_from(data: ArrayData) -> Option<NullArray>

Optionally downcast an ArrayData instance to a specific encoding.

+NullArray in vortex::array - Rust

Struct vortex::array::NullArray

pub struct NullArray(/* private fields */);

Implementations§

§

impl NullArray

pub fn maybe_from(data: ArrayData) -> Option<NullArray>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl NullArray

source

pub fn new(len: usize) -> NullArray

Trait Implementations§

source§

impl AsRef<ArrayData> for NullArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for NullArray

source§

fn clone(&self) -> NullArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NullArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl IntoArrayData for NullArray

source§

impl IntoCanonical for NullArray

source§

fn into_canonical(self) -> Result<Canonical, VortexError>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl ScalarAtFn<NullArray> for NullEncoding

§

impl NullArray

pub fn new(len: usize) -> NullArray

Trait Implementations§

§

impl AsRef<ArrayData> for NullArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Clone for NullArray

§

fn clone(&self) -> NullArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for NullArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl IntoArrayData for NullArray

§

impl IntoCanonical for NullArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

§

impl ScalarAtFn<NullArray> for NullEncoding

§

fn scalar_at( &self, _array: &NullArray, _index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<NullArray> for NullEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<NullArray> for NullEncoding

§

fn slice( &self, _array: &NullArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<NullArray> for NullEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<NullArray> for NullEncoding

§

fn compute_statistics( &self, array: &NullArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<NullArray> for NullEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<NullArray> for NullEncoding

§

fn take( &self, array: &NullArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, _array: &NullArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a NullArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a NullArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for NullArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<NullArray, VortexError>

Performs the conversion.
source§

impl ValidityVTable<NullArray> for NullEncoding

source§

fn is_valid(&self, _array: &NullArray, _idx: usize) -> bool

source§

fn logical_validity(&self, array: &NullArray) -> LogicalValidity

source§

impl VariantsVTable<NullArray> for NullEncoding

source§

fn as_null_array<'a>( +given indices. Read more

§

impl<'a> TryFrom<&'a ArrayData> for &'a NullArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a NullArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for NullArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<NullArray, VortexError>

Performs the conversion.
§

impl ValidityVTable<NullArray> for NullEncoding

§

fn is_valid(&self, _array: &NullArray, _idx: usize) -> bool

§

fn logical_validity(&self, array: &NullArray) -> LogicalValidity

§

impl VariantsVTable<NullArray> for NullEncoding

§

fn as_null_array<'a>( &self, array: &'a NullArray, -) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<NullArray> for NullEncoding

§

impl VisitorVTable<NullArray> for NullEncoding

§

fn accept( &self, _array: &NullArray, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl ArrayTrait for NullArray

source§

impl NullArrayTrait for NullArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+) -> Result<(), VortexError>
§

impl ArrayTrait for NullArray

§

impl NullArrayTrait for NullArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -65,16 +65,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/array/struct.NullEncoding.html b/docs/rust/doc/vortex/array/struct.NullEncoding.html index 19a216f0f0..21ba78e66b 100644 --- a/docs/rust/doc/vortex/array/struct.NullEncoding.html +++ b/docs/rust/doc/vortex/array/struct.NullEncoding.html @@ -1,46 +1,46 @@ -NullEncoding in vortex::array - Rust

Struct vortex::array::NullEncoding

source ·
pub struct NullEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for NullEncoding

source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for NullEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Encoding for NullEncoding

source§

impl EncodingVTable for NullEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl ScalarAtFn<NullArray> for NullEncoding

source§

fn scalar_at( +NullEncoding in vortex::array - Rust

Struct vortex::array::NullEncoding

pub struct NullEncoding;
Expand description

The array encoding

+

Trait Implementations§

§

impl ComputeVTable for NullEncoding

§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

impl Debug for NullEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encoding for NullEncoding

§

impl EncodingVTable for NullEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl ScalarAtFn<NullArray> for NullEncoding

§

fn scalar_at( &self, _array: &NullArray, _index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<NullArray> for NullEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<NullArray> for NullEncoding

§

fn slice( &self, _array: &NullArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<NullArray> for NullEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<NullArray> for NullEncoding

§

fn compute_statistics( &self, array: &NullArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<NullArray> for NullEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<NullArray> for NullEncoding

§

fn take( &self, array: &NullArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, _array: &NullArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more

source§

impl ValidityVTable<NullArray> for NullEncoding

source§

fn is_valid(&self, _array: &NullArray, _idx: usize) -> bool

source§

fn logical_validity(&self, array: &NullArray) -> LogicalValidity

source§

impl VariantsVTable<NullArray> for NullEncoding

source§

fn as_null_array<'a>( +given indices. Read more

§

impl ValidityVTable<NullArray> for NullEncoding

§

fn is_valid(&self, _array: &NullArray, _idx: usize) -> bool

§

fn logical_validity(&self, array: &NullArray) -> LogicalValidity

§

impl VariantsVTable<NullArray> for NullEncoding

§

fn as_null_array<'a>( &self, array: &'a NullArray, -) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<NullArray> for NullEncoding

§

impl VisitorVTable<NullArray> for NullEncoding

§

fn accept( &self, _array: &NullArray, visitor: &mut dyn ArrayVisitor, @@ -61,9 +61,9 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where +otherwise. Read more

§

impl<E> MetadataVTable for E
where E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, ) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where diff --git a/docs/rust/doc/vortex/array/struct.NullMetadata.html b/docs/rust/doc/vortex/array/struct.NullMetadata.html index ac9820c151..defb8b43f7 100644 --- a/docs/rust/doc/vortex/array/struct.NullMetadata.html +++ b/docs/rust/doc/vortex/array/struct.NullMetadata.html @@ -1,8 +1,8 @@ -NullMetadata in vortex::array - Rust

Struct vortex::array::NullMetadata

source ·
pub struct NullMetadata;

Trait Implementations§

source§

impl ArrayMetadata for NullMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<NullMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for NullMetadata

source§

fn clone(&self) -> NullMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NullMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for NullMetadata

source§

fn deserialize<__D>( +NullMetadata in vortex::array - Rust

Struct vortex::array::NullMetadata

pub struct NullMetadata;

Trait Implementations§

§

impl ArrayMetadata for NullMetadata

Implement ArrayMetadata

+
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<NullMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Clone for NullMetadata

§

fn clone(&self) -> NullMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for NullMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for NullMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<NullMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for NullMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for NullMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for NullMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for NullMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -27,13 +27,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/array/struct.PrimitiveArray.html b/docs/rust/doc/vortex/array/struct.PrimitiveArray.html index 42df9bc258..b78df0c17c 100644 --- a/docs/rust/doc/vortex/array/struct.PrimitiveArray.html +++ b/docs/rust/doc/vortex/array/struct.PrimitiveArray.html @@ -1,103 +1,103 @@ -PrimitiveArray in vortex::array - Rust

Struct vortex::array::PrimitiveArray

source ·
pub struct PrimitiveArray(/* private fields */);

Implementations§

source§

impl PrimitiveArray

source

pub fn patch(self, patches: Patches) -> Result<PrimitiveArray, VortexError>

source§

impl PrimitiveArray

source

pub fn maybe_from(data: ArrayData) -> Option<PrimitiveArray>

Optionally downcast an ArrayData instance to a specific encoding.

+PrimitiveArray in vortex::array - Rust

Struct vortex::array::PrimitiveArray

pub struct PrimitiveArray(/* private fields */);

Implementations§

§

impl PrimitiveArray

pub fn patch(self, patches: Patches) -> Result<PrimitiveArray, VortexError>

§

impl PrimitiveArray

pub fn maybe_from(data: ArrayData) -> Option<PrimitiveArray>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl PrimitiveArray

source

pub fn new(buffer: Buffer, ptype: PType, validity: Validity) -> PrimitiveArray

source

pub fn from_vec<T>(values: Vec<T>, validity: Validity) -> PrimitiveArray
where - T: NativePType,

source

pub fn from_nullable_vec<T>(values: Vec<Option<T>>) -> PrimitiveArray
where - T: NativePType,

source

pub fn from_bytes(bytes: Bytes, validity: Validity) -> PrimitiveArray

Creates a new array of type U8

-
source

pub fn validity(&self) -> Validity

source

pub fn buffer(&self) -> &Buffer

source

pub fn maybe_null_slice<T>(&self) -> &[T]
where - T: NativePType,

source

pub fn into_maybe_null_slice<T>(self) -> Vec<T>
where +

§

impl PrimitiveArray

pub fn new(buffer: Buffer, ptype: PType, validity: Validity) -> PrimitiveArray

pub fn from_vec<T>(values: Vec<T>, validity: Validity) -> PrimitiveArray
where + T: NativePType,

pub fn from_nullable_vec<T>(values: Vec<Option<T>>) -> PrimitiveArray
where + T: NativePType,

pub fn from_bytes(bytes: Bytes, validity: Validity) -> PrimitiveArray

Creates a new array of type U8

+

pub fn validity(&self) -> Validity

pub fn buffer(&self) -> &Buffer

pub fn maybe_null_slice<T>(&self) -> &[T]
where + T: NativePType,

pub fn into_maybe_null_slice<T>(self) -> Vec<T>
where T: NativePType + ArrowNativeType,

Convert the array into a mutable vec of the given type. If possible, this will be zero-copy.

-
source

pub fn get_as_cast<T>(&self, idx: usize) -> T
where - T: NativePType,

source

pub fn reinterpret_cast(&self, ptype: PType) -> PrimitiveArray

source

pub fn into_buffer(self) -> Buffer

Trait Implementations§

source§

impl<T> Accessor<T> for PrimitiveArray
where - T: NativePType,

source§

fn array_len(&self) -> usize

source§

fn is_valid(&self, index: usize) -> bool

source§

fn value_unchecked(&self, index: usize) -> T

source§

fn array_validity(&self) -> Validity

source§

fn decode_batch(&self, start_idx: usize) -> Vec<T>

source§

fn batch_size(&self, start_idx: usize) -> usize

source§

impl<T> ArrayAccessor<T> for PrimitiveArray
where - T: NativePType,

source§

fn with_iterator<F, R>(&self, f: F) -> Result<R, VortexError>
where - F: for<'a> FnOnce(&mut dyn Iterator<Item = Option<&'a T>>) -> R,

Iterate over each element of the array, in-order. Read more
source§

impl AsRef<ArrayData> for PrimitiveArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl CastFn<PrimitiveArray> for PrimitiveEncoding

pub fn get_as_cast<T>(&self, idx: usize) -> T
where + T: NativePType,

pub fn reinterpret_cast(&self, ptype: PType) -> PrimitiveArray

pub fn into_buffer(self) -> Buffer

Trait Implementations§

§

impl<T> Accessor<T> for PrimitiveArray
where + T: NativePType,

§

fn array_len(&self) -> usize

§

fn is_valid(&self, index: usize) -> bool

§

fn value_unchecked(&self, index: usize) -> T

§

fn array_validity(&self) -> Validity

§

fn decode_batch(&self, start_idx: usize) -> Vec<T>

§

fn batch_size(&self, start_idx: usize) -> usize

§

impl<T> ArrayAccessor<T> for PrimitiveArray
where + T: NativePType,

§

fn with_iterator<F, R>(&self, f: F) -> Result<R, VortexError>
where + F: for<'a> FnOnce(&mut dyn Iterator<Item = Option<&'a T>>) -> R,

Iterate over each element of the array, in-order. Read more
§

impl AsRef<ArrayData> for PrimitiveArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl CastFn<PrimitiveArray> for PrimitiveEncoding

§

fn cast( &self, array: &PrimitiveArray, dtype: &DType, -) -> Result<ArrayData, VortexError>

source§

impl Clone for PrimitiveArray

source§

fn clone(&self) -> PrimitiveArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PrimitiveArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FillForwardFn<PrimitiveArray> for PrimitiveEncoding

source§

fn fill_forward(&self, array: &PrimitiveArray) -> Result<ArrayData, VortexError>

source§

impl FilterFn<PrimitiveArray> for PrimitiveEncoding

source§

fn filter( +) -> Result<ArrayData, VortexError>

§

impl Clone for PrimitiveArray

§

fn clone(&self) -> PrimitiveArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PrimitiveArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl FillForwardFn<PrimitiveArray> for PrimitiveEncoding

§

fn fill_forward(&self, array: &PrimitiveArray) -> Result<ArrayData, VortexError>

§

impl FilterFn<PrimitiveArray> for PrimitiveEncoding

§

fn filter( &self, array: &PrimitiveArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl<T> From<Vec<T>> for PrimitiveArray
where - T: NativePType,

source§

fn from(values: Vec<T>) -> PrimitiveArray

Converts to this type from the input type.
source§

impl<T> FromIterator<Option<T>> for PrimitiveArray
where - T: NativePType,

source§

fn from_iter<I>(iter: I) -> PrimitiveArray
where - I: IntoIterator<Item = Option<T>>,

Creates a value from an iterator. Read more
source§

impl IntoArrayData for PrimitiveArray

source§

impl IntoCanonical for PrimitiveArray

source§

fn into_canonical(self) -> Result<Canonical, VortexError>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl PrimitiveArrayTrait for PrimitiveArray

source§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<PrimitiveArray> for PrimitiveEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl<T> From<Vec<T>> for PrimitiveArray
where + T: NativePType,

§

fn from(values: Vec<T>) -> PrimitiveArray

Converts to this type from the input type.
§

impl<T> FromIterator<Option<T>> for PrimitiveArray
where + T: NativePType,

§

fn from_iter<I>(iter: I) -> PrimitiveArray
where + I: IntoIterator<Item = Option<T>>,

Creates a value from an iterator. Read more
§

impl IntoArrayData for PrimitiveArray

§

impl IntoCanonical for PrimitiveArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

§

impl PrimitiveArrayTrait for PrimitiveArray

§

fn ptype(&self) -> PType

§

impl ScalarAtFn<PrimitiveArray> for PrimitiveEncoding

§

fn scalar_at( &self, array: &PrimitiveArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SearchSortedFn<PrimitiveArray> for PrimitiveEncoding

source§

fn search_sorted( +) -> Result<Scalar, VortexError>

§

impl SearchSortedFn<PrimitiveArray> for PrimitiveEncoding

§

fn search_sorted( &self, array: &PrimitiveArray, - value: &Scalar, + value: &Scalar, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_many( &self, array: &Array, - values: &[Scalar], + values: &[Scalar], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
source§

impl SearchSortedUsizeFn<PrimitiveArray> for PrimitiveEncoding

source§

fn search_sorted_usize( +) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
§

impl SearchSortedUsizeFn<PrimitiveArray> for PrimitiveEncoding

§

fn search_sorted_usize( &self, array: &PrimitiveArray, value: usize, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_usize_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_usize_many( &self, array: &Array, values: &[usize], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

source§

impl SliceFn<PrimitiveArray> for PrimitiveEncoding

source§

fn slice( +) -> Result<Vec<SearchResult>, VortexError>

§

impl SliceFn<PrimitiveArray> for PrimitiveEncoding

§

fn slice( &self, array: &PrimitiveArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<PrimitiveArray> for PrimitiveEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<PrimitiveArray> for PrimitiveEncoding

§

fn compute_statistics( &self, array: &PrimitiveArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl SubtractScalarFn<PrimitiveArray> for PrimitiveEncoding

source§

fn subtract_scalar( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl SubtractScalarFn<PrimitiveArray> for PrimitiveEncoding

§

fn subtract_scalar( &self, array: &PrimitiveArray, - to_subtract: &Scalar, -) -> Result<ArrayData, VortexError>

source§

impl TakeFn<PrimitiveArray> for PrimitiveEncoding

source§

fn take( + to_subtract: &Scalar, +) -> Result<ArrayData, VortexError>

§

impl TakeFn<PrimitiveArray> for PrimitiveEncoding

§

fn take( &self, array: &PrimitiveArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &PrimitiveArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a PrimitiveArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a PrimitiveArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for PrimitiveArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<PrimitiveArray, VortexError>

Performs the conversion.
source§

impl ValidityVTable<PrimitiveArray> for PrimitiveEncoding

source§

impl VariantsVTable<PrimitiveArray> for PrimitiveEncoding

source§

fn as_primitive_array<'a>( +given indices. Read more

§

impl<'a> TryFrom<&'a ArrayData> for &'a PrimitiveArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a PrimitiveArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for PrimitiveArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<PrimitiveArray, VortexError>

Performs the conversion.
§

impl ValidityVTable<PrimitiveArray> for PrimitiveEncoding

§

fn is_valid(&self, array: &PrimitiveArray, index: usize) -> bool

§

fn logical_validity(&self, array: &PrimitiveArray) -> LogicalValidity

§

impl VariantsVTable<PrimitiveArray> for PrimitiveEncoding

§

fn as_primitive_array<'a>( &self, array: &'a PrimitiveArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<PrimitiveArray> for PrimitiveEncoding

§

impl VisitorVTable<PrimitiveArray> for PrimitiveEncoding

§

fn accept( &self, array: &PrimitiveArray, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl ArrayTrait for PrimitiveArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+) -> Result<(), VortexError>
§

impl ArrayTrait for PrimitiveArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -108,16 +108,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/array/struct.PrimitiveEncoding.html b/docs/rust/doc/vortex/array/struct.PrimitiveEncoding.html index 424778bd79..842dedbce6 100644 --- a/docs/rust/doc/vortex/array/struct.PrimitiveEncoding.html +++ b/docs/rust/doc/vortex/array/struct.PrimitiveEncoding.html @@ -1,85 +1,85 @@ -PrimitiveEncoding in vortex::array - Rust

Struct vortex::array::PrimitiveEncoding

source ·
pub struct PrimitiveEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl CastFn<PrimitiveArray> for PrimitiveEncoding

source§

fn cast( +PrimitiveEncoding in vortex::array - Rust

Struct vortex::array::PrimitiveEncoding

pub struct PrimitiveEncoding;
Expand description

The array encoding

+

Trait Implementations§

§

impl CastFn<PrimitiveArray> for PrimitiveEncoding

§

fn cast( &self, array: &PrimitiveArray, dtype: &DType, -) -> Result<ArrayData, VortexError>

source§

impl ComputeVTable for PrimitiveEncoding

source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

impl Debug for PrimitiveEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Encoding for PrimitiveEncoding

source§

impl EncodingVTable for PrimitiveEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl FillForwardFn<PrimitiveArray> for PrimitiveEncoding

source§

fn fill_forward(&self, array: &PrimitiveArray) -> Result<ArrayData, VortexError>

source§

impl FilterFn<PrimitiveArray> for PrimitiveEncoding

source§

fn filter( +) -> Result<ArrayData, VortexError>

§

impl ComputeVTable for PrimitiveEncoding

§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

impl Debug for PrimitiveEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encoding for PrimitiveEncoding

§

impl EncodingVTable for PrimitiveEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl FillForwardFn<PrimitiveArray> for PrimitiveEncoding

§

fn fill_forward(&self, array: &PrimitiveArray) -> Result<ArrayData, VortexError>

§

impl FilterFn<PrimitiveArray> for PrimitiveEncoding

§

fn filter( &self, array: &PrimitiveArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<PrimitiveArray> for PrimitiveEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl ScalarAtFn<PrimitiveArray> for PrimitiveEncoding

§

fn scalar_at( &self, array: &PrimitiveArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SearchSortedFn<PrimitiveArray> for PrimitiveEncoding

source§

fn search_sorted( +) -> Result<Scalar, VortexError>

§

impl SearchSortedFn<PrimitiveArray> for PrimitiveEncoding

§

fn search_sorted( &self, array: &PrimitiveArray, - value: &Scalar, + value: &Scalar, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_many( &self, array: &Array, - values: &[Scalar], + values: &[Scalar], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
source§

impl SearchSortedUsizeFn<PrimitiveArray> for PrimitiveEncoding

source§

fn search_sorted_usize( +) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
§

impl SearchSortedUsizeFn<PrimitiveArray> for PrimitiveEncoding

§

fn search_sorted_usize( &self, array: &PrimitiveArray, value: usize, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_usize_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_usize_many( &self, array: &Array, values: &[usize], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

source§

impl SliceFn<PrimitiveArray> for PrimitiveEncoding

source§

fn slice( +) -> Result<Vec<SearchResult>, VortexError>

§

impl SliceFn<PrimitiveArray> for PrimitiveEncoding

§

fn slice( &self, array: &PrimitiveArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl<T> StatisticsVTable<[T]> for PrimitiveEncoding
where - T: PStatsType,

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl<T> StatisticsVTable<[T]> for PrimitiveEncoding
where + T: PStatsType,

§

fn compute_statistics( &self, array: &[T], stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl<T> StatisticsVTable<NullableValues<'_, T>> for PrimitiveEncoding
where - T: PStatsType,

source§

fn compute_statistics( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl<T> StatisticsVTable<NullableValues<'_, T>> for PrimitiveEncoding
where + T: PStatsType,

§

fn compute_statistics( &self, nulls: &NullableValues<'_, T>, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl StatisticsVTable<PrimitiveArray> for PrimitiveEncoding

source§

fn compute_statistics( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl StatisticsVTable<PrimitiveArray> for PrimitiveEncoding

§

fn compute_statistics( &self, array: &PrimitiveArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl SubtractScalarFn<PrimitiveArray> for PrimitiveEncoding

source§

fn subtract_scalar( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl SubtractScalarFn<PrimitiveArray> for PrimitiveEncoding

§

fn subtract_scalar( &self, array: &PrimitiveArray, - to_subtract: &Scalar, -) -> Result<ArrayData, VortexError>

source§

impl TakeFn<PrimitiveArray> for PrimitiveEncoding

source§

fn take( + to_subtract: &Scalar, +) -> Result<ArrayData, VortexError>

§

impl TakeFn<PrimitiveArray> for PrimitiveEncoding

§

fn take( &self, array: &PrimitiveArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &PrimitiveArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<PrimitiveArray> for PrimitiveEncoding

source§

impl VariantsVTable<PrimitiveArray> for PrimitiveEncoding

source§

fn as_primitive_array<'a>( +given indices. Read more

§

impl ValidityVTable<PrimitiveArray> for PrimitiveEncoding

§

fn is_valid(&self, array: &PrimitiveArray, index: usize) -> bool

§

fn logical_validity(&self, array: &PrimitiveArray) -> LogicalValidity

§

impl VariantsVTable<PrimitiveArray> for PrimitiveEncoding

§

fn as_primitive_array<'a>( &self, array: &'a PrimitiveArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<PrimitiveArray> for PrimitiveEncoding

§

impl VisitorVTable<PrimitiveArray> for PrimitiveEncoding

§

fn accept( &self, array: &PrimitiveArray, visitor: &mut dyn ArrayVisitor, @@ -100,9 +100,9 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where +otherwise. Read more

§

impl<E> MetadataVTable for E
where E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, ) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where diff --git a/docs/rust/doc/vortex/array/struct.PrimitiveMetadata.html b/docs/rust/doc/vortex/array/struct.PrimitiveMetadata.html index f1e4d8af05..1d9dcd39fc 100644 --- a/docs/rust/doc/vortex/array/struct.PrimitiveMetadata.html +++ b/docs/rust/doc/vortex/array/struct.PrimitiveMetadata.html @@ -1,8 +1,8 @@ -PrimitiveMetadata in vortex::array - Rust

Struct vortex::array::PrimitiveMetadata

source ·
pub struct PrimitiveMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for PrimitiveMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<PrimitiveMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for PrimitiveMetadata

source§

fn clone(&self) -> PrimitiveMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PrimitiveMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PrimitiveMetadata

source§

fn deserialize<__D>( +PrimitiveMetadata in vortex::array - Rust

Struct vortex::array::PrimitiveMetadata

pub struct PrimitiveMetadata { /* private fields */ }

Trait Implementations§

§

impl ArrayMetadata for PrimitiveMetadata

Implement ArrayMetadata

+
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<PrimitiveMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Clone for PrimitiveMetadata

§

fn clone(&self) -> PrimitiveMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PrimitiveMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for PrimitiveMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<PrimitiveMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PrimitiveMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for PrimitiveMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for PrimitiveMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for PrimitiveMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -27,13 +27,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/array/struct.Ref.html b/docs/rust/doc/vortex/array/struct.Ref.html index e8044209c4..0b80b9cc7c 100644 --- a/docs/rust/doc/vortex/array/struct.Ref.html +++ b/docs/rust/doc/vortex/array/struct.Ref.html @@ -1,4 +1,4 @@ -Ref in vortex::array - Rust

Struct vortex::array::Ref

source ·
#[repr(C, align(8))]
pub struct Ref { /* private fields */ }

Implementations§

source§

impl Ref

source

pub fn new(size: u32, prefix: [u8; 4], buffer_index: u32, offset: u32) -> Ref

source

pub fn buffer_index(&self) -> u32

source

pub fn offset(&self) -> u32

source

pub fn prefix(&self) -> &[u8; 4]

source

pub fn to_range(&self) -> Range<usize>

Trait Implementations§

source§

impl Clone for Ref

source§

fn clone(&self) -> Ref

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Ref

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Copy for Ref

Auto Trait Implementations§

§

impl Freeze for Ref

§

impl RefUnwindSafe for Ref

§

impl Send for Ref

§

impl Sync for Ref

§

impl Unpin for Ref

§

impl UnwindSafe for Ref

Blanket Implementations§

source§

impl<T> Any for T
where +Ref in vortex::array - Rust

Struct vortex::array::Ref

#[repr(C, align(8))]
pub struct Ref { /* private fields */ }

Implementations§

§

impl Ref

pub fn new(size: u32, prefix: [u8; 4], buffer_index: u32, offset: u32) -> Ref

pub fn buffer_index(&self) -> u32

pub fn offset(&self) -> u32

pub fn prefix(&self) -> &[u8; 4]

pub fn to_range(&self) -> Range<usize>

Trait Implementations§

§

impl Clone for Ref

§

fn clone(&self) -> Ref

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Ref

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Copy for Ref

Auto Trait Implementations§

§

impl Freeze for Ref

§

impl RefUnwindSafe for Ref

§

impl Send for Ref

§

impl Sync for Ref

§

impl Unpin for Ref

§

impl UnwindSafe for Ref

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex/array/struct.SparseArray.html b/docs/rust/doc/vortex/array/struct.SparseArray.html index b38bff3f86..6427c9865a 100644 --- a/docs/rust/doc/vortex/array/struct.SparseArray.html +++ b/docs/rust/doc/vortex/array/struct.SparseArray.html @@ -1,104 +1,104 @@ -SparseArray in vortex::array - Rust

Struct vortex::array::SparseArray

source ·
pub struct SparseArray(/* private fields */);

Implementations§

source§

impl SparseArray

source

pub fn maybe_from(data: ArrayData) -> Option<SparseArray>

Optionally downcast an ArrayData instance to a specific encoding.

+SparseArray in vortex::array - Rust

Struct vortex::array::SparseArray

pub struct SparseArray(/* private fields */);

Implementations§

§

impl SparseArray

pub fn maybe_from(data: ArrayData) -> Option<SparseArray>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl SparseArray

source

pub fn try_new( +

§

impl SparseArray

pub fn try_new( indices: ArrayData, values: ArrayData, len: usize, - fill_value: Scalar, -) -> Result<SparseArray, VortexError>

source

pub fn try_new_from_patches( + fill_value: Scalar, +) -> Result<SparseArray, VortexError>

pub fn try_new_from_patches( patches: Patches, len: usize, indices_offset: usize, - fill_value: Scalar, -) -> Result<SparseArray, VortexError>

source

pub fn indices_offset(&self) -> usize

source

pub fn patches(&self) -> Patches

source

pub fn resolved_patches(&self) -> Result<Patches, VortexError>

source

pub fn fill_scalar(&self) -> Scalar

Trait Implementations§

source§

impl AsRef<ArrayData> for SparseArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for SparseArray

source§

fn clone(&self) -> SparseArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SparseArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl ExtensionArrayTrait for SparseArray

source§

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the [ExtDType].
source§

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].
source§

impl FilterFn<SparseArray> for SparseEncoding

source§

fn filter( + fill_value: Scalar, +) -> Result<SparseArray, VortexError>

pub fn indices_offset(&self) -> usize

pub fn patches(&self) -> Patches

pub fn resolved_patches(&self) -> Result<Patches, VortexError>

pub fn fill_scalar(&self) -> Scalar

Trait Implementations§

§

impl AsRef<ArrayData> for SparseArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Clone for SparseArray

§

fn clone(&self) -> SparseArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for SparseArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl ExtensionArrayTrait for SparseArray

§

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the [ExtDType].
§

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].
§

impl FilterFn<SparseArray> for SparseEncoding

§

fn filter( &self, array: &SparseArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl IntoArrayData for SparseArray

source§

impl IntoCanonical for SparseArray

source§

fn into_canonical(self) -> Result<Canonical, VortexError>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl InvertFn<SparseArray> for SparseEncoding

source§

fn invert(&self, array: &SparseArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
source§

impl PrimitiveArrayTrait for SparseArray

source§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<SparseArray> for SparseEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.

§

impl IntoArrayData for SparseArray

§

impl IntoCanonical for SparseArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

§

impl InvertFn<SparseArray> for SparseEncoding

§

fn invert(&self, array: &SparseArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
§

impl PrimitiveArrayTrait for SparseArray

§

fn ptype(&self) -> PType

§

impl ScalarAtFn<SparseArray> for SparseEncoding

§

fn scalar_at( &self, array: &SparseArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SearchSortedFn<SparseArray> for SparseEncoding

source§

fn search_sorted( +) -> Result<Scalar, VortexError>

§

impl SearchSortedFn<SparseArray> for SparseEncoding

§

fn search_sorted( &self, array: &SparseArray, - value: &Scalar, + value: &Scalar, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_many( &self, array: &Array, - values: &[Scalar], + values: &[Scalar], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
source§

impl SearchSortedUsizeFn<SparseArray> for SparseEncoding

source§

fn search_sorted_usize( +) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
§

impl SearchSortedUsizeFn<SparseArray> for SparseEncoding

§

fn search_sorted_usize( &self, array: &SparseArray, value: usize, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_usize_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_usize_many( &self, array: &Array, values: &[usize], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

source§

impl SliceFn<SparseArray> for SparseEncoding

source§

fn slice( +) -> Result<Vec<SearchResult>, VortexError>

§

impl SliceFn<SparseArray> for SparseEncoding

§

fn slice( &self, array: &SparseArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<SparseArray> for SparseEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<SparseArray> for SparseEncoding

§

fn compute_statistics( &self, array: &SparseArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl StructArrayTrait for SparseArray

source§

fn field(&self, idx: usize) -> Option<ArrayData>

Return a field’s array by index
source§

fn project(&self, projection: &[Field]) -> Result<ArrayData, VortexError>

source§

fn names(&self) -> &Arc<[Arc<str>]>

source§

fn dtypes(&self) -> &[DType]

source§

fn nfields(&self) -> usize

source§

fn field_by_name(&self, name: &str) -> Option<ArrayData>

Return a field’s array by name
source§

impl TakeFn<SparseArray> for SparseEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl StructArrayTrait for SparseArray

§

fn field(&self, idx: usize) -> Option<ArrayData>

Return a field’s array by index
§

fn project(&self, projection: &[Field]) -> Result<ArrayData, VortexError>

§

fn names(&self) -> &Arc<[Arc<str>]>

§

fn dtypes(&self) -> &[DType]

§

fn nfields(&self) -> usize

§

fn field_by_name(&self, name: &str) -> Option<ArrayData>

Return a field’s array by name
§

impl TakeFn<SparseArray> for SparseEncoding

§

fn take( &self, array: &SparseArray, take_indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a SparseArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a SparseArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for SparseArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<SparseArray, VortexError>

Performs the conversion.
source§

impl ValidityVTable<SparseArray> for SparseEncoding

source§

impl VariantsVTable<SparseArray> for SparseEncoding

Sparse arrays support all DTypes

-
source§

fn as_null_array<'a>( +given indices. Read more

§

impl<'a> TryFrom<&'a ArrayData> for &'a SparseArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a SparseArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for SparseArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<SparseArray, VortexError>

Performs the conversion.
§

impl ValidityVTable<SparseArray> for SparseEncoding

§

fn is_valid(&self, array: &SparseArray, index: usize) -> bool

§

fn logical_validity(&self, array: &SparseArray) -> LogicalValidity

§

impl VariantsVTable<SparseArray> for SparseEncoding

Sparse arrays support all DTypes

+
§

fn as_null_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>( +) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<SparseArray> for SparseEncoding

§

impl VisitorVTable<SparseArray> for SparseEncoding

§

fn accept( &self, array: &SparseArray, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl ArrayTrait for SparseArray

source§

impl BinaryArrayTrait for SparseArray

source§

impl BoolArrayTrait for SparseArray

source§

impl ListArrayTrait for SparseArray

source§

impl NullArrayTrait for SparseArray

source§

impl Utf8ArrayTrait for SparseArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+) -> Result<(), VortexError>
§

impl ArrayTrait for SparseArray

§

impl BinaryArrayTrait for SparseArray

§

impl BoolArrayTrait for SparseArray

§

impl ListArrayTrait for SparseArray

§

impl NullArrayTrait for SparseArray

§

impl Utf8ArrayTrait for SparseArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -109,16 +109,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/array/struct.SparseEncoding.html b/docs/rust/doc/vortex/array/struct.SparseEncoding.html index 20092cdae3..fe9f81a6f5 100644 --- a/docs/rust/doc/vortex/array/struct.SparseEncoding.html +++ b/docs/rust/doc/vortex/array/struct.SparseEncoding.html @@ -1,80 +1,80 @@ -SparseEncoding in vortex::array - Rust

Struct vortex::array::SparseEncoding

source ·
pub struct SparseEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for SparseEncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for SparseEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Encoding for SparseEncoding

source§

impl EncodingVTable for SparseEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl FilterFn<SparseArray> for SparseEncoding

source§

fn filter( +SparseEncoding in vortex::array - Rust

Struct vortex::array::SparseEncoding

pub struct SparseEncoding;
Expand description

The array encoding

+

Trait Implementations§

§

impl ComputeVTable for SparseEncoding

§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

impl Debug for SparseEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encoding for SparseEncoding

§

impl EncodingVTable for SparseEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl FilterFn<SparseArray> for SparseEncoding

§

fn filter( &self, array: &SparseArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl InvertFn<SparseArray> for SparseEncoding

source§

fn invert(&self, array: &SparseArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
source§

impl ScalarAtFn<SparseArray> for SparseEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl InvertFn<SparseArray> for SparseEncoding

§

fn invert(&self, array: &SparseArray) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
§

impl ScalarAtFn<SparseArray> for SparseEncoding

§

fn scalar_at( &self, array: &SparseArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SearchSortedFn<SparseArray> for SparseEncoding

source§

fn search_sorted( +) -> Result<Scalar, VortexError>

§

impl SearchSortedFn<SparseArray> for SparseEncoding

§

fn search_sorted( &self, array: &SparseArray, - value: &Scalar, + value: &Scalar, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_many( &self, array: &Array, - values: &[Scalar], + values: &[Scalar], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
source§

impl SearchSortedUsizeFn<SparseArray> for SparseEncoding

Bulk search for many values.
§

impl SearchSortedUsizeFn<SparseArray> for SparseEncoding

§

fn search_sorted_usize( &self, array: &SparseArray, value: usize, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_usize_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_usize_many( &self, array: &Array, values: &[usize], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

source§

impl SliceFn<SparseArray> for SparseEncoding

source§

fn slice( +) -> Result<Vec<SearchResult>, VortexError>

§

impl SliceFn<SparseArray> for SparseEncoding

§

fn slice( &self, array: &SparseArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<SparseArray> for SparseEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<SparseArray> for SparseEncoding

§

fn compute_statistics( &self, array: &SparseArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<SparseArray> for SparseEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<SparseArray> for SparseEncoding

§

fn take( &self, array: &SparseArray, take_indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<SparseArray> for SparseEncoding

source§

impl VariantsVTable<SparseArray> for SparseEncoding

Sparse arrays support all DTypes

-
source§

fn as_null_array<'a>( +given indices. Read more

§

impl ValidityVTable<SparseArray> for SparseEncoding

§

fn is_valid(&self, array: &SparseArray, index: usize) -> bool

§

fn logical_validity(&self, array: &SparseArray) -> LogicalValidity

§

impl VariantsVTable<SparseArray> for SparseEncoding

Sparse arrays support all DTypes

+
§

fn as_null_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>( +) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, array: &'a SparseArray, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<SparseArray> for SparseEncoding

§

impl VisitorVTable<SparseArray> for SparseEncoding

§

fn accept( &self, array: &SparseArray, visitor: &mut dyn ArrayVisitor, @@ -95,9 +95,9 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where +otherwise. Read more

§

impl<E> MetadataVTable for E
where E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, ) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where diff --git a/docs/rust/doc/vortex/array/struct.SparseMetadata.html b/docs/rust/doc/vortex/array/struct.SparseMetadata.html index 1ba4f3b8bf..e8020610a5 100644 --- a/docs/rust/doc/vortex/array/struct.SparseMetadata.html +++ b/docs/rust/doc/vortex/array/struct.SparseMetadata.html @@ -1,8 +1,8 @@ -SparseMetadata in vortex::array - Rust

Struct vortex::array::SparseMetadata

source ·
pub struct SparseMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for SparseMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<SparseMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for SparseMetadata

source§

fn clone(&self) -> SparseMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SparseMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SparseMetadata

source§

fn deserialize<__D>( +SparseMetadata in vortex::array - Rust

Struct vortex::array::SparseMetadata

pub struct SparseMetadata { /* private fields */ }

Trait Implementations§

§

impl ArrayMetadata for SparseMetadata

Implement ArrayMetadata

+
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<SparseMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Clone for SparseMetadata

§

fn clone(&self) -> SparseMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for SparseMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for SparseMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<SparseMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for SparseMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for SparseMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for SparseMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for SparseMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -27,13 +27,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/array/struct.StructArray.html b/docs/rust/doc/vortex/array/struct.StructArray.html index 018209ce9d..a710a1f19c 100644 --- a/docs/rust/doc/vortex/array/struct.StructArray.html +++ b/docs/rust/doc/vortex/array/struct.StructArray.html @@ -1,75 +1,75 @@ -StructArray in vortex::array - Rust

Struct vortex::array::StructArray

source ·
pub struct StructArray(/* private fields */);

Implementations§

source§

impl StructArray

source

pub fn maybe_from(data: ArrayData) -> Option<StructArray>

Optionally downcast an ArrayData instance to a specific encoding.

+StructArray in vortex::array - Rust

Struct vortex::array::StructArray

pub struct StructArray(/* private fields */);

Implementations§

§

impl StructArray

pub fn maybe_from(data: ArrayData) -> Option<StructArray>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl StructArray

source

pub fn validity(&self) -> Validity

source

pub fn children(&self) -> impl Iterator<Item = ArrayData>

source

pub fn try_new( +

§

impl StructArray

pub fn validity(&self) -> Validity

pub fn children(&self) -> impl Iterator<Item = ArrayData>

pub fn try_new( names: Arc<[Arc<str>]>, fields: Vec<ArrayData>, length: usize, validity: Validity, -) -> Result<StructArray, VortexError>

source

pub fn from_fields<N>( +) -> Result<StructArray, VortexError>

pub fn from_fields<N>( items: &[(N, ArrayData)], ) -> Result<StructArray, VortexError>
where - N: AsRef<str>,

source

pub fn project(&self, projection: &[Field]) -> Result<StructArray, VortexError>

Return a new StructArray with the given projection applied.

+ N: AsRef<str>,

pub fn project(&self, projection: &[Field]) -> Result<StructArray, VortexError>

Return a new StructArray with the given projection applied.

Projection does not copy data arrays. Projection is defined by an ordinal array slice which specifies the new ordering of columns in the struct. The projection can be used to perform column re-ordering, deletion, or duplication at a logical level, without any data copying.

-

Trait Implementations§

source§

impl AsRef<ArrayData> for StructArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for StructArray

source§

fn clone(&self) -> StructArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StructArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FilterFn<StructArray> for StructEncoding

Trait Implementations§

§

impl AsRef<ArrayData> for StructArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Clone for StructArray

§

fn clone(&self) -> StructArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for StructArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl FilterFn<StructArray> for StructEncoding

§

fn filter( &self, array: &StructArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl IntoArrayData for StructArray

source§

impl IntoCanonical for StructArray

source§

fn into_canonical(self) -> Result<Canonical, VortexError>

StructEncoding is the canonical form for a [DType::Struct] array, so return self.

-
source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl ScalarAtFn<StructArray> for StructEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl IntoArrayData for StructArray

§

impl IntoCanonical for StructArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

StructEncoding is the canonical form for a [DType::Struct] array, so return self.

+
§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

§

impl ScalarAtFn<StructArray> for StructEncoding

§

fn scalar_at( &self, array: &StructArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<StructArray> for StructEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<StructArray> for StructEncoding

§

fn slice( &self, array: &StructArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<StructArray> for StructEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<StructArray> for StructEncoding

§

fn compute_statistics( &self, array: &StructArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl StructArrayTrait for StructArray

source§

fn field(&self, idx: usize) -> Option<ArrayData>

Return a field’s array by index
source§

fn project(&self, projection: &[Field]) -> Result<ArrayData, VortexError>

source§

fn names(&self) -> &Arc<[Arc<str>]>

source§

fn dtypes(&self) -> &[DType]

source§

fn nfields(&self) -> usize

source§

fn field_by_name(&self, name: &str) -> Option<ArrayData>

Return a field’s array by name
source§

impl TakeFn<StructArray> for StructEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl StructArrayTrait for StructArray

§

fn field(&self, idx: usize) -> Option<ArrayData>

Return a field’s array by index
§

fn project(&self, projection: &[Field]) -> Result<ArrayData, VortexError>

§

fn names(&self) -> &Arc<[Arc<str>]>

§

fn dtypes(&self) -> &[DType]

§

fn nfields(&self) -> usize

§

fn field_by_name(&self, name: &str) -> Option<ArrayData>

Return a field’s array by name
§

impl TakeFn<StructArray> for StructEncoding

§

fn take( &self, array: &StructArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a StructArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a StructArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for StructArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<StructArray, VortexError>

Performs the conversion.
source§

impl ValidityVTable<StructArray> for StructEncoding

source§

impl VariantsVTable<StructArray> for StructEncoding

source§

fn as_struct_array<'a>( +given indices. Read more

§

impl<'a> TryFrom<&'a ArrayData> for &'a StructArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a StructArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for StructArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<StructArray, VortexError>

Performs the conversion.
§

impl ValidityVTable<StructArray> for StructEncoding

§

fn is_valid(&self, array: &StructArray, index: usize) -> bool

§

fn logical_validity(&self, array: &StructArray) -> LogicalValidity

§

impl VariantsVTable<StructArray> for StructEncoding

§

fn as_struct_array<'a>( &self, array: &'a StructArray, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<StructArray> for StructEncoding

§

impl VisitorVTable<StructArray> for StructEncoding

§

fn accept( &self, array: &StructArray, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl ArrayTrait for StructArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+) -> Result<(), VortexError>
§

impl ArrayTrait for StructArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -80,16 +80,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/array/struct.StructEncoding.html b/docs/rust/doc/vortex/array/struct.StructEncoding.html index 4b1e2e7da0..2f04762d80 100644 --- a/docs/rust/doc/vortex/array/struct.StructEncoding.html +++ b/docs/rust/doc/vortex/array/struct.StructEncoding.html @@ -1,47 +1,47 @@ -StructEncoding in vortex::array - Rust

Struct vortex::array::StructEncoding

source ·
pub struct StructEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for StructEncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for StructEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Encoding for StructEncoding

source§

impl EncodingVTable for StructEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl FilterFn<StructArray> for StructEncoding

source§

fn filter( +StructEncoding in vortex::array - Rust

Struct vortex::array::StructEncoding

pub struct StructEncoding;
Expand description

The array encoding

+

Trait Implementations§

§

impl ComputeVTable for StructEncoding

§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

impl Debug for StructEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encoding for StructEncoding

§

impl EncodingVTable for StructEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl FilterFn<StructArray> for StructEncoding

§

fn filter( &self, array: &StructArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<StructArray> for StructEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl ScalarAtFn<StructArray> for StructEncoding

§

fn scalar_at( &self, array: &StructArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<StructArray> for StructEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<StructArray> for StructEncoding

§

fn slice( &self, array: &StructArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<StructArray> for StructEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<StructArray> for StructEncoding

§

fn compute_statistics( &self, array: &StructArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<StructArray> for StructEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<StructArray> for StructEncoding

§

fn take( &self, array: &StructArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<StructArray> for StructEncoding

source§

impl VariantsVTable<StructArray> for StructEncoding

source§

fn as_struct_array<'a>( +given indices. Read more

§

impl ValidityVTable<StructArray> for StructEncoding

§

fn is_valid(&self, array: &StructArray, index: usize) -> bool

§

fn logical_validity(&self, array: &StructArray) -> LogicalValidity

§

impl VariantsVTable<StructArray> for StructEncoding

§

fn as_struct_array<'a>( &self, array: &'a StructArray, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<StructArray> for StructEncoding

§

impl VisitorVTable<StructArray> for StructEncoding

§

fn accept( &self, array: &StructArray, visitor: &mut dyn ArrayVisitor, @@ -62,9 +62,9 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where +otherwise. Read more

§

impl<E> MetadataVTable for E
where E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, ) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where diff --git a/docs/rust/doc/vortex/array/struct.StructMetadata.html b/docs/rust/doc/vortex/array/struct.StructMetadata.html index b1e49ae862..882d0a4ae8 100644 --- a/docs/rust/doc/vortex/array/struct.StructMetadata.html +++ b/docs/rust/doc/vortex/array/struct.StructMetadata.html @@ -1,8 +1,8 @@ -StructMetadata in vortex::array - Rust

Struct vortex::array::StructMetadata

source ·
pub struct StructMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for StructMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<StructMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for StructMetadata

source§

fn clone(&self) -> StructMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StructMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for StructMetadata

source§

fn deserialize<__D>( +StructMetadata in vortex::array - Rust

Struct vortex::array::StructMetadata

pub struct StructMetadata { /* private fields */ }

Trait Implementations§

§

impl ArrayMetadata for StructMetadata

Implement ArrayMetadata

+
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<StructMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Clone for StructMetadata

§

fn clone(&self) -> StructMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for StructMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for StructMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<StructMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StructMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for StructMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for StructMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for StructMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -27,13 +27,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/array/struct.TemporalArray.html b/docs/rust/doc/vortex/array/struct.TemporalArray.html index bc0906ba3d..4bb237dc80 100644 --- a/docs/rust/doc/vortex/array/struct.TemporalArray.html +++ b/docs/rust/doc/vortex/array/struct.TemporalArray.html @@ -1,4 +1,4 @@ -TemporalArray in vortex::array - Rust

Struct vortex::array::TemporalArray

source ·
pub struct TemporalArray { /* private fields */ }
Expand description

An array wrapper for primitive values that have an associated temporal meaning.

+TemporalArray in vortex::array - Rust

Struct vortex::array::TemporalArray

pub struct TemporalArray { /* private fields */ }
Expand description

An array wrapper for primitive values that have an associated temporal meaning.

This is a wrapper around ExtensionArrays containing numeric types, each of which corresponds to either a timestamp or julian date (both referenced to UNIX epoch), OR a time since midnight.

§Arrow compatibility

@@ -12,7 +12,7 @@

Anything that can be constructed and held in a TemporalArray can also be zero-copy converted back to the relevant Arrow datatype.

-

Implementations§

source§

impl TemporalArray

source

pub fn new_date(array: ArrayData, time_unit: TimeUnit) -> TemporalArray

Create a new TemporalArray holding either i32 day offsets, or i64 millisecond offsets +

Implementations§

§

impl TemporalArray

pub fn new_date(array: ArrayData, time_unit: TimeUnit) -> TemporalArray

Create a new TemporalArray holding either i32 day offsets, or i64 millisecond offsets that are evenly divisible by the number of 86,400,000.

This is equivalent to the data described by either of the Date32 or Date64 data types from Arrow.

@@ -20,7 +20,7 @@
§Panics

If the time unit is milliseconds, and the array is not of primitive I64 type, it panics.

If the time unit is days, and the array is not of primitive I32 type, it panics.

If any other time unit is provided, it panics.

-
source

pub fn new_time(array: ArrayData, time_unit: TimeUnit) -> TemporalArray

Create a new TemporalArray holding one of the following values:

+

pub fn new_time(array: ArrayData, time_unit: TimeUnit) -> TemporalArray

Create a new TemporalArray holding one of the following values:

  • i32 values representing seconds since midnight
  • i32 values representing milliseconds since midnight
  • @@ -34,30 +34,30 @@
    §Panics

    If the time unit is milliseconds, and the array is not of primitive I32 type, it panics.

    If the time unit is microseconds, and the array is not of primitive I64 type, it panics.

    If the time unit is nanoseconds, and the array is not of primitive I64 type, it panics.

    -
source

pub fn new_timestamp( +

pub fn new_timestamp( array: ArrayData, - time_unit: TimeUnit, + time_unit: TimeUnit, time_zone: Option<String>, ) -> TemporalArray

Create a new TemporalArray holding Arrow spec compliant Timestamp data, with an optional timezone.

§Panics

If array does not hold Primitive i64 data, the function will panic.

If the time_unit is days, the function will panic.

-
source§

impl TemporalArray

source

pub fn temporal_values(&self) -> ArrayData

Access the underlying temporal values in the underlying ExtensionArray storage.

+
§

impl TemporalArray

pub fn temporal_values(&self) -> ArrayData

Access the underlying temporal values in the underlying ExtensionArray storage.

These values are to be interpreted based on the time unit and optional time-zone stored in the TemporalMetadata.

-
source

pub fn temporal_metadata(&self) -> &TemporalMetadata

Retrieve the temporal metadata.

+

pub fn temporal_metadata(&self) -> &TemporalMetadata

Retrieve the temporal metadata.

The metadata is used to provide semantic meaning to the temporal values Array, for example to understand the granularity of the samples and if they have an associated timezone.

-
source

pub fn ext_dtype(&self) -> Arc<ExtDType>

Retrieve the extension DType associated with the underlying array.

-

Trait Implementations§

source§

impl Clone for TemporalArray

source§

fn clone(&self) -> TemporalArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TemporalArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<&TemporalArray> for ExtensionArray

source§

fn from(value: &TemporalArray) -> ExtensionArray

Converts to this type from the input type.
source§

impl From<TemporalArray> for ArrayData

source§

fn from(value: TemporalArray) -> ArrayData

Converts to this type from the input type.
source§

impl From<TemporalArray> for ExtensionArray

source§

fn from(value: TemporalArray) -> ExtensionArray

Converts to this type from the input type.
source§

impl TryFrom<ArrayData> for TemporalArray

pub fn ext_dtype(&self) -> Arc<ExtDType>

Retrieve the extension DType associated with the underlying array.

+

Trait Implementations§

§

impl Clone for TemporalArray

§

fn clone(&self) -> TemporalArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for TemporalArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<&TemporalArray> for ExtensionArray

§

fn from(value: &TemporalArray) -> ExtensionArray

Converts to this type from the input type.
§

impl From<TemporalArray> for ArrayData

§

fn from(value: TemporalArray) -> ArrayData

Converts to this type from the input type.
§

impl From<TemporalArray> for ExtensionArray

§

fn from(value: TemporalArray) -> ExtensionArray

Converts to this type from the input type.
§

impl TryFrom<ArrayData> for TemporalArray

§

fn try_from( value: ArrayData, ) -> Result<TemporalArray, <TemporalArray as TryFrom<ArrayData>>::Error>

Try to specialize a generic Vortex array as a TemporalArray.

§Errors

If the provided Array does not have vortex.ext encoding, an error will be returned.

If the provided Array does not have recognized ExtMetadata corresponding to one of the known TemporalMetadata variants, an error is returned.

-
source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

impl TryFrom<ExtensionArray> for TemporalArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from( +

§

type Error = VortexError

The type returned in the event of a conversion error.
§

impl TryFrom<ExtensionArray> for TemporalArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from( ext: ExtensionArray, ) -> Result<TemporalArray, <TemporalArray as TryFrom<ExtensionArray>>::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/docs/rust/doc/vortex/array/struct.VarBinArray.html b/docs/rust/doc/vortex/array/struct.VarBinArray.html index d2d9aab324..6abed6148b 100644 --- a/docs/rust/doc/vortex/array/struct.VarBinArray.html +++ b/docs/rust/doc/vortex/array/struct.VarBinArray.html @@ -1,94 +1,94 @@ -VarBinArray in vortex::array - Rust

Struct vortex::array::VarBinArray

source ·
pub struct VarBinArray(/* private fields */);

Implementations§

source§

impl VarBinArray

source

pub fn maybe_from(data: ArrayData) -> Option<VarBinArray>

Optionally downcast an ArrayData instance to a specific encoding.

+VarBinArray in vortex::array - Rust

Struct vortex::array::VarBinArray

pub struct VarBinArray(/* private fields */);

Implementations§

§

impl VarBinArray

pub fn maybe_from(data: ArrayData) -> Option<VarBinArray>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl VarBinArray

source

pub fn try_new( +

§

impl VarBinArray

pub fn try_new( offsets: ArrayData, bytes: ArrayData, dtype: DType, validity: Validity, -) -> Result<VarBinArray, VortexError>

source

pub fn offsets(&self) -> ArrayData

source

pub fn first_offset<T>(&self) -> Result<T, VortexError>
where - T: NativePType + for<'a> TryFrom<&'a Scalar, Error = VortexError>,

source

pub fn bytes(&self) -> ArrayData

Access the value bytes child array

+) -> Result<VarBinArray, VortexError>

pub fn offsets(&self) -> ArrayData

pub fn first_offset<T>(&self) -> Result<T, VortexError>
where + T: NativePType + for<'a> TryFrom<&'a Scalar, Error = VortexError>,

pub fn bytes(&self) -> ArrayData

Access the value bytes child array

§Note

Bytes child array is never sliced when the array is sliced so this can include values that are not logically present in the array. Users should prefer sliced_bytes unless they’re resolving values via offset child array.

-
source

pub fn validity(&self) -> Validity

source

pub fn sliced_bytes(&self) -> Result<ArrayData, VortexError>

Access value bytes child array limited to values that are logically present in +

pub fn validity(&self) -> Validity

pub fn sliced_bytes(&self) -> Result<ArrayData, VortexError>

Access value bytes child array limited to values that are logically present in the array unlike bytes.

-
source

pub fn from_vec<T>(vec: Vec<T>, dtype: DType) -> VarBinArray
where - T: AsRef<[u8]>,

source

pub fn from_iter<T, I>(iter: I, dtype: DType) -> VarBinArray
where +

pub fn from_vec<T>(vec: Vec<T>, dtype: DType) -> VarBinArray
where + T: AsRef<[u8]>,

pub fn from_iter<T, I>(iter: I, dtype: DType) -> VarBinArray
where T: AsRef<[u8]>, - I: IntoIterator<Item = Option<T>>,

source

pub fn from_iter_nonnull<T, I>(iter: I, dtype: DType) -> VarBinArray
where + I: IntoIterator<Item = Option<T>>,

pub fn from_iter_nonnull<T, I>(iter: I, dtype: DType) -> VarBinArray
where T: AsRef<[u8]>, - I: IntoIterator<Item = T>,

source

pub fn offset_at(&self, index: usize) -> usize

source

pub fn bytes_at(&self, index: usize) -> Result<Buffer, VortexError>

source

pub fn into_parts(self) -> (DType, ArrayData, ArrayData, Validity)

Consumes self, returning a tuple containing the DType, the bytes array, + I: IntoIterator<Item = T>,

pub fn offset_at(&self, index: usize) -> usize

pub fn bytes_at(&self, index: usize) -> Result<Buffer, VortexError>

pub fn into_parts(self) -> (DType, ArrayData, ArrayData, Validity)

Consumes self, returning a tuple containing the DType, the bytes array, the offsets array, and the validity.

-

Trait Implementations§

source§

impl ArrayAccessor<[u8]> for VarBinArray

source§

fn with_iterator<F, R>(&self, f: F) -> Result<R, VortexError>
where - F: for<'a> FnOnce(&mut dyn Iterator<Item = Option<&'a [u8]>>) -> R,

Iterate over each element of the array, in-order. Read more
source§

impl AsRef<ArrayData> for VarBinArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for VarBinArray

source§

fn clone(&self) -> VarBinArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CompareFn<VarBinArray> for VarBinEncoding

Trait Implementations§

§

impl ArrayAccessor<[u8]> for VarBinArray

§

fn with_iterator<F, R>(&self, f: F) -> Result<R, VortexError>
where + F: for<'a> FnOnce(&mut dyn Iterator<Item = Option<&'a [u8]>>) -> R,

Iterate over each element of the array, in-order. Read more
§

impl AsRef<ArrayData> for VarBinArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Clone for VarBinArray

§

fn clone(&self) -> VarBinArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl CompareFn<VarBinArray> for VarBinEncoding

§

fn compare( &self, lhs: &VarBinArray, rhs: &ArrayData, operator: Operator, ) -> Result<Option<ArrayData>, VortexError>

Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
source§

impl Debug for VarBinArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FilterFn<VarBinArray> for VarBinEncoding

source§

fn filter( +Or, returns None if comparison is not supported for these arrays.

§

impl Debug for VarBinArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl FilterFn<VarBinArray> for VarBinEncoding

§

fn filter( &self, array: &VarBinArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl From<Vec<&[u8]>> for VarBinArray

source§

fn from(value: Vec<&[u8]>) -> VarBinArray

Converts to this type from the input type.
source§

impl From<Vec<&str>> for VarBinArray

source§

fn from(value: Vec<&str>) -> VarBinArray

Converts to this type from the input type.
source§

impl From<Vec<String>> for VarBinArray

source§

fn from(value: Vec<String>) -> VarBinArray

Converts to this type from the input type.
source§

impl From<Vec<Vec<u8>>> for VarBinArray

source§

fn from(value: Vec<Vec<u8>>) -> VarBinArray

Converts to this type from the input type.
source§

impl<'a> FromIterator<Option<&'a [u8]>> for VarBinArray

source§

fn from_iter<T>(iter: T) -> VarBinArray
where - T: IntoIterator<Item = Option<&'a [u8]>>,

Creates a value from an iterator. Read more
source§

impl<'a> FromIterator<Option<&'a str>> for VarBinArray

source§

fn from_iter<T>(iter: T) -> VarBinArray
where - T: IntoIterator<Item = Option<&'a str>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<String>> for VarBinArray

source§

fn from_iter<T>(iter: T) -> VarBinArray
where - T: IntoIterator<Item = Option<String>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<Vec<u8>>> for VarBinArray

source§

fn from_iter<T>(iter: T) -> VarBinArray
where - T: IntoIterator<Item = Option<Vec<u8>>>,

Creates a value from an iterator. Read more
source§

impl IntoArrayData for VarBinArray

source§

impl IntoCanonical for VarBinArray

source§

fn into_canonical(self) -> Result<Canonical, VortexError>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>

source§

impl ScalarAtFn<VarBinArray> for VarBinEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl From<Vec<&[u8]>> for VarBinArray

§

fn from(value: Vec<&[u8]>) -> VarBinArray

Converts to this type from the input type.
§

impl From<Vec<&str>> for VarBinArray

§

fn from(value: Vec<&str>) -> VarBinArray

Converts to this type from the input type.
§

impl From<Vec<String>> for VarBinArray

§

fn from(value: Vec<String>) -> VarBinArray

Converts to this type from the input type.
§

impl From<Vec<Vec<u8>>> for VarBinArray

§

fn from(value: Vec<Vec<u8>>) -> VarBinArray

Converts to this type from the input type.
§

impl<'a> FromIterator<Option<&'a [u8]>> for VarBinArray

§

fn from_iter<T>(iter: T) -> VarBinArray
where + T: IntoIterator<Item = Option<&'a [u8]>>,

Creates a value from an iterator. Read more
§

impl<'a> FromIterator<Option<&'a str>> for VarBinArray

§

fn from_iter<T>(iter: T) -> VarBinArray
where + T: IntoIterator<Item = Option<&'a str>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<String>> for VarBinArray

§

fn from_iter<T>(iter: T) -> VarBinArray
where + T: IntoIterator<Item = Option<String>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<Vec<u8>>> for VarBinArray

§

fn from_iter<T>(iter: T) -> VarBinArray
where + T: IntoIterator<Item = Option<Vec<u8>>>,

Creates a value from an iterator. Read more
§

impl IntoArrayData for VarBinArray

§

impl IntoCanonical for VarBinArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>

§

impl ScalarAtFn<VarBinArray> for VarBinEncoding

§

fn scalar_at( &self, array: &VarBinArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<VarBinArray> for VarBinEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<VarBinArray> for VarBinEncoding

§

fn slice( &self, array: &VarBinArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<VarBinArray> for VarBinEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<VarBinArray> for VarBinEncoding

§

fn compute_statistics( &self, array: &VarBinArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<VarBinArray> for VarBinEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<VarBinArray> for VarBinEncoding

§

fn take( &self, array: &VarBinArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a VarBinArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a VarBinArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for VarBinArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<VarBinArray, VortexError>

Performs the conversion.
source§

impl ValidityVTable<VarBinArray> for VarBinEncoding

source§

impl VariantsVTable<VarBinArray> for VarBinEncoding

source§

fn as_utf8_array<'a>( +given indices. Read more

§

impl<'a> TryFrom<&'a ArrayData> for &'a VarBinArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a VarBinArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for VarBinArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<VarBinArray, VortexError>

Performs the conversion.
§

impl ValidityVTable<VarBinArray> for VarBinEncoding

§

fn is_valid(&self, array: &VarBinArray, index: usize) -> bool

§

fn logical_validity(&self, array: &VarBinArray) -> LogicalValidity

§

impl VariantsVTable<VarBinArray> for VarBinEncoding

§

fn as_utf8_array<'a>( &self, array: &'a VarBinArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, array: &'a VarBinArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<VarBinArray> for VarBinEncoding

§

impl VisitorVTable<VarBinArray> for VarBinEncoding

§

fn accept( &self, array: &VarBinArray, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl ArrayTrait for VarBinArray

source§

impl BinaryArrayTrait for VarBinArray

source§

impl Utf8ArrayTrait for VarBinArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+) -> Result<(), VortexError>
§

impl ArrayTrait for VarBinArray

§

impl BinaryArrayTrait for VarBinArray

§

impl Utf8ArrayTrait for VarBinArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -99,16 +99,16 @@
§Note
U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/array/struct.VarBinEncoding.html b/docs/rust/doc/vortex/array/struct.VarBinEncoding.html index 5bd42dcfc3..5d2a1dd8c7 100644 --- a/docs/rust/doc/vortex/array/struct.VarBinEncoding.html +++ b/docs/rust/doc/vortex/array/struct.VarBinEncoding.html @@ -1,56 +1,56 @@ -VarBinEncoding in vortex::array - Rust

Struct vortex::array::VarBinEncoding

source ·
pub struct VarBinEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl CompareFn<VarBinArray> for VarBinEncoding

source§

fn compare( +VarBinEncoding in vortex::array - Rust

Struct vortex::array::VarBinEncoding

pub struct VarBinEncoding;
Expand description

The array encoding

+

Trait Implementations§

§

impl CompareFn<VarBinArray> for VarBinEncoding

§

fn compare( &self, lhs: &VarBinArray, rhs: &ArrayData, operator: Operator, ) -> Result<Option<ArrayData>, VortexError>

Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
source§

impl ComputeVTable for VarBinEncoding

source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for VarBinEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Encoding for VarBinEncoding

source§

impl EncodingVTable for VarBinEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl FilterFn<VarBinArray> for VarBinEncoding

source§

fn filter( +Or, returns None if comparison is not supported for these arrays.

§

impl ComputeVTable for VarBinEncoding

§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

impl Debug for VarBinEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encoding for VarBinEncoding

§

impl EncodingVTable for VarBinEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl FilterFn<VarBinArray> for VarBinEncoding

§

fn filter( &self, array: &VarBinArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<VarBinArray> for VarBinEncoding

source§

fn scalar_at( +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl ScalarAtFn<VarBinArray> for VarBinEncoding

§

fn scalar_at( &self, array: &VarBinArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<VarBinArray> for VarBinEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<VarBinArray> for VarBinEncoding

§

fn slice( &self, array: &VarBinArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<VarBinArray> for VarBinEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<VarBinArray> for VarBinEncoding

§

fn compute_statistics( &self, array: &VarBinArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<VarBinArray> for VarBinEncoding

source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<VarBinArray> for VarBinEncoding

§

fn take( &self, array: &VarBinArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<VarBinArray> for VarBinEncoding

source§

impl VariantsVTable<VarBinArray> for VarBinEncoding

source§

fn as_utf8_array<'a>( +given indices. Read more

§

impl ValidityVTable<VarBinArray> for VarBinEncoding

§

fn is_valid(&self, array: &VarBinArray, index: usize) -> bool

§

fn logical_validity(&self, array: &VarBinArray) -> LogicalValidity

§

impl VariantsVTable<VarBinArray> for VarBinEncoding

§

fn as_utf8_array<'a>( &self, array: &'a VarBinArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, array: &'a VarBinArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<VarBinArray> for VarBinEncoding

§

impl VisitorVTable<VarBinArray> for VarBinEncoding

§

fn accept( &self, array: &VarBinArray, visitor: &mut dyn ArrayVisitor, @@ -71,9 +71,9 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where +otherwise. Read more

§

impl<E> MetadataVTable for E
where E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, ) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where diff --git a/docs/rust/doc/vortex/array/struct.VarBinMetadata.html b/docs/rust/doc/vortex/array/struct.VarBinMetadata.html index a56b725994..44bdb1ad01 100644 --- a/docs/rust/doc/vortex/array/struct.VarBinMetadata.html +++ b/docs/rust/doc/vortex/array/struct.VarBinMetadata.html @@ -1,8 +1,8 @@ -VarBinMetadata in vortex::array - Rust

Struct vortex::array::VarBinMetadata

source ·
pub struct VarBinMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for VarBinMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<VarBinMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for VarBinMetadata

source§

fn clone(&self) -> VarBinMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VarBinMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VarBinMetadata

source§

fn deserialize<__D>( +VarBinMetadata in vortex::array - Rust

Struct vortex::array::VarBinMetadata

pub struct VarBinMetadata { /* private fields */ }

Trait Implementations§

§

impl ArrayMetadata for VarBinMetadata

Implement ArrayMetadata

+
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<VarBinMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Clone for VarBinMetadata

§

fn clone(&self) -> VarBinMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for VarBinMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for VarBinMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<VarBinMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VarBinMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for VarBinMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for VarBinMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for VarBinMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -27,13 +27,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/array/struct.VarBinViewArray.html b/docs/rust/doc/vortex/array/struct.VarBinViewArray.html index 67d4a8ec6a..607bb3eb25 100644 --- a/docs/rust/doc/vortex/array/struct.VarBinViewArray.html +++ b/docs/rust/doc/vortex/array/struct.VarBinViewArray.html @@ -1,27 +1,27 @@ -VarBinViewArray in vortex::array - Rust

Struct vortex::array::VarBinViewArray

source ·
pub struct VarBinViewArray(/* private fields */);

Implementations§

source§

impl VarBinViewArray

source

pub fn maybe_from(data: ArrayData) -> Option<VarBinViewArray>

Optionally downcast an ArrayData instance to a specific encoding.

+VarBinViewArray in vortex::array - Rust

Struct vortex::array::VarBinViewArray

pub struct VarBinViewArray(/* private fields */);

Implementations§

§

impl VarBinViewArray

pub fn maybe_from(data: ArrayData) -> Option<VarBinViewArray>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl VarBinViewArray

source

pub fn try_new( +

§

impl VarBinViewArray

pub fn try_new( views: ArrayData, buffers: Vec<ArrayData>, dtype: DType, validity: Validity, -) -> Result<VarBinViewArray, VortexError>

source

pub fn buffer_count(&self) -> usize

Number of raw string data buffers held by this array.

-
source

pub fn binary_views(&self) -> Result<Views, VortexError>

Access to the underlying views child array as a slice of BinaryView structures.

+) -> Result<VarBinViewArray, VortexError>

pub fn buffer_count(&self) -> usize

Number of raw string data buffers held by this array.

+

pub fn binary_views(&self) -> Result<Views, VortexError>

Access to the underlying views child array as a slice of BinaryView structures.

This is useful for iteration over the values, as well as for applying filters that may only require hitting the prefixes or inline strings.

-
source

pub fn view_at(&self, index: usize) -> Result<BinaryView, VortexError>

Retrieve a binary view at a specific index.

+

pub fn view_at(&self, index: usize) -> Result<BinaryView, VortexError>

Retrieve a binary view at a specific index.

If you will be calling this method many times, it’s recommended that you instead use the iterator provided by binary_views.

-
source

pub fn views(&self) -> ArrayData

Access to the primitive views array.

+

pub fn views(&self) -> ArrayData

Access to the primitive views array.

Variable-sized binary view arrays contain a “view” child array, with 16-byte entries that contain either a pointer into one of the array’s owned buffers OR an inlined copy of the string (if the string has 12 bytes or fewer).

-
source

pub fn buffer(&self, idx: usize) -> ArrayData

Access one of the backing data buffers.

+

pub fn buffer(&self, idx: usize) -> ArrayData

Access one of the backing data buffers.

§Panics

This method panics if the provided index is out of bounds for the set of buffers provided at construction time.

-
source

pub fn buffers(&self) -> Buffers<'_>

Retrieve an iterator over the raw data buffers. +

pub fn buffers(&self) -> Buffers<'_>

Retrieve an iterator over the raw data buffers. These are the BYTE buffers that make up the array’s contents.

Example

@@ -30,77 +30,77 @@
§Panics
array.buffers().for_each(|block| { // Do something with the `block` });
-
source

pub fn validity(&self) -> Validity

source

pub fn from_iter<T, I>(iter: I, dtype: DType) -> VarBinViewArray
where +

pub fn validity(&self) -> Validity

pub fn from_iter<T, I>(iter: I, dtype: DType) -> VarBinViewArray
where T: AsRef<[u8]>, I: IntoIterator<Item = Option<T>>,

Accumulate an iterable set of values into our type here.

-
source

pub fn from_iter_str<T, I>(iter: I) -> VarBinViewArray
where +

pub fn from_iter_str<T, I>(iter: I) -> VarBinViewArray
where T: AsRef<str>, - I: IntoIterator<Item = T>,

source

pub fn from_iter_nullable_str<T, I>(iter: I) -> VarBinViewArray
where + I: IntoIterator<Item = T>,

pub fn from_iter_nullable_str<T, I>(iter: I) -> VarBinViewArray
where T: AsRef<str>, - I: IntoIterator<Item = Option<T>>,

source

pub fn from_iter_bin<T, I>(iter: I) -> VarBinViewArray
where + I: IntoIterator<Item = Option<T>>,

pub fn from_iter_bin<T, I>(iter: I) -> VarBinViewArray
where T: AsRef<[u8]>, - I: IntoIterator<Item = T>,

source

pub fn from_iter_nullable_bin<T, I>(iter: I) -> VarBinViewArray
where + I: IntoIterator<Item = T>,

pub fn from_iter_nullable_bin<T, I>(iter: I) -> VarBinViewArray
where T: AsRef<[u8]>, - I: IntoIterator<Item = Option<T>>,

source

pub fn bytes_at(&self, index: usize) -> Result<Vec<u8>, VortexError>

Trait Implementations§

source§

impl ArrayAccessor<[u8]> for VarBinViewArray

source§

fn with_iterator<F, R>(&self, f: F) -> Result<R, VortexError>
where - F: for<'a> FnOnce(&mut dyn Iterator<Item = Option<&'a [u8]>>) -> R,

Iterate over each element of the array, in-order. Read more
source§

impl AsRef<ArrayData> for VarBinViewArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for VarBinViewArray

source§

fn clone(&self) -> VarBinViewArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VarBinViewArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> FromIterator<Option<&'a [u8]>> for VarBinViewArray

source§

fn from_iter<T>(iter: T) -> VarBinViewArray
where - T: IntoIterator<Item = Option<&'a [u8]>>,

Creates a value from an iterator. Read more
source§

impl<'a> FromIterator<Option<&'a str>> for VarBinViewArray

source§

fn from_iter<T>(iter: T) -> VarBinViewArray
where - T: IntoIterator<Item = Option<&'a str>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<String>> for VarBinViewArray

source§

fn from_iter<T>(iter: T) -> VarBinViewArray
where - T: IntoIterator<Item = Option<String>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<Vec<u8>>> for VarBinViewArray

source§

fn from_iter<T>(iter: T) -> VarBinViewArray
where - T: IntoIterator<Item = Option<Vec<u8>>>,

Creates a value from an iterator. Read more
source§

impl IntoArrayData for VarBinViewArray

source§

impl IntoCanonical for VarBinViewArray

source§

fn into_canonical(self) -> Result<Canonical, VortexError>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl ScalarAtFn<VarBinViewArray> for VarBinViewEncoding

pub fn bytes_at(&self, index: usize) -> Result<Vec<u8>, VortexError>

Trait Implementations§

§

impl ArrayAccessor<[u8]> for VarBinViewArray

§

fn with_iterator<F, R>(&self, f: F) -> Result<R, VortexError>
where + F: for<'a> FnOnce(&mut dyn Iterator<Item = Option<&'a [u8]>>) -> R,

Iterate over each element of the array, in-order. Read more
§

impl AsRef<ArrayData> for VarBinViewArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Clone for VarBinViewArray

§

fn clone(&self) -> VarBinViewArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for VarBinViewArray

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'a> FromIterator<Option<&'a [u8]>> for VarBinViewArray

§

fn from_iter<T>(iter: T) -> VarBinViewArray
where + T: IntoIterator<Item = Option<&'a [u8]>>,

Creates a value from an iterator. Read more
§

impl<'a> FromIterator<Option<&'a str>> for VarBinViewArray

§

fn from_iter<T>(iter: T) -> VarBinViewArray
where + T: IntoIterator<Item = Option<&'a str>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<String>> for VarBinViewArray

§

fn from_iter<T>(iter: T) -> VarBinViewArray
where + T: IntoIterator<Item = Option<String>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<Vec<u8>>> for VarBinViewArray

§

fn from_iter<T>(iter: T) -> VarBinViewArray
where + T: IntoIterator<Item = Option<Vec<u8>>>,

Creates a value from an iterator. Read more
§

impl IntoArrayData for VarBinViewArray

§

impl IntoCanonical for VarBinViewArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

§

impl ScalarAtFn<VarBinViewArray> for VarBinViewEncoding

§

fn scalar_at( &self, array: &VarBinViewArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<VarBinViewArray> for VarBinViewEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<VarBinViewArray> for VarBinViewEncoding

§

fn slice( &self, array: &VarBinViewArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<VarBinViewArray> for VarBinViewEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<VarBinViewArray> for VarBinViewEncoding

§

fn compute_statistics( &self, array: &VarBinViewArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<VarBinViewArray> for VarBinViewEncoding

Take involves creating a new array that references the old array, just with the given set of views.

-
source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<VarBinViewArray> for VarBinViewEncoding

Take involves creating a new array that references the old array, just with the given set of views.

+
§

fn take( &self, array: &VarBinViewArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &VarBinViewArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a VarBinViewArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a VarBinViewArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for VarBinViewArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<VarBinViewArray, VortexError>

Performs the conversion.
source§

impl ValidityVTable<VarBinViewArray> for VarBinViewEncoding

source§

impl VariantsVTable<VarBinViewArray> for VarBinViewEncoding

source§

fn as_utf8_array<'a>( +given indices. Read more

§

impl<'a> TryFrom<&'a ArrayData> for &'a VarBinViewArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a VarBinViewArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for VarBinViewArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<VarBinViewArray, VortexError>

Performs the conversion.
§

impl ValidityVTable<VarBinViewArray> for VarBinViewEncoding

§

fn is_valid(&self, array: &VarBinViewArray, index: usize) -> bool

§

fn logical_validity(&self, array: &VarBinViewArray) -> LogicalValidity

§

impl VariantsVTable<VarBinViewArray> for VarBinViewEncoding

§

fn as_utf8_array<'a>( &self, array: &'a VarBinViewArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, array: &'a VarBinViewArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<VarBinViewArray> for VarBinViewEncoding

§

impl VisitorVTable<VarBinViewArray> for VarBinViewEncoding

§

fn accept( &self, array: &VarBinViewArray, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl ArrayTrait for VarBinViewArray

source§

impl BinaryArrayTrait for VarBinViewArray

source§

impl Utf8ArrayTrait for VarBinViewArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+) -> Result<(), VortexError>
§

impl ArrayTrait for VarBinViewArray

§

impl BinaryArrayTrait for VarBinViewArray

§

impl Utf8ArrayTrait for VarBinViewArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -111,16 +111,16 @@
§Panics
U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/array/struct.VarBinViewEncoding.html b/docs/rust/doc/vortex/array/struct.VarBinViewEncoding.html index 9ae339af82..0e01965d27 100644 --- a/docs/rust/doc/vortex/array/struct.VarBinViewEncoding.html +++ b/docs/rust/doc/vortex/array/struct.VarBinViewEncoding.html @@ -1,47 +1,47 @@ -VarBinViewEncoding in vortex::array - Rust

Struct vortex::array::VarBinViewEncoding

source ·
pub struct VarBinViewEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for VarBinViewEncoding

source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for VarBinViewEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Encoding for VarBinViewEncoding

source§

impl EncodingVTable for VarBinViewEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl ScalarAtFn<VarBinViewArray> for VarBinViewEncoding

source§

fn scalar_at( +VarBinViewEncoding in vortex::array - Rust

Struct vortex::array::VarBinViewEncoding

pub struct VarBinViewEncoding;
Expand description

The array encoding

+

Trait Implementations§

§

impl ComputeVTable for VarBinViewEncoding

§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

impl Debug for VarBinViewEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Encoding for VarBinViewEncoding

§

impl EncodingVTable for VarBinViewEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl ScalarAtFn<VarBinViewArray> for VarBinViewEncoding

§

fn scalar_at( &self, array: &VarBinViewArray, index: usize, -) -> Result<Scalar, VortexError>

source§

impl SliceFn<VarBinViewArray> for VarBinViewEncoding

source§

fn slice( +) -> Result<Scalar, VortexError>

§

impl SliceFn<VarBinViewArray> for VarBinViewEncoding

§

fn slice( &self, array: &VarBinViewArray, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<VarBinViewArray> for VarBinViewEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl StatisticsVTable<VarBinViewArray> for VarBinViewEncoding

§

fn compute_statistics( &self, array: &VarBinViewArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<VarBinViewArray> for VarBinViewEncoding

Take involves creating a new array that references the old array, just with the given set of views.

-
source§

fn take( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl TakeFn<VarBinViewArray> for VarBinViewEncoding

Take involves creating a new array that references the old array, just with the given set of views.

+
§

fn take( &self, array: &VarBinViewArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &VarBinViewArray, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more

source§

impl ValidityVTable<VarBinViewArray> for VarBinViewEncoding

source§

impl VariantsVTable<VarBinViewArray> for VarBinViewEncoding

source§

fn as_utf8_array<'a>( +given indices. Read more

§

impl ValidityVTable<VarBinViewArray> for VarBinViewEncoding

§

fn is_valid(&self, array: &VarBinViewArray, index: usize) -> bool

§

fn logical_validity(&self, array: &VarBinViewArray) -> LogicalValidity

§

impl VariantsVTable<VarBinViewArray> for VarBinViewEncoding

§

fn as_utf8_array<'a>( &self, array: &'a VarBinViewArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, array: &'a VarBinViewArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<VarBinViewArray> for VarBinViewEncoding

§

impl VisitorVTable<VarBinViewArray> for VarBinViewEncoding

§

fn accept( &self, array: &VarBinViewArray, visitor: &mut dyn ArrayVisitor, @@ -62,9 +62,9 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where +otherwise. Read more

§

impl<E> MetadataVTable for E
where E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, ) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where diff --git a/docs/rust/doc/vortex/array/struct.VarBinViewMetadata.html b/docs/rust/doc/vortex/array/struct.VarBinViewMetadata.html index d552a92d47..bf0204b562 100644 --- a/docs/rust/doc/vortex/array/struct.VarBinViewMetadata.html +++ b/docs/rust/doc/vortex/array/struct.VarBinViewMetadata.html @@ -1,8 +1,8 @@ -VarBinViewMetadata in vortex::array - Rust

Struct vortex::array::VarBinViewMetadata

source ·
pub struct VarBinViewMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for VarBinViewMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<VarBinViewMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for VarBinViewMetadata

source§

fn clone(&self) -> VarBinViewMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VarBinViewMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VarBinViewMetadata

source§

fn deserialize<__D>( +VarBinViewMetadata in vortex::array - Rust

Struct vortex::array::VarBinViewMetadata

pub struct VarBinViewMetadata { /* private fields */ }

Trait Implementations§

§

impl ArrayMetadata for VarBinViewMetadata

Implement ArrayMetadata

+
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<VarBinViewMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Clone for VarBinViewMetadata

§

fn clone(&self) -> VarBinViewMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for VarBinViewMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for VarBinViewMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<VarBinViewMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VarBinViewMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for VarBinViewMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for VarBinViewMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for VarBinViewMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -27,13 +27,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/array/struct.Views.html b/docs/rust/doc/vortex/array/struct.Views.html index 4ecd5c71cf..dd141aa943 100644 --- a/docs/rust/doc/vortex/array/struct.Views.html +++ b/docs/rust/doc/vortex/array/struct.Views.html @@ -1,4 +1,4 @@ -Views in vortex::array - Rust

Struct vortex::array::Views

source ·
pub struct Views { /* private fields */ }

Trait Implementations§

source§

impl Iterator for Views

source§

type Item = BinaryView

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<Views as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn next_chunk<const N: usize>( +Views in vortex::array - Rust

Struct vortex::array::Views

pub struct Views { /* private fields */ }

Trait Implementations§

§

impl Iterator for Views

§

type Item = BinaryView

The type of the elements being iterated over.
§

fn next(&mut self) -> Option<<Views as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn next_chunk<const N: usize>( &mut self, ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
where Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
1.0.0 · source§

fn count(self) -> usize
where diff --git a/docs/rust/doc/vortex/array/union.BinaryView.html b/docs/rust/doc/vortex/array/union.BinaryView.html index 2eed93c171..1c5ae13af3 100644 --- a/docs/rust/doc/vortex/array/union.BinaryView.html +++ b/docs/rust/doc/vortex/array/union.BinaryView.html @@ -1,13 +1,13 @@ -BinaryView in vortex::array - Rust

Union vortex::array::BinaryView

source ·
#[repr(C, align(8))]
+BinaryView in vortex::array - Rust

Union vortex::array::BinaryView

#[repr(C, align(8))]
 pub union BinaryView {
     /* private fields */
-}

Implementations§

source§

impl BinaryView

source

pub const MAX_INLINED_SIZE: usize = 12usize

source

pub fn new_inlined(value: &[u8]) -> BinaryView

source

pub fn new_view( +}

Implementations§

§

impl BinaryView

pub const MAX_INLINED_SIZE: usize = 12usize

pub fn new_inlined(value: &[u8]) -> BinaryView

pub fn new_view( len: u32, prefix: [u8; 4], block: u32, offset: u32, ) -> BinaryView

Create a new view over bytes stored in a block.

-
source

pub fn len(&self) -> u32

source

pub fn is_empty(&self) -> bool

source

pub fn is_inlined(&self) -> bool

source

pub fn as_inlined(&self) -> &Inlined

source

pub fn as_view(&self) -> &Ref

source

pub fn as_u128(&self) -> u128

Trait Implementations§

source§

impl Clone for BinaryView

source§

fn clone(&self) -> BinaryView

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryView

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<u128> for BinaryView

source§

fn from(value: u128) -> BinaryView

Converts to this type from the input type.
source§

impl Copy for BinaryView

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

pub fn len(&self) -> u32

pub fn is_empty(&self) -> bool

pub fn is_inlined(&self) -> bool

pub fn as_inlined(&self) -> &Inlined

pub fn as_view(&self) -> &Ref

pub fn as_u128(&self) -> u128

Trait Implementations§

§

impl Clone for BinaryView

§

fn clone(&self) -> BinaryView

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for BinaryView

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<u128> for BinaryView

§

fn from(value: u128) -> BinaryView

Converts to this type from the input type.
§

impl Copy for BinaryView

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex/arrow/fn.infer_data_type.html b/docs/rust/doc/vortex/arrow/fn.infer_data_type.html index 75b75a5e2a..d7e64f962d 100644 --- a/docs/rust/doc/vortex/arrow/fn.infer_data_type.html +++ b/docs/rust/doc/vortex/arrow/fn.infer_data_type.html @@ -1,2 +1,2 @@ -infer_data_type in vortex::arrow - Rust

Function vortex::arrow::infer_data_type

source ·
pub fn infer_data_type(dtype: &DType) -> Result<DataType, VortexError>
Expand description

Try to convert a Vortex [DType] into an Arrow [DataType]

+infer_data_type in vortex::arrow - Rust

Function vortex::arrow::infer_data_type

pub fn infer_data_type(dtype: &DType) -> Result<DataType, VortexError>
Expand description

Try to convert a Vortex [DType] into an Arrow [DataType]

\ No newline at end of file diff --git a/docs/rust/doc/vortex/arrow/fn.infer_schema.html b/docs/rust/doc/vortex/arrow/fn.infer_schema.html index 5eb63d1369..154cc52eb3 100644 --- a/docs/rust/doc/vortex/arrow/fn.infer_schema.html +++ b/docs/rust/doc/vortex/arrow/fn.infer_schema.html @@ -1,2 +1,2 @@ -infer_schema in vortex::arrow - Rust

Function vortex::arrow::infer_schema

source ·
pub fn infer_schema(dtype: &DType) -> Result<Schema, VortexError>
Expand description

Convert a Vortex [struct DType][DType] to an Arrow [Schema].

+infer_schema in vortex::arrow - Rust

Function vortex::arrow::infer_schema

pub fn infer_schema(dtype: &DType) -> Result<Schema, VortexError>
Expand description

Convert a Vortex [struct DType][DType] to an Arrow [Schema].

\ No newline at end of file diff --git a/docs/rust/doc/vortex/arrow/index.html b/docs/rust/doc/vortex/arrow/index.html index 65998441da..95a314f7e1 100644 --- a/docs/rust/doc/vortex/arrow/index.html +++ b/docs/rust/doc/vortex/arrow/index.html @@ -1,2 +1,2 @@ -vortex::arrow - Rust

Module vortex::arrow

source ·
Expand description

Utilities to work with Arrow data and types.

+vortex::arrow - Rust

Module vortex::arrow

Expand description

Utilities to work with Arrow data and types.

Modules§

Structs§

  • A wrapper around a generic Arrow array that can be used as a Datum in Arrow compute.

Traits§

Functions§

  • Try to convert a Vortex [DType] into an Arrow [DataType]
  • Convert a Vortex [struct DType][DType] to an Arrow [Schema].
\ No newline at end of file diff --git a/docs/rust/doc/vortex/arrow/struct.Datum.html b/docs/rust/doc/vortex/arrow/struct.Datum.html index 03bc32f32f..720e7e74f7 100644 --- a/docs/rust/doc/vortex/arrow/struct.Datum.html +++ b/docs/rust/doc/vortex/arrow/struct.Datum.html @@ -1,5 +1,5 @@ -Datum in vortex::arrow - Rust

Struct vortex::arrow::Datum

source ·
pub struct Datum { /* private fields */ }
Expand description

A wrapper around a generic Arrow array that can be used as a Datum in Arrow compute.

-

Trait Implementations§

source§

impl Datum for Datum

source§

fn get(&self) -> (&dyn Array, bool)

Returns the value for this [Datum] and a boolean indicating if the value is scalar
source§

impl TryFrom<ArrayData> for Datum

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from( +Datum in vortex::arrow - Rust

Struct vortex::arrow::Datum

pub struct Datum { /* private fields */ }
Expand description

A wrapper around a generic Arrow array that can be used as a Datum in Arrow compute.

+

Trait Implementations§

§

impl Datum for Datum

§

fn get(&self) -> (&dyn Array, bool)

Returns the value for this [Datum] and a boolean indicating if the value is scalar
§

impl TryFrom<ArrayData> for Datum

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from( array: ArrayData, ) -> Result<Datum, <Datum as TryFrom<ArrayData>>::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl Freeze for Datum

§

impl !RefUnwindSafe for Datum

§

impl Send for Datum

§

impl Sync for Datum

§

impl Unpin for Datum

§

impl !UnwindSafe for Datum

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/docs/rust/doc/vortex/arrow/trait.FromArrowArray.html b/docs/rust/doc/vortex/arrow/trait.FromArrowArray.html index e96e35a897..3104e71490 100644 --- a/docs/rust/doc/vortex/arrow/trait.FromArrowArray.html +++ b/docs/rust/doc/vortex/arrow/trait.FromArrowArray.html @@ -1,10 +1,10 @@ -FromArrowArray in vortex::arrow - Rust

Trait vortex::arrow::FromArrowArray

source ·
pub trait FromArrowArray<A> {
+FromArrowArray in vortex::arrow - Rust

Trait vortex::arrow::FromArrowArray

pub trait FromArrowArray<A> {
     // Required method
     fn from_arrow(array: A, nullable: bool) -> Self;
-}

Required Methods§

source

fn from_arrow(array: A, nullable: bool) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl FromArrowArray<&BooleanArray> for ArrayData

source§

impl FromArrowArray<&NullArray> for ArrayData

source§

impl FromArrowArray<&StructArray> for ArrayData

source§

impl FromArrowArray<Arc<dyn Array>> for ArrayData

source§

impl<O> FromArrowArray<&GenericListArray<O>> for ArrayData
where - O: OffsetSizeTrait + NativePType,

source§

impl<T> FromArrowArray<&GenericByteArray<T>> for ArrayData
where +}

Required Methods§

fn from_arrow(array: A, nullable: bool) -> Self

Object Safety§

This trait is not object safe.

Implementors§

§

impl FromArrowArray<&BooleanArray> for ArrayData

§

impl FromArrowArray<&NullArray> for ArrayData

§

impl FromArrowArray<&StructArray> for ArrayData

§

impl FromArrowArray<Arc<dyn Array>> for ArrayData

§

impl<O> FromArrowArray<&GenericListArray<O>> for ArrayData
where + O: OffsetSizeTrait + NativePType,

§

impl<T> FromArrowArray<&GenericByteArray<T>> for ArrayData
where T: ByteArrayType, - <T as ByteArrayType>::Offset: NativePType,

source§

impl<T> FromArrowArray<&GenericByteViewArray<T>> for ArrayData
where - T: ByteViewType,

source§

impl<T> FromArrowArray<&PrimitiveArray<T>> for ArrayData
where + <T as ByteArrayType>::Offset: NativePType,

§

impl<T> FromArrowArray<&GenericByteViewArray<T>> for ArrayData
where + T: ByteViewType,

§

impl<T> FromArrowArray<&PrimitiveArray<T>> for ArrayData
where T: ArrowPrimitiveType, <T as ArrowPrimitiveType>::Native: NativePType,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/arrow/trait.FromArrowType.html b/docs/rust/doc/vortex/arrow/trait.FromArrowType.html index b2b2c8925d..82c287c439 100644 --- a/docs/rust/doc/vortex/arrow/trait.FromArrowType.html +++ b/docs/rust/doc/vortex/arrow/trait.FromArrowType.html @@ -1,4 +1,4 @@ -FromArrowType in vortex::arrow - Rust

Trait vortex::arrow::FromArrowType

source ·
pub trait FromArrowType<T>: Sized {
+FromArrowType in vortex::arrow - Rust

Trait vortex::arrow::FromArrowType

pub trait FromArrowType<T>: Sized {
     // Required method
     fn from_arrow(value: T) -> Self;
-}

Required Methods§

source

fn from_arrow(value: T) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromArrowType<&Field> for DType

source§

fn from_arrow(field: &Field) -> DType

source§

impl FromArrowType<Arc<Schema>> for DType

source§

fn from_arrow(value: Arc<Schema>) -> DType

Implementors§

\ No newline at end of file +}

Required Methods§

fn from_arrow(value: T) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl FromArrowType<&Field> for DType

§

fn from_arrow(field: &Field) -> DType

§

impl FromArrowType<Arc<Schema>> for DType

§

fn from_arrow(value: Arc<Schema>) -> DType

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/arrow/trait.TryFromArrowType.html b/docs/rust/doc/vortex/arrow/trait.TryFromArrowType.html index ec6cd8078f..6f1d1f5164 100644 --- a/docs/rust/doc/vortex/arrow/trait.TryFromArrowType.html +++ b/docs/rust/doc/vortex/arrow/trait.TryFromArrowType.html @@ -1,4 +1,4 @@ -TryFromArrowType in vortex::arrow - Rust

Trait vortex::arrow::TryFromArrowType

source ·
pub trait TryFromArrowType<T>: Sized {
+TryFromArrowType in vortex::arrow - Rust

Trait vortex::arrow::TryFromArrowType

pub trait TryFromArrowType<T>: Sized {
     // Required method
     fn try_from_arrow(value: T) -> Result<Self, VortexError>;
-}

Required Methods§

source

fn try_from_arrow(value: T) -> Result<Self, VortexError>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TryFromArrowType<&DataType> for PType

source§

fn try_from_arrow(value: &DataType) -> Result<PType, VortexError>

Implementors§

\ No newline at end of file +}

Required Methods§

fn try_from_arrow(value: T) -> Result<Self, VortexError>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl TryFromArrowType<&DataType> for PType

§

fn try_from_arrow(value: &DataType) -> Result<PType, VortexError>

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/arrow/wrappers/fn.as_offset_buffer.html b/docs/rust/doc/vortex/arrow/wrappers/fn.as_offset_buffer.html index ee10283c08..b1e76ade29 100644 --- a/docs/rust/doc/vortex/arrow/wrappers/fn.as_offset_buffer.html +++ b/docs/rust/doc/vortex/arrow/wrappers/fn.as_offset_buffer.html @@ -1,2 +1,2 @@ -as_offset_buffer in vortex::arrow::wrappers - Rust

Function vortex::arrow::wrappers::as_offset_buffer

source ·
pub fn as_offset_buffer<T>(array: PrimitiveArray) -> OffsetBuffer<T>
where +as_offset_buffer in vortex::arrow::wrappers - Rust

Function vortex::arrow::wrappers::as_offset_buffer

pub fn as_offset_buffer<T>(array: PrimitiveArray) -> OffsetBuffer<T>
where T: NativePType + ArrowNativeType,
\ No newline at end of file diff --git a/docs/rust/doc/vortex/arrow/wrappers/fn.as_scalar_buffer.html b/docs/rust/doc/vortex/arrow/wrappers/fn.as_scalar_buffer.html index e769473ab7..4af16b2206 100644 --- a/docs/rust/doc/vortex/arrow/wrappers/fn.as_scalar_buffer.html +++ b/docs/rust/doc/vortex/arrow/wrappers/fn.as_scalar_buffer.html @@ -1,2 +1,2 @@ -as_scalar_buffer in vortex::arrow::wrappers - Rust

Function vortex::arrow::wrappers::as_scalar_buffer

source ·
pub fn as_scalar_buffer<T>(array: PrimitiveArray) -> ScalarBuffer<T>
where +as_scalar_buffer in vortex::arrow::wrappers - Rust

Function vortex::arrow::wrappers::as_scalar_buffer

pub fn as_scalar_buffer<T>(array: PrimitiveArray) -> ScalarBuffer<T>
where T: NativePType + ArrowNativeType,
\ No newline at end of file diff --git a/docs/rust/doc/vortex/arrow/wrappers/index.html b/docs/rust/doc/vortex/arrow/wrappers/index.html index 3079ae6863..fb6fabce48 100644 --- a/docs/rust/doc/vortex/arrow/wrappers/index.html +++ b/docs/rust/doc/vortex/arrow/wrappers/index.html @@ -1 +1 @@ -vortex::arrow::wrappers - Rust

Module vortex::arrow::wrappers

source ·

Functions§

\ No newline at end of file +vortex::arrow::wrappers - Rust

Module vortex::arrow::wrappers

Functions§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/builders/fn.builder_with_capacity.html b/docs/rust/doc/vortex/builders/fn.builder_with_capacity.html index 0e2a500425..4eb3b54ea2 100644 --- a/docs/rust/doc/vortex/builders/fn.builder_with_capacity.html +++ b/docs/rust/doc/vortex/builders/fn.builder_with_capacity.html @@ -1,4 +1,4 @@ -builder_with_capacity in vortex::builders - Rust

Function vortex::builders::builder_with_capacity

source ·
pub fn builder_with_capacity(
+builder_with_capacity in vortex::builders - Rust

Function vortex::builders::builder_with_capacity

pub fn builder_with_capacity(
     dtype: &DType,
     capacity: usize,
 ) -> Box<dyn ArrayBuilder>
\ No newline at end of file diff --git a/docs/rust/doc/vortex/builders/index.html b/docs/rust/doc/vortex/builders/index.html index 1700518edd..a47a3116d4 100644 --- a/docs/rust/doc/vortex/builders/index.html +++ b/docs/rust/doc/vortex/builders/index.html @@ -1 +1 @@ -vortex::builders - Rust
\ No newline at end of file +vortex::builders - Rust
\ No newline at end of file diff --git a/docs/rust/doc/vortex/builders/struct.BinaryBuilder.html b/docs/rust/doc/vortex/builders/struct.BinaryBuilder.html index 99d82ef111..de3efd505f 100644 --- a/docs/rust/doc/vortex/builders/struct.BinaryBuilder.html +++ b/docs/rust/doc/vortex/builders/struct.BinaryBuilder.html @@ -1,8 +1,8 @@ -BinaryBuilder in vortex::builders - Rust

Struct vortex::builders::BinaryBuilder

source ·
pub struct BinaryBuilder { /* private fields */ }

Implementations§

source§

impl BinaryBuilder

source

pub fn with_capacity(nullability: Nullability, capacity: usize) -> BinaryBuilder

source

pub fn append_value<S>(&mut self, value: S)
where - S: AsRef<[u8]>,

source

pub fn append_option<S>(&mut self, value: Option<S>)
where - S: AsRef<[u8]>,

Trait Implementations§

source§

impl ArrayBuilder for BinaryBuilder

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

source§

fn dtype(&self) -> &DType

source§

fn len(&self) -> usize

source§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
source§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
source§

fn finish(&mut self) -> Result<ArrayData, VortexError>

source§

fn is_empty(&self) -> bool

source§

fn append_zero(&mut self)

Append a “zero” value to the array.
source§

fn append_null(&mut self)

Append a “null” value to the array.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayBuilderExt for T
where - T: ArrayBuilder + ?Sized,

source§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where +BinaryBuilder in vortex::builders - Rust

Struct vortex::builders::BinaryBuilder

pub struct BinaryBuilder { /* private fields */ }

Implementations§

§

impl BinaryBuilder

pub fn with_capacity(nullability: Nullability, capacity: usize) -> BinaryBuilder

pub fn append_value<S>(&mut self, value: S)
where + S: AsRef<[u8]>,

pub fn append_option<S>(&mut self, value: Option<S>)
where + S: AsRef<[u8]>,

Trait Implementations§

§

impl ArrayBuilder for BinaryBuilder

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

§

fn dtype(&self) -> &DType

§

fn len(&self) -> usize

§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
§

fn finish(&mut self) -> Result<ArrayData, VortexError>

§

fn is_empty(&self) -> bool

§

fn append_zero(&mut self)

Append a “zero” value to the array.
§

fn append_null(&mut self)

Append a “null” value to the array.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayBuilderExt for T
where + T: ArrayBuilder + ?Sized,

§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an diff --git a/docs/rust/doc/vortex/builders/struct.BoolBuilder.html b/docs/rust/doc/vortex/builders/struct.BoolBuilder.html index 610fb4f13a..e5ab5627e9 100644 --- a/docs/rust/doc/vortex/builders/struct.BoolBuilder.html +++ b/docs/rust/doc/vortex/builders/struct.BoolBuilder.html @@ -1,6 +1,6 @@ -BoolBuilder in vortex::builders - Rust

Struct vortex::builders::BoolBuilder

source ·
pub struct BoolBuilder { /* private fields */ }

Implementations§

source§

impl BoolBuilder

source

pub fn new(nullability: Nullability) -> BoolBuilder

source

pub fn with_capacity(nullability: Nullability, capacity: usize) -> BoolBuilder

source

pub fn append_value(&mut self, value: bool)

source

pub fn append_values(&mut self, value: bool, n: usize)

source

pub fn append_option(&mut self, value: Option<bool>)

Trait Implementations§

source§

impl ArrayBuilder for BoolBuilder

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

source§

fn dtype(&self) -> &DType

source§

fn len(&self) -> usize

source§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
source§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
source§

fn finish(&mut self) -> Result<ArrayData, VortexError>

source§

fn is_empty(&self) -> bool

source§

fn append_zero(&mut self)

Append a “zero” value to the array.
source§

fn append_null(&mut self)

Append a “null” value to the array.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayBuilderExt for T
where - T: ArrayBuilder + ?Sized,

source§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where +BoolBuilder in vortex::builders - Rust

Struct vortex::builders::BoolBuilder

pub struct BoolBuilder { /* private fields */ }

Implementations§

§

impl BoolBuilder

pub fn new(nullability: Nullability) -> BoolBuilder

pub fn with_capacity(nullability: Nullability, capacity: usize) -> BoolBuilder

pub fn append_value(&mut self, value: bool)

pub fn append_values(&mut self, value: bool, n: usize)

pub fn append_option(&mut self, value: Option<bool>)

Trait Implementations§

§

impl ArrayBuilder for BoolBuilder

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

§

fn dtype(&self) -> &DType

§

fn len(&self) -> usize

§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
§

fn finish(&mut self) -> Result<ArrayData, VortexError>

§

fn is_empty(&self) -> bool

§

fn append_zero(&mut self)

Append a “zero” value to the array.
§

fn append_null(&mut self)

Append a “null” value to the array.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayBuilderExt for T
where + T: ArrayBuilder + ?Sized,

§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an diff --git a/docs/rust/doc/vortex/builders/struct.ExtensionBuilder.html b/docs/rust/doc/vortex/builders/struct.ExtensionBuilder.html index df42dd3059..653d5ebf30 100644 --- a/docs/rust/doc/vortex/builders/struct.ExtensionBuilder.html +++ b/docs/rust/doc/vortex/builders/struct.ExtensionBuilder.html @@ -1,12 +1,12 @@ -ExtensionBuilder in vortex::builders - Rust

Struct vortex::builders::ExtensionBuilder

source ·
pub struct ExtensionBuilder { /* private fields */ }

Implementations§

source§

impl ExtensionBuilder

source

pub fn new(ext_dtype: Arc<ExtDType>) -> ExtensionBuilder

source

pub fn with_capacity( +ExtensionBuilder in vortex::builders - Rust

Struct vortex::builders::ExtensionBuilder

pub struct ExtensionBuilder { /* private fields */ }

Implementations§

§

impl ExtensionBuilder

pub fn new(ext_dtype: Arc<ExtDType>) -> ExtensionBuilder

pub fn with_capacity( ext_dtype: Arc<ExtDType>, capacity: usize, -) -> ExtensionBuilder

source

pub fn append_value(&mut self, value: ExtScalar<'_>) -> Result<(), VortexError>

source

pub fn append_option( +) -> ExtensionBuilder

pub fn append_value(&mut self, value: ExtScalar<'_>) -> Result<(), VortexError>

pub fn append_option( &mut self, - value: Option<ExtScalar<'_>>, -) -> Result<(), VortexError>

Trait Implementations§

source§

impl ArrayBuilder for ExtensionBuilder

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

source§

fn dtype(&self) -> &DType

source§

fn len(&self) -> usize

source§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
source§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
source§

fn finish(&mut self) -> Result<ArrayData, VortexError>

source§

fn is_empty(&self) -> bool

source§

fn append_zero(&mut self)

Append a “zero” value to the array.
source§

fn append_null(&mut self)

Append a “null” value to the array.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayBuilderExt for T
where - T: ArrayBuilder + ?Sized,

source§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where + value: Option<ExtScalar<'_>>, +) -> Result<(), VortexError>

Trait Implementations§

§

impl ArrayBuilder for ExtensionBuilder

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

§

fn dtype(&self) -> &DType

§

fn len(&self) -> usize

§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
§

fn finish(&mut self) -> Result<ArrayData, VortexError>

§

fn is_empty(&self) -> bool

§

fn append_zero(&mut self)

Append a “zero” value to the array.
§

fn append_null(&mut self)

Append a “null” value to the array.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayBuilderExt for T
where + T: ArrayBuilder + ?Sized,

§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an diff --git a/docs/rust/doc/vortex/builders/struct.NullBuilder.html b/docs/rust/doc/vortex/builders/struct.NullBuilder.html index c00d436be3..a60b2f3343 100644 --- a/docs/rust/doc/vortex/builders/struct.NullBuilder.html +++ b/docs/rust/doc/vortex/builders/struct.NullBuilder.html @@ -1,6 +1,6 @@ -NullBuilder in vortex::builders - Rust

Struct vortex::builders::NullBuilder

source ·
pub struct NullBuilder { /* private fields */ }

Implementations§

Trait Implementations§

source§

impl ArrayBuilder for NullBuilder

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

source§

fn dtype(&self) -> &DType

source§

fn len(&self) -> usize

source§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
source§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
source§

fn finish(&mut self) -> Result<ArrayData, VortexError>

source§

fn is_empty(&self) -> bool

source§

fn append_zero(&mut self)

Append a “zero” value to the array.
source§

fn append_null(&mut self)

Append a “null” value to the array.
source§

impl Default for NullBuilder

source§

fn default() -> NullBuilder

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayBuilderExt for T
where - T: ArrayBuilder + ?Sized,

source§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where +NullBuilder in vortex::builders - Rust

Struct vortex::builders::NullBuilder

pub struct NullBuilder { /* private fields */ }

Implementations§

§

impl NullBuilder

pub fn new() -> NullBuilder

Trait Implementations§

§

impl ArrayBuilder for NullBuilder

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

§

fn dtype(&self) -> &DType

§

fn len(&self) -> usize

§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
§

fn finish(&mut self) -> Result<ArrayData, VortexError>

§

fn is_empty(&self) -> bool

§

fn append_zero(&mut self)

Append a “zero” value to the array.
§

fn append_null(&mut self)

Append a “null” value to the array.
§

impl Default for NullBuilder

§

fn default() -> NullBuilder

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayBuilderExt for T
where + T: ArrayBuilder + ?Sized,

§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an diff --git a/docs/rust/doc/vortex/builders/struct.PrimitiveBuilder.html b/docs/rust/doc/vortex/builders/struct.PrimitiveBuilder.html index c57147dea6..a4ffb0b192 100644 --- a/docs/rust/doc/vortex/builders/struct.PrimitiveBuilder.html +++ b/docs/rust/doc/vortex/builders/struct.PrimitiveBuilder.html @@ -1,14 +1,14 @@ -PrimitiveBuilder in vortex::builders - Rust

Struct vortex::builders::PrimitiveBuilder

source ·
pub struct PrimitiveBuilder<T>
where - T: NativePType,
{ /* private fields */ }

Implementations§

source§

impl<T> PrimitiveBuilder<T>
where - T: NativePType + 'static,

source

pub fn new(nullability: Nullability) -> PrimitiveBuilder<T>

source

pub fn with_capacity( +PrimitiveBuilder in vortex::builders - Rust

Struct vortex::builders::PrimitiveBuilder

pub struct PrimitiveBuilder<T>
where + T: NativePType,
{ /* private fields */ }

Implementations§

§

impl<T> PrimitiveBuilder<T>
where + T: NativePType + 'static,

pub fn new(nullability: Nullability) -> PrimitiveBuilder<T>

pub fn with_capacity( nullability: Nullability, capacity: usize, -) -> PrimitiveBuilder<T>

source

pub fn append_value(&mut self, value: T)

source

pub fn append_option(&mut self, value: Option<T>)

Trait Implementations§

source§

impl<T> ArrayBuilder for PrimitiveBuilder<T>
where - T: NativePType + 'static,

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

source§

fn dtype(&self) -> &DType

source§

fn len(&self) -> usize

source§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
source§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
source§

fn finish(&mut self) -> Result<ArrayData, VortexError>

source§

fn is_empty(&self) -> bool

source§

fn append_zero(&mut self)

Append a “zero” value to the array.
source§

fn append_null(&mut self)

Append a “null” value to the array.

Auto Trait Implementations§

§

impl<T> Freeze for PrimitiveBuilder<T>

§

impl<T> RefUnwindSafe for PrimitiveBuilder<T>

§

impl<T> Send for PrimitiveBuilder<T>

§

impl<T> Sync for PrimitiveBuilder<T>

§

impl<T> Unpin for PrimitiveBuilder<T>
where +) -> PrimitiveBuilder<T>

pub fn append_value(&mut self, value: T)

pub fn append_option(&mut self, value: Option<T>)

Trait Implementations§

§

impl<T> ArrayBuilder for PrimitiveBuilder<T>
where + T: NativePType + 'static,

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

§

fn dtype(&self) -> &DType

§

fn len(&self) -> usize

§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
§

fn finish(&mut self) -> Result<ArrayData, VortexError>

§

fn is_empty(&self) -> bool

§

fn append_zero(&mut self)

Append a “zero” value to the array.
§

fn append_null(&mut self)

Append a “null” value to the array.

Auto Trait Implementations§

§

impl<T> Freeze for PrimitiveBuilder<T>

§

impl<T> RefUnwindSafe for PrimitiveBuilder<T>

§

impl<T> Send for PrimitiveBuilder<T>

§

impl<T> Sync for PrimitiveBuilder<T>

§

impl<T> Unpin for PrimitiveBuilder<T>
where T: Unpin,

§

impl<T> UnwindSafe for PrimitiveBuilder<T>
where T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayBuilderExt for T
where - T: ArrayBuilder + ?Sized,

source§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayBuilderExt for T
where + T: ArrayBuilder + ?Sized,

§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an diff --git a/docs/rust/doc/vortex/builders/struct.Utf8Builder.html b/docs/rust/doc/vortex/builders/struct.Utf8Builder.html index 1cb10b083a..047351c00f 100644 --- a/docs/rust/doc/vortex/builders/struct.Utf8Builder.html +++ b/docs/rust/doc/vortex/builders/struct.Utf8Builder.html @@ -1,8 +1,8 @@ -Utf8Builder in vortex::builders - Rust

Struct vortex::builders::Utf8Builder

source ·
pub struct Utf8Builder { /* private fields */ }

Implementations§

source§

impl Utf8Builder

source

pub fn with_capacity(nullability: Nullability, capacity: usize) -> Utf8Builder

source

pub fn append_value<S>(&mut self, value: S)
where - S: AsRef<str>,

source

pub fn append_option<S>(&mut self, value: Option<S>)
where - S: AsRef<str>,

Trait Implementations§

source§

impl ArrayBuilder for Utf8Builder

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

source§

fn dtype(&self) -> &DType

source§

fn len(&self) -> usize

source§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
source§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
source§

fn finish(&mut self) -> Result<ArrayData, VortexError>

source§

fn is_empty(&self) -> bool

source§

fn append_zero(&mut self)

Append a “zero” value to the array.
source§

fn append_null(&mut self)

Append a “null” value to the array.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayBuilderExt for T
where - T: ArrayBuilder + ?Sized,

source§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where +Utf8Builder in vortex::builders - Rust

Struct vortex::builders::Utf8Builder

pub struct Utf8Builder { /* private fields */ }

Implementations§

§

impl Utf8Builder

pub fn with_capacity(nullability: Nullability, capacity: usize) -> Utf8Builder

pub fn append_value<S>(&mut self, value: S)
where + S: AsRef<str>,

pub fn append_option<S>(&mut self, value: Option<S>)
where + S: AsRef<str>,

Trait Implementations§

§

impl ArrayBuilder for Utf8Builder

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

§

fn dtype(&self) -> &DType

§

fn len(&self) -> usize

§

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.
§

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.
§

fn finish(&mut self) -> Result<ArrayData, VortexError>

§

fn is_empty(&self) -> bool

§

fn append_zero(&mut self)

Append a “zero” value to the array.
§

fn append_null(&mut self)

Append a “null” value to the array.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayBuilderExt for T
where + T: ArrayBuilder + ?Sized,

§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an diff --git a/docs/rust/doc/vortex/builders/trait.ArrayBuilder.html b/docs/rust/doc/vortex/builders/trait.ArrayBuilder.html index 4e43799dad..b71b9995d6 100644 --- a/docs/rust/doc/vortex/builders/trait.ArrayBuilder.html +++ b/docs/rust/doc/vortex/builders/trait.ArrayBuilder.html @@ -1,4 +1,4 @@ -ArrayBuilder in vortex::builders - Rust

Trait vortex::builders::ArrayBuilder

source ·
pub trait ArrayBuilder: Send {
+ArrayBuilder in vortex::builders - Rust

Trait vortex::builders::ArrayBuilder

pub trait ArrayBuilder: Send {
     // Required methods
     fn as_any(&self) -> &(dyn Any + 'static);
     fn as_any_mut(&mut self) -> &mut (dyn Any + 'static);
@@ -12,9 +12,9 @@
     fn is_empty(&self) -> bool { ... }
     fn append_zero(&mut self) { ... }
     fn append_null(&mut self) { ... }
-}

Required Methods§

source

fn as_any(&self) -> &(dyn Any + 'static)

source

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

source

fn dtype(&self) -> &DType

source

fn len(&self) -> usize

source

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.

-
source

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.

-
source

fn finish(&mut self) -> Result<ArrayData, VortexError>

Provided Methods§

source

fn is_empty(&self) -> bool

source

fn append_zero(&mut self)

Append a “zero” value to the array.

-
source

fn append_null(&mut self)

Append a “null” value to the array.

-

Implementors§

Required Methods§

fn as_any(&self) -> &(dyn Any + 'static)

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

fn dtype(&self) -> &DType

fn len(&self) -> usize

fn append_zeros(&mut self, n: usize)

Appends n “zero” values to the array.

+

fn append_nulls(&mut self, n: usize)

Appends n “null” values to the array.

+

fn finish(&mut self) -> Result<ArrayData, VortexError>

Provided Methods§

fn is_empty(&self) -> bool

fn append_zero(&mut self)

Append a “zero” value to the array.

+

fn append_null(&mut self)

Append a “null” value to the array.

+

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/builders/trait.ArrayBuilderExt.html b/docs/rust/doc/vortex/builders/trait.ArrayBuilderExt.html index cbe5067081..ed1b361bd1 100644 --- a/docs/rust/doc/vortex/builders/trait.ArrayBuilderExt.html +++ b/docs/rust/doc/vortex/builders/trait.ArrayBuilderExt.html @@ -1,6 +1,6 @@ -ArrayBuilderExt in vortex::builders - Rust

Trait vortex::builders::ArrayBuilderExt

source ·
pub trait ArrayBuilderExt: ArrayBuilder {
+ArrayBuilderExt in vortex::builders - Rust

Trait vortex::builders::ArrayBuilderExt

pub trait ArrayBuilderExt: ArrayBuilder {
     // Provided method
-    fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError> { ... }
-}

Provided Methods§

source

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.

-

Implementors§

source§

impl<T> ArrayBuilderExt for T
where + fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError> { ... } +}

Provided Methods§

fn append_scalar(&mut self, scalar: &Scalar) -> Result<(), VortexError>

A generic function to append a scalar to the builder.

+

Implementors§

§

impl<T> ArrayBuilderExt for T
where T: ArrayBuilder + ?Sized,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compress/fn.check_dtype_unchanged.html b/docs/rust/doc/vortex/compress/fn.check_dtype_unchanged.html index f7e7c721b3..d03f64547d 100644 --- a/docs/rust/doc/vortex/compress/fn.check_dtype_unchanged.html +++ b/docs/rust/doc/vortex/compress/fn.check_dtype_unchanged.html @@ -1,2 +1,2 @@ -check_dtype_unchanged in vortex::compress - Rust

Function vortex::compress::check_dtype_unchanged

source ·
pub fn check_dtype_unchanged(arr: &ArrayData, compressed: &ArrayData)
Expand description

Check that compression did not alter the dtype

+check_dtype_unchanged in vortex::compress - Rust

Function vortex::compress::check_dtype_unchanged

pub fn check_dtype_unchanged(arr: &ArrayData, compressed: &ArrayData)
Expand description

Check that compression did not alter the dtype

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compress/fn.check_statistics_unchanged.html b/docs/rust/doc/vortex/compress/fn.check_statistics_unchanged.html index 7942dbfbd7..2c8671a594 100644 --- a/docs/rust/doc/vortex/compress/fn.check_statistics_unchanged.html +++ b/docs/rust/doc/vortex/compress/fn.check_statistics_unchanged.html @@ -1 +1 @@ -check_statistics_unchanged in vortex::compress - Rust

Function vortex::compress::check_statistics_unchanged

source ·
pub fn check_statistics_unchanged(arr: &ArrayData, compressed: &ArrayData)
\ No newline at end of file +check_statistics_unchanged in vortex::compress - Rust

Function vortex::compress::check_statistics_unchanged

pub fn check_statistics_unchanged(arr: &ArrayData, compressed: &ArrayData)
\ No newline at end of file diff --git a/docs/rust/doc/vortex/compress/fn.check_validity_unchanged.html b/docs/rust/doc/vortex/compress/fn.check_validity_unchanged.html index 58647c9e56..9aebfa685f 100644 --- a/docs/rust/doc/vortex/compress/fn.check_validity_unchanged.html +++ b/docs/rust/doc/vortex/compress/fn.check_validity_unchanged.html @@ -1,2 +1,2 @@ -check_validity_unchanged in vortex::compress - Rust

Function vortex::compress::check_validity_unchanged

source ·
pub fn check_validity_unchanged(arr: &ArrayData, compressed: &ArrayData)
Expand description

Check that compression did not alter the length of the validity array.

+check_validity_unchanged in vortex::compress - Rust

Function vortex::compress::check_validity_unchanged

pub fn check_validity_unchanged(arr: &ArrayData, compressed: &ArrayData)
Expand description

Check that compression did not alter the length of the validity array.

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compress/fn.compute_precompression_stats.html b/docs/rust/doc/vortex/compress/fn.compute_precompression_stats.html index 63264d92d3..d40dc59597 100644 --- a/docs/rust/doc/vortex/compress/fn.compute_precompression_stats.html +++ b/docs/rust/doc/vortex/compress/fn.compute_precompression_stats.html @@ -1,3 +1,3 @@ -compute_precompression_stats in vortex::compress - Rust

Function vortex::compress::compute_precompression_stats

source ·
pub fn compute_precompression_stats(arr: &ArrayData) -> Result<(), VortexError>
Expand description

Eagerly compute certain statistics (i.e., pruning stats plus UncompressedSizeInBytes) for an array. +compute_precompression_stats in vortex::compress - Rust

Function vortex::compress::compute_precompression_stats

pub fn compute_precompression_stats(arr: &ArrayData) -> Result<(), VortexError>
Expand description

Eagerly compute certain statistics (i.e., pruning stats plus UncompressedSizeInBytes) for an array. This function is intended to be called in compressors, immediately before compression occurs.

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compress/index.html b/docs/rust/doc/vortex/compress/index.html index 28e0f5e4b6..ff55adf993 100644 --- a/docs/rust/doc/vortex/compress/index.html +++ b/docs/rust/doc/vortex/compress/index.html @@ -1,2 +1,2 @@ -vortex::compress - Rust

Module vortex::compress

source ·

Traits§

Functions§

Required Methods§

fn fill_forward(&self, array: &Array) -> Result<ArrayData, VortexError>

Implementations on Foreign Types§

§

impl FillForwardFn<ByteBoolArray> for ByteBoolEncoding

§

fn fill_forward(&self, array: &ByteBoolArray) -> Result<ArrayData, VortexError>

Implementors§

§

impl FillForwardFn<BoolArray> for BoolEncoding

§

impl FillForwardFn<PrimitiveArray> for PrimitiveEncoding

§

impl<E> FillForwardFn<ArrayData> for E
where E: Encoding + FillForwardFn<<E as Encoding>::Array>, &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.FillNullFn.html b/docs/rust/doc/vortex/compute/trait.FillNullFn.html index 6535dfb6bc..045b35193a 100644 --- a/docs/rust/doc/vortex/compute/trait.FillNullFn.html +++ b/docs/rust/doc/vortex/compute/trait.FillNullFn.html @@ -1,20 +1,20 @@ -FillNullFn in vortex::compute - Rust

Trait vortex::compute::FillNullFn

source ·
pub trait FillNullFn<Array> {
+FillNullFn in vortex::compute - Rust

Trait vortex::compute::FillNullFn

pub trait FillNullFn<Array> {
     // Required method
     fn fill_null(
         &self,
         array: &Array,
-        fill_value: Scalar,
+        fill_value: Scalar,
     ) -> Result<ArrayData, VortexError>;
 }
Expand description

Implementation of fill_null for an encoding.

SAFETY: the fill value is guaranteed to be non-null.

-

Required Methods§

Required Methods§

fn fill_null( &self, array: &Array, - fill_value: Scalar, + fill_value: Scalar, ) -> Result<ArrayData, VortexError>

Implementations on Foreign Types§

§

impl FillNullFn<RunEndArray> for RunEndEncoding

§

fn fill_null( &self, array: &RunEndArray, - fill_value: Scalar, -) -> Result<ArrayData, VortexError>

Implementors§

source§

impl FillNullFn<BoolArray> for BoolEncoding

source§

impl FillNullFn<ChunkedArray> for ChunkedEncoding

source§

impl<E> FillNullFn<ArrayData> for E
where + fill_value: Scalar, +) -> Result<ArrayData, VortexError>

Implementors§

§

impl FillNullFn<BoolArray> for BoolEncoding

§

impl FillNullFn<ChunkedArray> for ChunkedEncoding

§

impl<E> FillNullFn<ArrayData> for E
where E: Encoding + FillNullFn<<E as Encoding>::Array>, &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.FilterFn.html b/docs/rust/doc/vortex/compute/trait.FilterFn.html index ffa6af7823..47557ec16b 100644 --- a/docs/rust/doc/vortex/compute/trait.FilterFn.html +++ b/docs/rust/doc/vortex/compute/trait.FilterFn.html @@ -1,11 +1,11 @@ -FilterFn in vortex::compute - Rust

Trait vortex::compute::FilterFn

source ·
pub trait FilterFn<Array> {
+FilterFn in vortex::compute - Rust

Trait vortex::compute::FilterFn

pub trait FilterFn<Array> {
     // Required method
     fn filter(
         &self,
         array: &Array,
         mask: FilterMask,
     ) -> Result<ArrayData, VortexError>;
-}

Required Methods§

Required Methods§

fn filter( &self, array: &Array, mask: FilterMask, @@ -42,6 +42,6 @@ &self, array: &RunEndArray, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Implementors§

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.IndexOrd.html b/docs/rust/doc/vortex/compute/trait.IndexOrd.html index aa376d46d6..154c31709d 100644 --- a/docs/rust/doc/vortex/compute/trait.IndexOrd.html +++ b/docs/rust/doc/vortex/compute/trait.IndexOrd.html @@ -1,4 +1,4 @@ -IndexOrd in vortex::compute - Rust

Trait vortex::compute::IndexOrd

source ·
pub trait IndexOrd<V> {
+IndexOrd in vortex::compute - Rust

Trait vortex::compute::IndexOrd

pub trait IndexOrd<V> {
     // Required method
     fn index_cmp(&self, idx: usize, elem: &V) -> Option<Ordering>;
 
@@ -7,7 +7,7 @@
     fn index_le(&self, idx: usize, elem: &V) -> bool { ... }
     fn index_gt(&self, idx: usize, elem: &V) -> bool { ... }
     fn index_ge(&self, idx: usize, elem: &V) -> bool { ... }
-}

Required Methods§

source

fn index_cmp(&self, idx: usize, elem: &V) -> Option<Ordering>

PartialOrd of the value at index idx with elem. +}

Required Methods§

fn index_cmp(&self, idx: usize, elem: &V) -> Option<Ordering>

PartialOrd of the value at index idx with elem. For example, if self[idx] > elem, return Some(Greater).

-

Provided Methods§

source

fn index_lt(&self, idx: usize, elem: &V) -> bool

source

fn index_le(&self, idx: usize, elem: &V) -> bool

source

fn index_gt(&self, idx: usize, elem: &V) -> bool

source

fn index_ge(&self, idx: usize, elem: &V) -> bool

Implementations on Foreign Types§

source§

impl<T> IndexOrd<T> for [T]
where - T: PartialOrd,

source§

fn index_cmp(&self, idx: usize, elem: &T) -> Option<Ordering>

Implementors§

\ No newline at end of file +

Provided Methods§

fn index_lt(&self, idx: usize, elem: &V) -> bool

fn index_le(&self, idx: usize, elem: &V) -> bool

fn index_gt(&self, idx: usize, elem: &V) -> bool

fn index_ge(&self, idx: usize, elem: &V) -> bool

Implementations on Foreign Types§

§

impl<T> IndexOrd<T> for [T]
where + T: PartialOrd,

§

fn index_cmp(&self, idx: usize, elem: &T) -> Option<Ordering>

Implementors§

§

impl IndexOrd<Scalar> for ArrayData

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.InvertFn.html b/docs/rust/doc/vortex/compute/trait.InvertFn.html index 455f245195..2bc951e2ef 100644 --- a/docs/rust/doc/vortex/compute/trait.InvertFn.html +++ b/docs/rust/doc/vortex/compute/trait.InvertFn.html @@ -1,7 +1,7 @@ -InvertFn in vortex::compute - Rust

Trait vortex::compute::InvertFn

source ·
pub trait InvertFn<Array> {
+InvertFn in vortex::compute - Rust

Trait vortex::compute::InvertFn

pub trait InvertFn<Array> {
     // Required method
     fn invert(&self, array: &Array) -> Result<ArrayData, VortexError>;
-}

Required Methods§

source

fn invert(&self, array: &Array) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.

-

Implementations on Foreign Types§

§

impl InvertFn<RoaringBoolArray> for RoaringBoolEncoding

§

fn invert(&self, array: &RoaringBoolArray) -> Result<ArrayData, VortexError>

§

impl InvertFn<RunEndArray> for RunEndEncoding

§

fn invert(&self, array: &RunEndArray) -> Result<ArrayData, VortexError>

§

impl InvertFn<RunEndBoolArray> for RunEndBoolEncoding

§

fn invert(&self, array: &RunEndBoolArray) -> Result<ArrayData, VortexError>

Implementors§

Required Methods§

fn invert(&self, array: &Array) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.

+

Implementations on Foreign Types§

§

impl InvertFn<RoaringBoolArray> for RoaringBoolEncoding

§

fn invert(&self, array: &RoaringBoolArray) -> Result<ArrayData, VortexError>

§

impl InvertFn<RunEndArray> for RunEndEncoding

§

fn invert(&self, array: &RunEndArray) -> Result<ArrayData, VortexError>

§

impl InvertFn<RunEndBoolArray> for RunEndBoolEncoding

§

fn invert(&self, array: &RunEndBoolArray) -> Result<ArrayData, VortexError>

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.Len.html b/docs/rust/doc/vortex/compute/trait.Len.html index fb649ece4f..07352d5403 100644 --- a/docs/rust/doc/vortex/compute/trait.Len.html +++ b/docs/rust/doc/vortex/compute/trait.Len.html @@ -1,4 +1,4 @@ -Len in vortex::compute - Rust

Trait vortex::compute::Len

source ·
pub trait Len {
+Len in vortex::compute - Rust

Trait vortex::compute::Len

pub trait Len {
     // Required method
     fn len(&self) -> usize;
-}

Required Methods§

source

fn len(&self) -> usize

Implementations on Foreign Types§

source§

impl<T> Len for [T]

source§

fn len(&self) -> usize

Implementors§

\ No newline at end of file +}

Required Methods§

fn len(&self) -> usize

Implementations on Foreign Types§

§

impl<T> Len for [T]

§

fn len(&self) -> usize

Implementors§

§

impl Len for ArrayData

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.LikeFn.html b/docs/rust/doc/vortex/compute/trait.LikeFn.html index 977cdd6cc9..0b35791cc3 100644 --- a/docs/rust/doc/vortex/compute/trait.LikeFn.html +++ b/docs/rust/doc/vortex/compute/trait.LikeFn.html @@ -1,4 +1,4 @@ -LikeFn in vortex::compute - Rust

Trait vortex::compute::LikeFn

source ·
pub trait LikeFn<Array> {
+LikeFn in vortex::compute - Rust

Trait vortex::compute::LikeFn

pub trait LikeFn<Array> {
     // Required method
     fn like(
         &self,
@@ -6,7 +6,7 @@
         pattern: &ArrayData,
         options: LikeOptions,
     ) -> Result<ArrayData, VortexError>;
-}

Required Methods§

source

fn like( +}

Required Methods§

fn like( &self, array: &Array, pattern: &ArrayData, @@ -16,6 +16,6 @@ array: &DictArray, pattern: &ArrayData, options: LikeOptions, -) -> Result<ArrayData, VortexError>

Implementors§

source§

impl<E> LikeFn<ArrayData> for E
where +) -> Result<ArrayData, VortexError>

Implementors§

§

impl<E> LikeFn<ArrayData> for E
where E: Encoding + LikeFn<<E as Encoding>::Array>, &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.ScalarAtFn.html b/docs/rust/doc/vortex/compute/trait.ScalarAtFn.html index d432b7b578..91bcc0bf48 100644 --- a/docs/rust/doc/vortex/compute/trait.ScalarAtFn.html +++ b/docs/rust/doc/vortex/compute/trait.ScalarAtFn.html @@ -1,68 +1,68 @@ -ScalarAtFn in vortex::compute - Rust

Trait vortex::compute::ScalarAtFn

source ·
pub trait ScalarAtFn<Array> {
+ScalarAtFn in vortex::compute - Rust

Trait vortex::compute::ScalarAtFn

pub trait ScalarAtFn<Array> {
     // Required method
     fn scalar_at(
         &self,
         array: &Array,
         index: usize,
-    ) -> Result<Scalar, VortexError>;
+    ) -> Result<Scalar, VortexError>;
 }
Expand description

Implementation of scalar_at for an encoding.

SAFETY: the index is guaranteed to be within the bounds of the ArrayData.

-

Required Methods§

source

fn scalar_at(&self, array: &Array, index: usize) -> Result<Scalar, VortexError>

Implementations on Foreign Types§

§

impl ScalarAtFn<ALPArray> for ALPEncoding

Required Methods§

fn scalar_at(&self, array: &Array, index: usize) -> Result<Scalar, VortexError>

Implementations on Foreign Types§

§

impl ScalarAtFn<ALPArray> for ALPEncoding

§

fn scalar_at( &self, array: &ALPArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<ALPRDArray> for ALPRDEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<ALPRDArray> for ALPRDEncoding

§

fn scalar_at( &self, array: &ALPRDArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<BitPackedArray> for BitPackedEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<BitPackedArray> for BitPackedEncoding

§

fn scalar_at( &self, array: &BitPackedArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<ByteBoolArray> for ByteBoolEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<ByteBoolArray> for ByteBoolEncoding

§

fn scalar_at( &self, array: &ByteBoolArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<DateTimePartsArray> for DateTimePartsEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<DateTimePartsArray> for DateTimePartsEncoding

§

fn scalar_at( &self, array: &DateTimePartsArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<DeltaArray> for DeltaEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<DeltaArray> for DeltaEncoding

§

fn scalar_at( &self, array: &DeltaArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<DictArray> for DictEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<DictArray> for DictEncoding

§

fn scalar_at( &self, array: &DictArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<FSSTArray> for FSSTEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<FSSTArray> for FSSTEncoding

§

fn scalar_at( &self, array: &FSSTArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<FoRArray> for FoREncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<FoRArray> for FoREncoding

§

fn scalar_at( &self, array: &FoRArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<RoaringBoolArray> for RoaringBoolEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<RoaringBoolArray> for RoaringBoolEncoding

§

fn scalar_at( &self, array: &RoaringBoolArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<RoaringIntArray> for RoaringIntEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<RoaringIntArray> for RoaringIntEncoding

§

fn scalar_at( &self, array: &RoaringIntArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<RunEndArray> for RunEndEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<RunEndArray> for RunEndEncoding

§

fn scalar_at( &self, array: &RunEndArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<RunEndBoolArray> for RunEndBoolEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<RunEndBoolArray> for RunEndBoolEncoding

§

fn scalar_at( &self, array: &RunEndBoolArray, index: usize, -) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<ZigZagArray> for ZigZagEncoding

§

fn scalar_at( +) -> Result<Scalar, VortexError>

§

impl ScalarAtFn<ZigZagArray> for ZigZagEncoding

§

fn scalar_at( &self, array: &ZigZagArray, index: usize, -) -> Result<Scalar, VortexError>

Implementors§

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.SearchSorted.html b/docs/rust/doc/vortex/compute/trait.SearchSorted.html index 6101f97dbf..47168cfd6e 100644 --- a/docs/rust/doc/vortex/compute/trait.SearchSorted.html +++ b/docs/rust/doc/vortex/compute/trait.SearchSorted.html @@ -1,4 +1,4 @@ -SearchSorted in vortex::compute - Rust

Trait vortex::compute::SearchSorted

source ·
pub trait SearchSorted<T> {
+SearchSorted in vortex::compute - Rust

Trait vortex::compute::SearchSorted

pub trait SearchSorted<T> {
     // Required method
     fn search_sorted_by<F, N>(
         &self,
@@ -12,7 +12,7 @@
     // Provided method
     fn search_sorted(&self, value: &T, side: SearchSortedSide) -> SearchResult
        where Self: IndexOrd<T> { ... }
-}

Required Methods§

Required Methods§

fn search_sorted_by<F, N>( &self, find: F, side_find: N, @@ -21,6 +21,6 @@ F: FnMut(usize) -> Ordering, N: FnMut(usize) -> Ordering,

find function is used to find the element if it exists, if element exists side_find will be used to find desired index amongst equal values

-

Provided Methods§

source

fn search_sorted(&self, value: &T, side: SearchSortedSide) -> SearchResult
where - Self: IndexOrd<T>,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<S, T> SearchSorted<T> for S
where +

Provided Methods§

fn search_sorted(&self, value: &T, side: SearchSortedSide) -> SearchResult
where + Self: IndexOrd<T>,

Object Safety§

This trait is not object safe.

Implementors§

§

impl<S, T> SearchSorted<T> for S
where S: IndexOrd<T> + Len + ?Sized,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.SearchSortedFn.html b/docs/rust/doc/vortex/compute/trait.SearchSortedFn.html index cd15642981..3ddf155155 100644 --- a/docs/rust/doc/vortex/compute/trait.SearchSortedFn.html +++ b/docs/rust/doc/vortex/compute/trait.SearchSortedFn.html @@ -1,9 +1,9 @@ -SearchSortedFn in vortex::compute - Rust

Trait vortex::compute::SearchSortedFn

source ·
pub trait SearchSortedFn<Array> {
+SearchSortedFn in vortex::compute - Rust

Trait vortex::compute::SearchSortedFn

pub trait SearchSortedFn<Array> {
     // Required method
     fn search_sorted(
         &self,
         array: &Array,
-        value: &Scalar,
+        value: &Scalar,
         side: SearchSortedSide,
     ) -> Result<SearchResult, VortexError>;
 
@@ -11,37 +11,37 @@
     fn search_sorted_many(
         &self,
         array: &Array,
-        values: &[Scalar],
+        values: &[Scalar],
         side: SearchSortedSide,
     ) -> Result<Vec<SearchResult>, VortexError> { ... }
 }
Expand description

Searches for value assuming the array is sorted.

For nullable arrays we assume that the nulls are sorted last, i.e. they’re the greatest value

-

Required Methods§

Required Methods§

fn search_sorted( &self, array: &Array, - value: &Scalar, + value: &Scalar, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

Provided Methods§

Provided Methods§

fn search_sorted_many( &self, array: &Array, - values: &[Scalar], + values: &[Scalar], side: SearchSortedSide, ) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.

Implementations on Foreign Types§

§

impl SearchSortedFn<BitPackedArray> for BitPackedEncoding

§

fn search_sorted( &self, array: &BitPackedArray, - value: &Scalar, + value: &Scalar, side: SearchSortedSide, ) -> Result<SearchResult, VortexError>

§

fn search_sorted_many( &self, array: &BitPackedArray, - values: &[Scalar], + values: &[Scalar], side: SearchSortedSide, ) -> Result<Vec<SearchResult>, VortexError>

§

impl SearchSortedFn<FoRArray> for FoREncoding

§

fn search_sorted( &self, array: &FoRArray, - value: &Scalar, + value: &Scalar, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

Implementors§

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.SearchSortedUsizeFn.html b/docs/rust/doc/vortex/compute/trait.SearchSortedUsizeFn.html index 5325460e92..b5d9c1ab28 100644 --- a/docs/rust/doc/vortex/compute/trait.SearchSortedUsizeFn.html +++ b/docs/rust/doc/vortex/compute/trait.SearchSortedUsizeFn.html @@ -1,4 +1,4 @@ -SearchSortedUsizeFn in vortex::compute - Rust

Trait vortex::compute::SearchSortedUsizeFn

source ·
pub trait SearchSortedUsizeFn<Array> {
+SearchSortedUsizeFn in vortex::compute - Rust

Trait vortex::compute::SearchSortedUsizeFn

pub trait SearchSortedUsizeFn<Array> {
     // Required method
     fn search_sorted_usize(
         &self,
@@ -14,12 +14,12 @@
         values: &[usize],
         side: SearchSortedSide,
     ) -> Result<Vec<SearchResult>, VortexError> { ... }
-}

Required Methods§

Required Methods§

fn search_sorted_usize( &self, array: &Array, value: usize, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

Provided Methods§

Provided Methods§

fn search_sorted_usize_many( &self, array: &Array, values: &[usize], @@ -34,6 +34,6 @@ array: &BitPackedArray, values: &[usize], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

Implementors§

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.SliceFn.html b/docs/rust/doc/vortex/compute/trait.SliceFn.html index b21946cf8f..a2e05289a0 100644 --- a/docs/rust/doc/vortex/compute/trait.SliceFn.html +++ b/docs/rust/doc/vortex/compute/trait.SliceFn.html @@ -1,4 +1,4 @@ -SliceFn in vortex::compute - Rust

Trait vortex::compute::SliceFn

source ·
pub trait SliceFn<Array> {
+SliceFn in vortex::compute - Rust

Trait vortex::compute::SliceFn

pub trait SliceFn<Array> {
     // Required method
     fn slice(
         &self,
@@ -7,7 +7,7 @@
         stop: usize,
     ) -> Result<ArrayData, VortexError>;
 }
Expand description

Limit array to start…stop range

-

Required Methods§

Required Methods§

fn slice( &self, array: &Array, start: usize, @@ -85,6 +85,6 @@ array: &ZigZagArray, start: usize, stop: usize, -) -> Result<ArrayData, VortexError>

Implementors§

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.SubtractScalarFn.html b/docs/rust/doc/vortex/compute/trait.SubtractScalarFn.html index 10e5c4d88d..baf307ad21 100644 --- a/docs/rust/doc/vortex/compute/trait.SubtractScalarFn.html +++ b/docs/rust/doc/vortex/compute/trait.SubtractScalarFn.html @@ -1,14 +1,14 @@ -SubtractScalarFn in vortex::compute - Rust

Trait vortex::compute::SubtractScalarFn

source ·
pub trait SubtractScalarFn<Array> {
+SubtractScalarFn in vortex::compute - Rust

Trait vortex::compute::SubtractScalarFn

pub trait SubtractScalarFn<Array> {
     // Required method
     fn subtract_scalar(
         &self,
         array: &Array,
-        to_subtract: &Scalar,
+        to_subtract: &Scalar,
     ) -> Result<ArrayData, VortexError>;
-}

Required Methods§

Required Methods§

fn subtract_scalar( &self, array: &Array, - to_subtract: &Scalar, -) -> Result<ArrayData, VortexError>

Implementors§

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/compute/trait.TakeFn.html b/docs/rust/doc/vortex/compute/trait.TakeFn.html index 79f1568de5..b6f6b15279 100644 --- a/docs/rust/doc/vortex/compute/trait.TakeFn.html +++ b/docs/rust/doc/vortex/compute/trait.TakeFn.html @@ -1,4 +1,4 @@ -TakeFn in vortex::compute - Rust

Trait vortex::compute::TakeFn

source ·
pub trait TakeFn<Array> {
+TakeFn in vortex::compute - Rust

Trait vortex::compute::TakeFn

pub trait TakeFn<Array> {
     // Required method
     fn take(
         &self,
@@ -12,7 +12,7 @@
         array: &Array,
         indices: &ArrayData,
     ) -> Result<ArrayData, VortexError> { ... }
-}

Required Methods§

source

fn take( +}

Required Methods§

fn take( &self, array: &Array, indices: &ArrayData, @@ -20,7 +20,7 @@ given indices.

§Panics

Using indices that are invalid for the given array will cause a panic.

-

Provided Methods§

Provided Methods§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, @@ -70,7 +70,7 @@
§Safety
&self, array: &RunEndBoolArray, indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Implementors§

Implementors§

§

impl TakeFn<BoolArray> for BoolEncoding

§

impl TakeFn<ChunkedArray> for ChunkedEncoding

§

impl TakeFn<ConstantArray> for ConstantEncoding

§

impl TakeFn<ExtensionArray> for ExtensionEncoding

§

impl TakeFn<NullArray> for NullEncoding

§

impl TakeFn<PrimitiveArray> for PrimitiveEncoding

§

impl TakeFn<SparseArray> for SparseEncoding

§

impl TakeFn<StructArray> for StructEncoding

§

impl TakeFn<VarBinArray> for VarBinEncoding

§

impl TakeFn<VarBinViewArray> for VarBinViewEncoding

Take involves creating a new array that references the old array, just with the given set of views.

+
§

impl<E> TakeFn<ArrayData> for E
where E: Encoding + TakeFn<<E as Encoding>::Array>, &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.ALP.html b/docs/rust/doc/vortex/encoding/ids/constant.ALP.html index cede1fd8bc..0b54fc5871 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.ALP.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.ALP.html @@ -1 +1 @@ -ALP in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::ALP

source ·
pub const ALP: u16 = 17; // 17u16
\ No newline at end of file +ALP in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::ALP

pub const ALP: u16 = 17; // 17u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.ALP_RD.html b/docs/rust/doc/vortex/encoding/ids/constant.ALP_RD.html index 6a43520a67..51245d3d65 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.ALP_RD.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.ALP_RD.html @@ -1 +1 @@ -ALP_RD in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::ALP_RD

source ·
pub const ALP_RD: u16 = 30; // 30u16
\ No newline at end of file +ALP_RD in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::ALP_RD

pub const ALP_RD: u16 = 30; // 30u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.BOOL.html b/docs/rust/doc/vortex/encoding/ids/constant.BOOL.html index 45d84aed91..b0ce4bf09a 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.BOOL.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.BOOL.html @@ -1 +1 @@ -BOOL in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::BOOL

source ·
pub const BOOL: u16 = 2; // 2u16
\ No newline at end of file +BOOL in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::BOOL

pub const BOOL: u16 = 2; // 2u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.BYTE_BOOL.html b/docs/rust/doc/vortex/encoding/ids/constant.BYTE_BOOL.html index 5da12d39c5..dfe88e54c9 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.BYTE_BOOL.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.BYTE_BOOL.html @@ -1 +1 @@ -BYTE_BOOL in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::BYTE_BOOL

source ·
pub const BYTE_BOOL: u16 = 18; // 18u16
\ No newline at end of file +BYTE_BOOL in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::BYTE_BOOL

pub const BYTE_BOOL: u16 = 18; // 18u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.CHUNKED.html b/docs/rust/doc/vortex/encoding/ids/constant.CHUNKED.html index 97a5ac48a7..d58a18efde 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.CHUNKED.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.CHUNKED.html @@ -1 +1 @@ -CHUNKED in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::CHUNKED

source ·
pub const CHUNKED: u16 = 10; // 10u16
\ No newline at end of file +CHUNKED in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::CHUNKED

pub const CHUNKED: u16 = 10; // 10u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.CONSTANT.html b/docs/rust/doc/vortex/encoding/ids/constant.CONSTANT.html index 2813a06347..743f282ae1 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.CONSTANT.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.CONSTANT.html @@ -1 +1 @@ -CONSTANT in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::CONSTANT

source ·
pub const CONSTANT: u16 = 9; // 9u16
\ No newline at end of file +CONSTANT in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::CONSTANT

pub const CONSTANT: u16 = 9; // 9u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.DATE_TIME_PARTS.html b/docs/rust/doc/vortex/encoding/ids/constant.DATE_TIME_PARTS.html index 563ee2a522..b1e3b4e9dd 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.DATE_TIME_PARTS.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.DATE_TIME_PARTS.html @@ -1 +1 @@ -DATE_TIME_PARTS in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::DATE_TIME_PARTS

source ·
pub const DATE_TIME_PARTS: u16 = 19; // 19u16
\ No newline at end of file +DATE_TIME_PARTS in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::DATE_TIME_PARTS

pub const DATE_TIME_PARTS: u16 = 19; // 19u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.DICT.html b/docs/rust/doc/vortex/encoding/ids/constant.DICT.html index 438a200b75..7f87690f4b 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.DICT.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.DICT.html @@ -1 +1 @@ -DICT in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::DICT

source ·
pub const DICT: u16 = 20; // 20u16
\ No newline at end of file +DICT in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::DICT

pub const DICT: u16 = 20; // 20u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.EXTENSION.html b/docs/rust/doc/vortex/encoding/ids/constant.EXTENSION.html index 375bba19e1..c2a670e251 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.EXTENSION.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.EXTENSION.html @@ -1 +1 @@ -EXTENSION in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::EXTENSION

source ·
pub const EXTENSION: u16 = 7; // 7u16
\ No newline at end of file +EXTENSION in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::EXTENSION

pub const EXTENSION: u16 = 7; // 7u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.FL_BITPACKED.html b/docs/rust/doc/vortex/encoding/ids/constant.FL_BITPACKED.html index b9f7e48d28..0d834b06ca 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.FL_BITPACKED.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.FL_BITPACKED.html @@ -1 +1 @@ -FL_BITPACKED in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::FL_BITPACKED

source ·
pub const FL_BITPACKED: u16 = 21; // 21u16
\ No newline at end of file +FL_BITPACKED in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::FL_BITPACKED

pub const FL_BITPACKED: u16 = 21; // 21u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.FL_DELTA.html b/docs/rust/doc/vortex/encoding/ids/constant.FL_DELTA.html index 415f2e0f10..b2368b7fb5 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.FL_DELTA.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.FL_DELTA.html @@ -1 +1 @@ -FL_DELTA in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::FL_DELTA

source ·
pub const FL_DELTA: u16 = 22; // 22u16
\ No newline at end of file +FL_DELTA in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::FL_DELTA

pub const FL_DELTA: u16 = 22; // 22u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.FL_FOR.html b/docs/rust/doc/vortex/encoding/ids/constant.FL_FOR.html index 11a3e62d8d..6ad084bd8c 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.FL_FOR.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.FL_FOR.html @@ -1 +1 @@ -FL_FOR in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::FL_FOR

source ·
pub const FL_FOR: u16 = 23; // 23u16
\ No newline at end of file +FL_FOR in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::FL_FOR

pub const FL_FOR: u16 = 23; // 23u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.FSST.html b/docs/rust/doc/vortex/encoding/ids/constant.FSST.html index cbfce2d258..dfb70d1028 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.FSST.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.FSST.html @@ -1 +1 @@ -FSST in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::FSST

source ·
pub const FSST: u16 = 24; // 24u16
\ No newline at end of file +FSST in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::FSST

pub const FSST: u16 = 24; // 24u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.LIST.html b/docs/rust/doc/vortex/encoding/ids/constant.LIST.html index f0e535ed43..4870602996 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.LIST.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.LIST.html @@ -1 +1 @@ -LIST in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::LIST

source ·
pub const LIST: u16 = 11; // 11u16
\ No newline at end of file +LIST in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::LIST

pub const LIST: u16 = 11; // 11u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.NULL.html b/docs/rust/doc/vortex/encoding/ids/constant.NULL.html index 46852a40a5..3470dc93c1 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.NULL.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.NULL.html @@ -1 +1 @@ -NULL in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::NULL

source ·
pub const NULL: u16 = 1; // 1u16
\ No newline at end of file +NULL in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::NULL

pub const NULL: u16 = 1; // 1u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.PRIMITIVE.html b/docs/rust/doc/vortex/encoding/ids/constant.PRIMITIVE.html index 85fb7ef9b2..ff7dc8850e 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.PRIMITIVE.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.PRIMITIVE.html @@ -1 +1 @@ -PRIMITIVE in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::PRIMITIVE

source ·
pub const PRIMITIVE: u16 = 3; // 3u16
\ No newline at end of file +PRIMITIVE in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::PRIMITIVE

pub const PRIMITIVE: u16 = 3; // 3u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.ROARING_BOOL.html b/docs/rust/doc/vortex/encoding/ids/constant.ROARING_BOOL.html index 9cc06ec778..d62ad6c41a 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.ROARING_BOOL.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.ROARING_BOOL.html @@ -1 +1 @@ -ROARING_BOOL in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::ROARING_BOOL

source ·
pub const ROARING_BOOL: u16 = 25; // 25u16
\ No newline at end of file +ROARING_BOOL in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::ROARING_BOOL

pub const ROARING_BOOL: u16 = 25; // 25u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.ROARING_INT.html b/docs/rust/doc/vortex/encoding/ids/constant.ROARING_INT.html index 37697a7b13..3430c5e584 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.ROARING_INT.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.ROARING_INT.html @@ -1 +1 @@ -ROARING_INT in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::ROARING_INT

source ·
pub const ROARING_INT: u16 = 26; // 26u16
\ No newline at end of file +ROARING_INT in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::ROARING_INT

pub const ROARING_INT: u16 = 26; // 26u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.RUN_END.html b/docs/rust/doc/vortex/encoding/ids/constant.RUN_END.html index 90e43b9892..f0290383a2 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.RUN_END.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.RUN_END.html @@ -1 +1 @@ -RUN_END in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::RUN_END

source ·
pub const RUN_END: u16 = 27; // 27u16
\ No newline at end of file +RUN_END in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::RUN_END

pub const RUN_END: u16 = 27; // 27u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.RUN_END_BOOL.html b/docs/rust/doc/vortex/encoding/ids/constant.RUN_END_BOOL.html index 8373d3d5a9..65acf2ba36 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.RUN_END_BOOL.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.RUN_END_BOOL.html @@ -1 +1 @@ -RUN_END_BOOL in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::RUN_END_BOOL

source ·
pub const RUN_END_BOOL: u16 = 28; // 28u16
\ No newline at end of file +RUN_END_BOOL in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::RUN_END_BOOL

pub const RUN_END_BOOL: u16 = 28; // 28u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.SPARSE.html b/docs/rust/doc/vortex/encoding/ids/constant.SPARSE.html index c6a9b65d4b..1e29f5a15d 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.SPARSE.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.SPARSE.html @@ -1 +1 @@ -SPARSE in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::SPARSE

source ·
pub const SPARSE: u16 = 8; // 8u16
\ No newline at end of file +SPARSE in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::SPARSE

pub const SPARSE: u16 = 8; // 8u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.STRUCT.html b/docs/rust/doc/vortex/encoding/ids/constant.STRUCT.html index 0c028d70ef..91b9e24d68 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.STRUCT.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.STRUCT.html @@ -1 +1 @@ -STRUCT in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::STRUCT

source ·
pub const STRUCT: u16 = 4; // 4u16
\ No newline at end of file +STRUCT in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::STRUCT

pub const STRUCT: u16 = 4; // 4u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.VAR_BIN.html b/docs/rust/doc/vortex/encoding/ids/constant.VAR_BIN.html index 23bba84e6c..30f242db16 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.VAR_BIN.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.VAR_BIN.html @@ -1 +1 @@ -VAR_BIN in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::VAR_BIN

source ·
pub const VAR_BIN: u16 = 5; // 5u16
\ No newline at end of file +VAR_BIN in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::VAR_BIN

pub const VAR_BIN: u16 = 5; // 5u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.VAR_BIN_VIEW.html b/docs/rust/doc/vortex/encoding/ids/constant.VAR_BIN_VIEW.html index 5f1eec67f4..7d286cd411 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.VAR_BIN_VIEW.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.VAR_BIN_VIEW.html @@ -1 +1 @@ -VAR_BIN_VIEW in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::VAR_BIN_VIEW

source ·
pub const VAR_BIN_VIEW: u16 = 6; // 6u16
\ No newline at end of file +VAR_BIN_VIEW in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::VAR_BIN_VIEW

pub const VAR_BIN_VIEW: u16 = 6; // 6u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/constant.ZIGZAG.html b/docs/rust/doc/vortex/encoding/ids/constant.ZIGZAG.html index cb3463c1b0..b07dcb4ae1 100644 --- a/docs/rust/doc/vortex/encoding/ids/constant.ZIGZAG.html +++ b/docs/rust/doc/vortex/encoding/ids/constant.ZIGZAG.html @@ -1 +1 @@ -ZIGZAG in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::ZIGZAG

source ·
pub const ZIGZAG: u16 = 29; // 29u16
\ No newline at end of file +ZIGZAG in vortex::encoding::ids - Rust

Constant vortex::encoding::ids::ZIGZAG

pub const ZIGZAG: u16 = 29; // 29u16
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/ids/index.html b/docs/rust/doc/vortex/encoding/ids/index.html index 8c1de1da6d..023c1f94e8 100644 --- a/docs/rust/doc/vortex/encoding/ids/index.html +++ b/docs/rust/doc/vortex/encoding/ids/index.html @@ -1,2 +1,2 @@ -vortex::encoding::ids - Rust

Module vortex::encoding::ids

source ·
Expand description

Encoding ID constants for all Vortex-provided encodings

+vortex::encoding::ids - Rust
\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/index.html b/docs/rust/doc/vortex/encoding/index.html index c5e9f67736..98da33cbdb 100644 --- a/docs/rust/doc/vortex/encoding/index.html +++ b/docs/rust/doc/vortex/encoding/index.html @@ -1,2 +1,2 @@ -vortex::encoding - Rust

Module vortex::encoding

source ·
Expand description

Traits and types to define shared unique encoding identifiers.

+vortex::encoding - Rust

Module vortex::encoding

Expand description

Traits and types to define shared unique encoding identifiers.

Modules§

  • Encoding ID constants for all Vortex-provided encodings

Structs§

  • EncodingId is a unique name and numerical code of the array

Traits§

Type Aliases§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/opaque/index.html b/docs/rust/doc/vortex/encoding/opaque/index.html index 74ac0bbb23..0c4464276f 100644 --- a/docs/rust/doc/vortex/encoding/opaque/index.html +++ b/docs/rust/doc/vortex/encoding/opaque/index.html @@ -1 +1 @@ -vortex::encoding::opaque - Rust

Module vortex::encoding::opaque

source ·

Structs§

\ No newline at end of file +vortex::encoding::opaque - Rust

Module vortex::encoding::opaque

Structs§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/opaque/struct.OpaqueEncoding.html b/docs/rust/doc/vortex/encoding/opaque/struct.OpaqueEncoding.html index c51b757afe..353cd42c77 100644 --- a/docs/rust/doc/vortex/encoding/opaque/struct.OpaqueEncoding.html +++ b/docs/rust/doc/vortex/encoding/opaque/struct.OpaqueEncoding.html @@ -1,35 +1,35 @@ -OpaqueEncoding in vortex::encoding::opaque - Rust

Struct vortex::encoding::opaque::OpaqueEncoding

source ·
pub struct OpaqueEncoding(pub u16);
Expand description

An encoding of an array that we cannot interpret.

+OpaqueEncoding in vortex::encoding::opaque - Rust

Struct vortex::encoding::opaque::OpaqueEncoding

pub struct OpaqueEncoding(pub u16);
Expand description

An encoding of an array that we cannot interpret.

Vortex allows for pluggable encodings. This can lead to issues when one process produces a file using a custom encoding, and then another process without knowledge of the encoding attempts to read it.

OpaqueEncoding allows deserializing these arrays. Many common operations will fail, but it allows deserialization and introspection in a type-erased manner on the children and metadata.

We hold the original 16-bit encoding ID for producing helpful error messages.

-

Tuple Fields§

§0: u16

Trait Implementations§

source§

impl Clone for OpaqueEncoding

source§

fn clone(&self) -> OpaqueEncoding

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl ComputeVTable for OpaqueEncoding

source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

impl Debug for OpaqueEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl EncodingVTable for OpaqueEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

impl IntoCanonicalVTable for OpaqueEncoding

source§

fn into_canonical(&self, _array: ArrayData) -> Result<Canonical, VortexError>

source§

fn into_arrow(&self, _array: ArrayData) -> Result<Arc<dyn Array>, VortexError>

source§

impl MetadataVTable for OpaqueEncoding

Tuple Fields§

§0: u16

Trait Implementations§

§

impl Clone for OpaqueEncoding

§

fn clone(&self) -> OpaqueEncoding

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl ComputeVTable for OpaqueEncoding

§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

impl Debug for OpaqueEncoding

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl EncodingVTable for OpaqueEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl IntoCanonicalVTable for OpaqueEncoding

§

fn into_canonical(&self, _array: ArrayData) -> Result<Canonical, VortexError>

§

fn into_arrow(&self, _array: ArrayData) -> Result<Arc<dyn Array>, VortexError>

§

impl MetadataVTable for OpaqueEncoding

§

fn load_metadata( &self, _metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl StatisticsVTable<ArrayData> for OpaqueEncoding

source§

fn compute_statistics( +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

§

impl StatisticsVTable<ArrayData> for OpaqueEncoding

§

fn compute_statistics( &self, _array: &Array, _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl ValidityVTable<ArrayData> for OpaqueEncoding

source§

fn is_valid(&self, _array: &ArrayData, _index: usize) -> bool

source§

fn logical_validity(&self, _array: &ArrayData) -> LogicalValidity

source§

impl VariantsVTable<ArrayData> for OpaqueEncoding

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl ValidityVTable<ArrayData> for OpaqueEncoding

§

fn is_valid(&self, _array: &ArrayData, _index: usize) -> bool

§

fn logical_validity(&self, _array: &ArrayData) -> LogicalValidity

§

impl VariantsVTable<ArrayData> for OpaqueEncoding

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ArrayData> for OpaqueEncoding

§

impl VisitorVTable<ArrayData> for OpaqueEncoding

§

fn accept( &self, _array: &ArrayData, _visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl Copy for OpaqueEncoding

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Result<(), VortexError>

§

impl Copy for OpaqueEncoding

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex/encoding/opaque/struct.OpaqueMetadata.html b/docs/rust/doc/vortex/encoding/opaque/struct.OpaqueMetadata.html index 687076e4d9..177b6cfe3b 100644 --- a/docs/rust/doc/vortex/encoding/opaque/struct.OpaqueMetadata.html +++ b/docs/rust/doc/vortex/encoding/opaque/struct.OpaqueMetadata.html @@ -1,4 +1,4 @@ -OpaqueMetadata in vortex::encoding::opaque - Rust

Struct vortex::encoding::opaque::OpaqueMetadata

source ·
pub struct OpaqueMetadata;

Trait Implementations§

source§

impl ArrayMetadata for OpaqueMetadata

source§

fn as_any(&self) -> &(dyn Any + 'static)

source§

fn as_any_arc(self: Arc<OpaqueMetadata>) -> Arc<dyn Any + Send + Sync>

source§

impl Debug for OpaqueMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Display for OpaqueMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl TrySerializeArrayMetadata for OpaqueMetadata

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +OpaqueMetadata in vortex::encoding::opaque - Rust

Struct vortex::encoding::opaque::OpaqueMetadata

pub struct OpaqueMetadata;

Trait Implementations§

§

impl ArrayMetadata for OpaqueMetadata

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<OpaqueMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl Debug for OpaqueMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for OpaqueMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl TrySerializeArrayMetadata for OpaqueMetadata

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex/encoding/struct.EncodingId.html b/docs/rust/doc/vortex/encoding/struct.EncodingId.html index cdf951388a..226fafc4ae 100644 --- a/docs/rust/doc/vortex/encoding/struct.EncodingId.html +++ b/docs/rust/doc/vortex/encoding/struct.EncodingId.html @@ -1,13 +1,13 @@ -EncodingId in vortex::encoding - Rust

Struct vortex::encoding::EncodingId

source ·
pub struct EncodingId(/* private fields */);
Expand description

EncodingId is a unique name and numerical code of the array

+EncodingId in vortex::encoding - Rust

Struct vortex::encoding::EncodingId

pub struct EncodingId(/* private fields */);
Expand description

EncodingId is a unique name and numerical code of the array

0x0000 - reserved marker encoding 0x0001 - 0x0400 - vortex internal encodings (1 - 1024) 0x0401 - 0x7FFF - well known extension encodings (1025 - 32767) 0x8000 - 0xFFFF - custom extension encodings (32768 - 65535)

-

Implementations§

source§

impl EncodingId

source

pub const fn new(id: &'static str, code: u16) -> EncodingId

source

pub const fn code(&self) -> u16

Trait Implementations§

source§

impl AsRef<str> for EncodingId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for EncodingId

source§

fn clone(&self) -> EncodingId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EncodingId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Display for EncodingId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Hash for EncodingId

source§

fn hash<H>(&self, state: &mut H)
where +

Implementations§

§

impl EncodingId

pub const fn new(id: &'static str, code: u16) -> EncodingId

pub const fn code(&self) -> u16

Trait Implementations§

§

impl AsRef<str> for EncodingId

§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Clone for EncodingId

§

fn clone(&self) -> EncodingId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for EncodingId

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for EncodingId

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Hash for EncodingId

§

fn hash<H>(&self, state: &mut H)
where H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for EncodingId

source§

fn eq(&self, other: &EncodingId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Copy for EncodingId

source§

impl Eq for EncodingId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for EncodingId

§

fn eq(&self, other: &EncodingId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Copy for EncodingId

§

impl Eq for EncodingId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex/encoding/trait.ArrayEncodingRef.html b/docs/rust/doc/vortex/encoding/trait.ArrayEncodingRef.html index 7d5042a2f4..f76c560460 100644 --- a/docs/rust/doc/vortex/encoding/trait.ArrayEncodingRef.html +++ b/docs/rust/doc/vortex/encoding/trait.ArrayEncodingRef.html @@ -1,5 +1,5 @@ -ArrayEncodingRef in vortex::encoding - Rust

Trait vortex::encoding::ArrayEncodingRef

source ·
pub trait ArrayEncodingRef {
+ArrayEncodingRef in vortex::encoding - Rust

Trait vortex::encoding::ArrayEncodingRef

pub trait ArrayEncodingRef {
     // Required method
     fn encoding(&self) -> &'static dyn EncodingVTable;
-}

Required Methods§

source

fn encoding(&self) -> &'static dyn EncodingVTable

Implementors§

source§

impl<T> ArrayEncodingRef for T
where +}

Required Methods§

fn encoding(&self) -> &'static dyn EncodingVTable

Implementors§

§

impl<T> ArrayEncodingRef for T
where T: AsRef<ArrayData>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/trait.Encoding.html b/docs/rust/doc/vortex/encoding/trait.Encoding.html index c51662a512..aa1c0c2a58 100644 --- a/docs/rust/doc/vortex/encoding/trait.Encoding.html +++ b/docs/rust/doc/vortex/encoding/trait.Encoding.html @@ -1,7 +1,7 @@ -Encoding in vortex::encoding - Rust

Trait vortex::encoding::Encoding

source ·
pub trait Encoding: 'static {
+Encoding in vortex::encoding - Rust

Trait vortex::encoding::Encoding

pub trait Encoding: 'static {
     type Array;
     type Metadata: ArrayMetadata;
 
     const ID: EncodingId;
 }
Expand description

Marker trait for array encodings with their associated Array type.

-

Required Associated Types§

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Encoding for ALPEncoding

§

const ID: EncodingId = _

§

type Array = ALPArray

§

type Metadata = ALPMetadata

§

impl Encoding for ALPRDEncoding

§

const ID: EncodingId = _

§

type Array = ALPRDArray

§

type Metadata = ALPRDMetadata

§

impl Encoding for BitPackedEncoding

§

const ID: EncodingId = _

§

type Array = BitPackedArray

§

type Metadata = BitPackedMetadata

§

impl Encoding for ByteBoolEncoding

§

const ID: EncodingId = _

§

type Array = ByteBoolArray

§

type Metadata = ByteBoolMetadata

§

impl Encoding for DateTimePartsEncoding

§

const ID: EncodingId = _

§

type Array = DateTimePartsArray

§

type Metadata = DateTimePartsMetadata

§

impl Encoding for DeltaEncoding

§

const ID: EncodingId = _

§

type Array = DeltaArray

§

type Metadata = DeltaMetadata

§

impl Encoding for DictEncoding

§

const ID: EncodingId = _

§

type Array = DictArray

§

type Metadata = DictMetadata

§

impl Encoding for FSSTEncoding

§

const ID: EncodingId = _

§

type Array = FSSTArray

§

type Metadata = FSSTMetadata

§

impl Encoding for FoREncoding

§

const ID: EncodingId = _

§

type Array = FoRArray

§

type Metadata = FoRMetadata

§

impl Encoding for RoaringBoolEncoding

§

const ID: EncodingId = _

§

type Array = RoaringBoolArray

§

type Metadata = RoaringBoolMetadata

§

impl Encoding for RoaringIntEncoding

§

const ID: EncodingId = _

§

type Array = RoaringIntArray

§

type Metadata = RoaringIntMetadata

§

impl Encoding for RunEndBoolEncoding

§

const ID: EncodingId = _

§

type Array = RunEndBoolArray

§

type Metadata = RunEndBoolMetadata

§

impl Encoding for RunEndEncoding

§

const ID: EncodingId = _

§

type Array = RunEndArray

§

type Metadata = RunEndMetadata

§

impl Encoding for ZigZagEncoding

§

const ID: EncodingId = _

§

type Array = ZigZagArray

§

type Metadata = ZigZagMetadata

Implementors§

source§

impl Encoding for BoolEncoding

source§

impl Encoding for ChunkedEncoding

source§

impl Encoding for ConstantEncoding

source§

impl Encoding for ExtensionEncoding

source§

impl Encoding for ListEncoding

source§

impl Encoding for NullEncoding

source§

impl Encoding for PrimitiveEncoding

source§

impl Encoding for SparseEncoding

source§

impl Encoding for StructEncoding

source§

impl Encoding for VarBinEncoding

source§

impl Encoding for VarBinViewEncoding

\ No newline at end of file +

Required Associated Types§

Required Associated Constants§

const ID: EncodingId

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Encoding for ALPEncoding

§

const ID: EncodingId = _

§

type Array = ALPArray

§

type Metadata = ALPMetadata

§

impl Encoding for ALPRDEncoding

§

const ID: EncodingId = _

§

type Array = ALPRDArray

§

type Metadata = ALPRDMetadata

§

impl Encoding for BitPackedEncoding

§

const ID: EncodingId = _

§

type Array = BitPackedArray

§

type Metadata = BitPackedMetadata

§

impl Encoding for ByteBoolEncoding

§

const ID: EncodingId = _

§

type Array = ByteBoolArray

§

type Metadata = ByteBoolMetadata

§

impl Encoding for DateTimePartsEncoding

§

const ID: EncodingId = _

§

type Array = DateTimePartsArray

§

type Metadata = DateTimePartsMetadata

§

impl Encoding for DeltaEncoding

§

const ID: EncodingId = _

§

type Array = DeltaArray

§

type Metadata = DeltaMetadata

§

impl Encoding for DictEncoding

§

const ID: EncodingId = _

§

type Array = DictArray

§

type Metadata = DictMetadata

§

impl Encoding for FSSTEncoding

§

const ID: EncodingId = _

§

type Array = FSSTArray

§

type Metadata = FSSTMetadata

§

impl Encoding for FoREncoding

§

const ID: EncodingId = _

§

type Array = FoRArray

§

type Metadata = FoRMetadata

§

impl Encoding for RoaringBoolEncoding

§

const ID: EncodingId = _

§

type Array = RoaringBoolArray

§

type Metadata = RoaringBoolMetadata

§

impl Encoding for RoaringIntEncoding

§

const ID: EncodingId = _

§

type Array = RoaringIntArray

§

type Metadata = RoaringIntMetadata

§

impl Encoding for RunEndBoolEncoding

§

const ID: EncodingId = _

§

type Array = RunEndBoolArray

§

type Metadata = RunEndBoolMetadata

§

impl Encoding for RunEndEncoding

§

const ID: EncodingId = _

§

type Array = RunEndArray

§

type Metadata = RunEndMetadata

§

impl Encoding for ZigZagEncoding

§

const ID: EncodingId = _

§

type Array = ZigZagArray

§

type Metadata = ZigZagMetadata

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/trait.EncodingVTable.html b/docs/rust/doc/vortex/encoding/trait.EncodingVTable.html index 415971f49a..fdbab3a3d6 100644 --- a/docs/rust/doc/vortex/encoding/trait.EncodingVTable.html +++ b/docs/rust/doc/vortex/encoding/trait.EncodingVTable.html @@ -1,4 +1,4 @@ -EncodingVTable in vortex::encoding - Rust

Trait vortex::encoding::EncodingVTable

source ·
pub trait EncodingVTable:
+EncodingVTable in vortex::encoding - Rust

Trait vortex::encoding::EncodingVTable

pub trait EncodingVTable:
     'static
     + Sync
     + Send
@@ -14,6 +14,6 @@
     fn id(&self) -> EncodingId;
     fn as_any(&self) -> &(dyn Any + 'static);
 }
Expand description

Object-safe encoding trait for an array.

-

Required Methods§

source

fn id(&self) -> EncodingId

source

fn as_any(&self) -> &(dyn Any + 'static)

Trait Implementations§

source§

impl Hash for dyn EncodingVTable + '_

source§

fn hash<H>(&self, state: &mut H)
where - H: Hasher,

Feeds this value into the given Hasher. Read more
source§

impl PartialEq for dyn EncodingVTable + '_

source§

fn eq(&self, other: &dyn EncodingVTable) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Eq for dyn EncodingVTable + '_

Implementations on Foreign Types§

§

impl EncodingVTable for ALPEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for ALPRDEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for BitPackedEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for ByteBoolEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for DateTimePartsEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for DeltaEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for DictEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for FSSTEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for FoREncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for RoaringBoolEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for RoaringIntEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for RunEndBoolEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for RunEndEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for ZigZagEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

Implementors§

\ No newline at end of file +

Required Methods§

fn id(&self) -> EncodingId

fn as_any(&self) -> &(dyn Any + 'static)

Trait Implementations§

§

impl Hash for dyn EncodingVTable + '_

§

fn hash<H>(&self, state: &mut H)
where + H: Hasher,

Feeds this value into the given Hasher. Read more
§

impl PartialEq for dyn EncodingVTable + '_

§

fn eq(&self, other: &dyn EncodingVTable) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Eq for dyn EncodingVTable + '_

Implementations on Foreign Types§

§

impl EncodingVTable for ALPEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for ALPRDEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for BitPackedEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for ByteBoolEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for DateTimePartsEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for DeltaEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for DictEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for FSSTEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for FoREncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for RoaringBoolEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for RoaringIntEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for RunEndBoolEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for RunEndEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

§

impl EncodingVTable for ZigZagEncoding

§

fn id(&self) -> EncodingId

§

fn as_any(&self) -> &(dyn Any + 'static)

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/encoding/type.EncodingRef.html b/docs/rust/doc/vortex/encoding/type.EncodingRef.html index 9512eecc9a..897454737c 100644 --- a/docs/rust/doc/vortex/encoding/type.EncodingRef.html +++ b/docs/rust/doc/vortex/encoding/type.EncodingRef.html @@ -1 +1 @@ -EncodingRef in vortex::encoding - Rust

Type Alias vortex::encoding::EncodingRef

source ·
pub type EncodingRef = &'static dyn EncodingVTable;
\ No newline at end of file +EncodingRef in vortex::encoding - Rust

Type Alias vortex::encoding::EncodingRef

pub type EncodingRef = &'static dyn EncodingVTable;
\ No newline at end of file diff --git a/docs/rust/doc/vortex/enum.Canonical.html b/docs/rust/doc/vortex/enum.Canonical.html index cc89d4b855..d3e114dab3 100644 --- a/docs/rust/doc/vortex/enum.Canonical.html +++ b/docs/rust/doc/vortex/enum.Canonical.html @@ -1,4 +1,4 @@ -Canonical in vortex - Rust

Enum vortex::Canonical

source ·
pub enum Canonical {
+Canonical in vortex - Rust

Enum vortex::Canonical

pub enum Canonical {
     Null(NullArray),
     Bool(BoolArray),
     Primitive(PrimitiveArray),
@@ -22,23 +22,23 @@ 

§Views s nearly all use-cases. Variable-length binary views are part of the Apache Arrow spec, and are fully supported by the Datafusion query engine. We use them as our canonical string encoding for all Utf8 and Binary typed arrays in Vortex.

-

Variants§

Implementations§

source§

impl Canonical

source

pub fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>

Convert a canonical array into its equivalent [ArrayRef](Arrow array).

+

Variants§

Implementations§

§

impl Canonical

pub fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>

Convert a canonical array into its equivalent [ArrayRef](Arrow array).

Scalar arrays such as Bool and Primitive canonical arrays should convert with zero copies, while more complex variants such as Struct may require allocations if its child arrays require decompression.

-
source§

impl Canonical

source

pub fn empty(dtype: &DType) -> Result<Canonical, VortexError>

source§

impl Canonical

source

pub fn into_null(self) -> Result<NullArray, VortexError>

source

pub fn into_bool(self) -> Result<BoolArray, VortexError>

source

pub fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source

pub fn into_struct(self) -> Result<StructArray, VortexError>

source

pub fn into_list(self) -> Result<ListArray, VortexError>

source

pub fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source

pub fn into_extension(self) -> Result<ExtensionArray, VortexError>

Trait Implementations§

source§

impl AsRef<ArrayData> for Canonical

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for Canonical

source§

fn clone(&self) -> Canonical

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Canonical

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<Canonical> for ArrayData

This conversion is always “free” and should not touch underlying data. All it does is create an +

§

impl Canonical

pub fn empty(dtype: &DType) -> Result<Canonical, VortexError>

§

impl Canonical

pub fn into_null(self) -> Result<NullArray, VortexError>

pub fn into_bool(self) -> Result<BoolArray, VortexError>

pub fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

pub fn into_struct(self) -> Result<StructArray, VortexError>

pub fn into_list(self) -> Result<ListArray, VortexError>

pub fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

pub fn into_extension(self) -> Result<ExtensionArray, VortexError>

Trait Implementations§

§

impl AsRef<ArrayData> for Canonical

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl Clone for Canonical

§

fn clone(&self) -> Canonical

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Canonical

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<Canonical> for ArrayData

This conversion is always “free” and should not touch underlying data. All it does is create an owned pointer to the underlying concrete array type.

This combined with the above IntoCanonical impl for ArrayData allows simple two-way conversions between arbitrary Vortex encodings and canonical Arrow-compatible encodings.

-
source§

fn from(value: Canonical) -> ArrayData

Converts to this type from the input type.
source§

impl IntoArrayData for Canonical

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+
§

fn from(value: Canonical) -> ArrayData

Converts to this type from the input type.
§

impl IntoArrayData for Canonical

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -56,8 +56,8 @@

§Views s F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex/index.html b/docs/rust/doc/vortex/index.html index e64282622c..c0aa22caae 100644 --- a/docs/rust/doc/vortex/index.html +++ b/docs/rust/doc/vortex/index.html @@ -1,2 +1,2 @@ -vortex - Rust

Crate vortex

source ·

Re-exports§

  • pub use vortex_roaring as roaring;
  • pub use vortex_alp as alp;
  • pub use vortex_buffer as buffer;
  • pub use vortex_bytebool as bytebool;
  • pub use vortex_datetime_dtype as datetime_dtype;
  • pub use vortex_datetime_parts as datetime_parts;
  • pub use vortex_dict as dict;
  • pub use vortex_dtype as dtype;
  • pub use vortex_error as error;
  • pub use vortex_expr as expr;
  • pub use vortex_fastlanes as fastlanes;
  • pub use vortex_file as file;
  • pub use vortex_flatbuffers as flatbuffers;
  • pub use vortex_fsst as fsst;
  • pub use vortex_io as io;
  • pub use vortex_ipc as ipc;
  • pub use vortex_proto as proto;
  • pub use vortex_runend as runend;
  • pub use vortex_runend_bool as runend_bool;
  • pub use vortex_sampling_compressor as sampling_compressor;
  • pub use vortex_scalar as scalar;
  • pub use vortex_zigzag as zigzag;

Modules§

Macros§

  • Macro to generate all the necessary code for a new type of array encoding. Including:

Structs§

  • A depth-first pre-order iterator over a ArrayData.
  • A central type for all Vortex arrays, which are known length sequences of typed and possibly compressed data.
  • A mapping between an encoding’s ID to an EncodingRef, used to have a shared view of all available encoding schemes.

Enums§

Trait Implementations§

§

impl Clone for StatsSet

§

fn clone(&self) -> StatsSet

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for StatsSet

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for StatsSet

§

fn default() -> StatsSet

Returns the “default value” for a type. Read more
§

impl Extend<(Stat, Scalar)> for StatsSet

§

fn extend<T>(&mut self, iter: T)
where + T: IntoIterator<Item = (Stat, Scalar)>,

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
§

impl IntoIterator for StatsSet

§

type Item = (Stat, Scalar)

The type of the elements being iterated over.
§

type IntoIter = StatsSetIntoIter

Which kind of iterator are we turning this into?
§

fn into_iter(self) -> <StatsSet as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
§

impl PartialEq for StatsSet

§

fn eq(&self, other: &StatsSet) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl StructuralPartialEq for StatsSet

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex/stats/struct.StatsSetIntoIter.html b/docs/rust/doc/vortex/stats/struct.StatsSetIntoIter.html index e97e6fb5c3..0fe09d25b1 100644 --- a/docs/rust/doc/vortex/stats/struct.StatsSetIntoIter.html +++ b/docs/rust/doc/vortex/stats/struct.StatsSetIntoIter.html @@ -1,4 +1,4 @@ -StatsSetIntoIter in vortex::stats - Rust

Struct vortex::stats::StatsSetIntoIter

source ·
pub struct StatsSetIntoIter { /* private fields */ }

Trait Implementations§

source§

impl Iterator for StatsSetIntoIter

source§

type Item = (Stat, Scalar)

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<StatsSetIntoIter as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn next_chunk<const N: usize>( +StatsSetIntoIter in vortex::stats - Rust

Struct vortex::stats::StatsSetIntoIter

pub struct StatsSetIntoIter { /* private fields */ }

Trait Implementations§

§

impl Iterator for StatsSetIntoIter

§

type Item = (Stat, Scalar)

The type of the elements being iterated over.
§

fn next(&mut self) -> Option<<StatsSetIntoIter as Iterator>::Item>

Advances the iterator and returns the next value. Read more
§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
source§

fn next_chunk<const N: usize>( &mut self, ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
where Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn count(self) -> usize
where diff --git a/docs/rust/doc/vortex/stats/trait.ArrayStatistics.html b/docs/rust/doc/vortex/stats/trait.ArrayStatistics.html index dff9810fc3..e1ea68c96e 100644 --- a/docs/rust/doc/vortex/stats/trait.ArrayStatistics.html +++ b/docs/rust/doc/vortex/stats/trait.ArrayStatistics.html @@ -1,6 +1,6 @@ -ArrayStatistics in vortex::stats - Rust

Trait vortex::stats::ArrayStatistics

source ·
pub trait ArrayStatistics {
+ArrayStatistics in vortex::stats - Rust

Trait vortex::stats::ArrayStatistics

pub trait ArrayStatistics {
     // Required methods
     fn statistics(&self) -> &dyn Statistics;
     fn inherit_statistics(&self, parent: &dyn Statistics);
-}

Required Methods§

source

fn statistics(&self) -> &dyn Statistics

source

fn inherit_statistics(&self, parent: &dyn Statistics)

Implementors§

source§

impl<T> ArrayStatistics for T
where +}

Required Methods§

fn statistics(&self) -> &dyn Statistics

fn inherit_statistics(&self, parent: &dyn Statistics)

Implementors§

§

impl<T> ArrayStatistics for T
where T: AsRef<ArrayData>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/stats/trait.Statistics.html b/docs/rust/doc/vortex/stats/trait.Statistics.html index 692e5a9a61..b7215654da 100644 --- a/docs/rust/doc/vortex/stats/trait.Statistics.html +++ b/docs/rust/doc/vortex/stats/trait.Statistics.html @@ -1,28 +1,28 @@ -Statistics in vortex::stats - Rust

Trait vortex::stats::Statistics

source ·
pub trait Statistics {
+Statistics in vortex::stats - Rust

Trait vortex::stats::Statistics

pub trait Statistics {
     // Required methods
-    fn get(&self, stat: Stat) -> Option<Scalar>;
+    fn get(&self, stat: Stat) -> Option<Scalar>;
     fn to_set(&self) -> StatsSet;
-    fn set(&self, stat: Stat, value: Scalar);
+    fn set(&self, stat: Stat, value: Scalar);
     fn clear(&self, stat: Stat);
-    fn compute(&self, stat: Stat) -> Option<Scalar>;
+    fn compute(&self, stat: Stat) -> Option<Scalar>;
     fn retain_only(&self, stats: &[Stat]);
 
     // Provided method
     fn compute_all(&self, stats: &[Stat]) -> Result<StatsSet, VortexError> { ... }
-}

Required Methods§

source

fn get(&self, stat: Stat) -> Option<Scalar>

Returns the value of the statistic only if it’s present

-
source

fn to_set(&self) -> StatsSet

Get all existing statistics

-
source

fn set(&self, stat: Stat, value: Scalar)

Set the value of the statistic

-
source

fn clear(&self, stat: Stat)

Clear the value of the statistic

-
source

fn compute(&self, stat: Stat) -> Option<Scalar>

Computes the value of the stat if it’s not present

-
source

fn retain_only(&self, stats: &[Stat])

Provided Methods§

source

fn compute_all(&self, stats: &[Stat]) -> Result<StatsSet, VortexError>

Compute all the requested statistics (if not already present) +}

Required Methods§

fn get(&self, stat: Stat) -> Option<Scalar>

Returns the value of the statistic only if it’s present

+

fn to_set(&self) -> StatsSet

Get all existing statistics

+

fn set(&self, stat: Stat, value: Scalar)

Set the value of the statistic

+

fn clear(&self, stat: Stat)

Clear the value of the statistic

+

fn compute(&self, stat: Stat) -> Option<Scalar>

Computes the value of the stat if it’s not present

+

fn retain_only(&self, stats: &[Stat])

Provided Methods§

fn compute_all(&self, stats: &[Stat]) -> Result<StatsSet, VortexError>

Compute all the requested statistics (if not already present) Returns a StatsSet with the requested stats and any additional available stats

-

Implementations§

source§

impl dyn Statistics + '_

source

pub fn get_as<U>(&self, stat: Stat) -> Option<U>
where - U: for<'a> TryFrom<&'a Scalar, Error = VortexError>,

source

pub fn get_as_cast<U>(&self, stat: Stat) -> Option<U>
where - U: NativePType + for<'a> TryFrom<&'a Scalar, Error = VortexError>,

source

pub fn compute_as<U>(&self, stat: Stat) -> Option<U>
where - U: for<'a> TryFrom<&'a Scalar, Error = VortexError>,

source

pub fn compute_as_cast<U>(&self, stat: Stat) -> Option<U>
where - U: NativePType + for<'a> TryFrom<&'a Scalar, Error = VortexError>,

source

pub fn compute_min<U>(&self) -> Option<U>
where - U: for<'a> TryFrom<&'a Scalar, Error = VortexError>,

source

pub fn compute_max<U>(&self) -> Option<U>
where - U: for<'a> TryFrom<&'a Scalar, Error = VortexError>,

source

pub fn compute_is_strict_sorted(&self) -> Option<bool>

source

pub fn compute_is_sorted(&self) -> Option<bool>

source

pub fn compute_is_constant(&self) -> Option<bool>

source

pub fn compute_true_count(&self) -> Option<usize>

source

pub fn compute_null_count(&self) -> Option<usize>

source

pub fn compute_run_count(&self) -> Option<usize>

source

pub fn compute_bit_width_freq(&self) -> Option<Vec<usize>>

source

pub fn compute_trailing_zero_freq(&self) -> Option<Vec<usize>>

source

pub fn compute_uncompressed_size_in_bytes(&self) -> Option<usize>

Trait Implementations§

source§

impl WriteFlatBuffer for &dyn Statistics

source§

type Target<'t> = ArrayStats<'t>

source§

fn write_flatbuffer<'fb>( +

Implementations§

§

impl dyn Statistics + '_

pub fn get_as<U>(&self, stat: Stat) -> Option<U>
where + U: for<'a> TryFrom<&'a Scalar, Error = VortexError>,

pub fn get_as_cast<U>(&self, stat: Stat) -> Option<U>
where + U: NativePType + for<'a> TryFrom<&'a Scalar, Error = VortexError>,

pub fn compute_as<U>(&self, stat: Stat) -> Option<U>
where + U: for<'a> TryFrom<&'a Scalar, Error = VortexError>,

pub fn compute_as_cast<U>(&self, stat: Stat) -> Option<U>
where + U: NativePType + for<'a> TryFrom<&'a Scalar, Error = VortexError>,

pub fn compute_min<U>(&self) -> Option<U>
where + U: for<'a> TryFrom<&'a Scalar, Error = VortexError>,

pub fn compute_max<U>(&self) -> Option<U>
where + U: for<'a> TryFrom<&'a Scalar, Error = VortexError>,

pub fn compute_is_strict_sorted(&self) -> Option<bool>

pub fn compute_is_sorted(&self) -> Option<bool>

pub fn compute_is_constant(&self) -> Option<bool>

pub fn compute_true_count(&self) -> Option<usize>

pub fn compute_null_count(&self) -> Option<usize>

pub fn compute_run_count(&self) -> Option<usize>

pub fn compute_bit_width_freq(&self) -> Option<Vec<usize>>

pub fn compute_trailing_zero_freq(&self) -> Option<Vec<usize>>

pub fn compute_uncompressed_size_in_bytes(&self) -> Option<usize>

Trait Implementations§

§

impl WriteFlatBuffer for &dyn Statistics

§

type Target<'t> = ArrayStats<'t>

§

fn write_flatbuffer<'fb>( &self, fbb: &mut FlatBufferBuilder<'fb>, ) -> WIPOffset<<&dyn Statistics as WriteFlatBuffer>::Target<'fb>>

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/stats/trait.StatisticsVTable.html b/docs/rust/doc/vortex/stats/trait.StatisticsVTable.html index 618cdf6068..8157982aba 100644 --- a/docs/rust/doc/vortex/stats/trait.StatisticsVTable.html +++ b/docs/rust/doc/vortex/stats/trait.StatisticsVTable.html @@ -1,4 +1,4 @@ -StatisticsVTable in vortex::stats - Rust

Trait vortex::stats::StatisticsVTable

source ·
pub trait StatisticsVTable<Array>
where +StatisticsVTable in vortex::stats - Rust

Trait vortex::stats::StatisticsVTable

pub trait StatisticsVTable<Array>
where Array: ?Sized,
{ // Provided method fn compute_statistics( @@ -7,7 +7,7 @@ _stat: Stat, ) -> Result<StatsSet, VortexError> { ... } }
Expand description

Encoding VTable for computing array statistics.

-

Provided Methods§

Provided Methods§

fn compute_statistics( &self, _array: &Array, _stat: Stat, @@ -44,8 +44,8 @@ &self, array: &ZigZagArray, stat: Stat, -) -> Result<StatsSet, VortexError>

Implementors§

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/stream/index.html b/docs/rust/doc/vortex/stream/index.html index 445c24765a..3fb7dc5473 100644 --- a/docs/rust/doc/vortex/stream/index.html +++ b/docs/rust/doc/vortex/stream/index.html @@ -1 +1 @@ -vortex::stream - Rust

Module vortex::stream

source ·

Structs§

Traits§

\ No newline at end of file +vortex::stream - Rust

Module vortex::stream

Structs§

Traits§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/stream/struct.ArrayStreamAdapter.html b/docs/rust/doc/vortex/stream/struct.ArrayStreamAdapter.html index e6c53332fb..b722f52756 100644 --- a/docs/rust/doc/vortex/stream/struct.ArrayStreamAdapter.html +++ b/docs/rust/doc/vortex/stream/struct.ArrayStreamAdapter.html @@ -1,23 +1,23 @@ -ArrayStreamAdapter in vortex::stream - Rust

Struct vortex::stream::ArrayStreamAdapter

source ·
pub struct ArrayStreamAdapter<S> { /* private fields */ }
Expand description

An adapter for a stream of array chunks to implement an ArrayReader.

-

Implementations§

source§

impl<S> ArrayStreamAdapter<S>

source

pub fn new(dtype: DType, inner: S) -> ArrayStreamAdapter<S>

Trait Implementations§

source§

impl<S> ArrayStream for ArrayStreamAdapter<S>
where - S: Stream<Item = Result<ArrayData, VortexError>>,

source§

fn dtype(&self) -> &DType

source§

impl<S> Stream for ArrayStreamAdapter<S>
where - S: Stream<Item = Result<ArrayData, VortexError>>,

source§

type Item = Result<ArrayData, VortexError>

Values yielded by the stream.
source§

fn poll_next( +ArrayStreamAdapter in vortex::stream - Rust

Struct vortex::stream::ArrayStreamAdapter

pub struct ArrayStreamAdapter<S> { /* private fields */ }
Expand description

An adapter for a stream of array chunks to implement an ArrayReader.

+

Implementations§

§

impl<S> ArrayStreamAdapter<S>

pub fn new(dtype: DType, inner: S) -> ArrayStreamAdapter<S>

Trait Implementations§

§

impl<S> ArrayStream for ArrayStreamAdapter<S>
where + S: Stream<Item = Result<ArrayData, VortexError>>,

§

fn dtype(&self) -> &DType

§

impl<S> Stream for ArrayStreamAdapter<S>
where + S: Stream<Item = Result<ArrayData, VortexError>>,

§

type Item = Result<ArrayData, VortexError>

Values yielded by the stream.
§

fn poll_next( self: Pin<&mut ArrayStreamAdapter<S>>, cx: &mut Context<'_>, ) -> Poll<Option<<ArrayStreamAdapter<S> as Stream>::Item>>

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning -None if the stream is exhausted. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the stream. Read more
source§

impl<'pin, S> Unpin for ArrayStreamAdapter<S>
where +None if the stream is exhausted. Read more

§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the stream. Read more
§

impl<'pin, S> Unpin for ArrayStreamAdapter<S>
where <PinnedFieldsOfHelperStruct<__ArrayStreamAdapter<'pin, S>> as PinnedFieldsOfHelperTrait>::Actual: Unpin,

Auto Trait Implementations§

§

impl<S> Freeze for ArrayStreamAdapter<S>
where S: Freeze,

§

impl<S> RefUnwindSafe for ArrayStreamAdapter<S>
where S: RefUnwindSafe,

§

impl<S> Send for ArrayStreamAdapter<S>
where S: Send,

§

impl<S> Sync for ArrayStreamAdapter<S>
where S: Sync,

§

impl<S> UnwindSafe for ArrayStreamAdapter<S>
where S: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<R> ArrayStreamExt for R
where - R: ArrayStream,

source§

fn collect_chunked( + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<R> ArrayStreamExt for R
where + R: ArrayStream,

§

fn collect_chunked( self, ) -> impl Future<Output = Result<ChunkedArray, VortexError>>
where - Self: Sized,

source§

fn take_rows(self, indices: ArrayData) -> Result<impl ArrayStream, VortexError>
where + Self: Sized,

§

fn take_rows(self, indices: ArrayData) -> Result<impl ArrayStream, VortexError>
where Self: Sized,

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex/stream/struct.TakeRows.html b/docs/rust/doc/vortex/stream/struct.TakeRows.html index 1188ba9828..8538a7ab63 100644 --- a/docs/rust/doc/vortex/stream/struct.TakeRows.html +++ b/docs/rust/doc/vortex/stream/struct.TakeRows.html @@ -1,15 +1,15 @@ -TakeRows in vortex::stream - Rust

Struct vortex::stream::TakeRows

source ·
pub struct TakeRows<R>
where - R: ArrayStream,
{ /* private fields */ }

Implementations§

source§

impl<R> TakeRows<R>
where - R: ArrayStream,

source

pub fn try_new( +TakeRows in vortex::stream - Rust

Struct vortex::stream::TakeRows

pub struct TakeRows<R>
where + R: ArrayStream,
{ /* private fields */ }

Implementations§

§

impl<R> TakeRows<R>
where + R: ArrayStream,

pub fn try_new( reader: R, indices: ArrayData, -) -> Result<TakeRows<R>, VortexError>

Trait Implementations§

source§

impl<R> Stream for TakeRows<R>
where - R: ArrayStream,

source§

type Item = Result<ArrayData, VortexError>

Values yielded by the stream.
source§

fn poll_next( +) -> Result<TakeRows<R>, VortexError>

Trait Implementations§

§

impl<R> Stream for TakeRows<R>
where + R: ArrayStream,

§

type Item = Result<ArrayData, VortexError>

Values yielded by the stream.
§

fn poll_next( self: Pin<&mut TakeRows<R>>, cx: &mut Context<'_>, ) -> Poll<Option<<TakeRows<R> as Stream>::Item>>

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning -None if the stream is exhausted. Read more
§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the stream. Read more
source§

impl<'pin, R> Unpin for TakeRows<R>
where +None if the stream is exhausted. Read more

§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the stream. Read more
§

impl<'pin, R> Unpin for TakeRows<R>
where R: ArrayStream, <PinnedFieldsOfHelperStruct<__TakeRows<'pin, R>> as PinnedFieldsOfHelperTrait>::Actual: Unpin,

Auto Trait Implementations§

§

impl<R> !Freeze for TakeRows<R>

§

impl<R> !RefUnwindSafe for TakeRows<R>

§

impl<R> Send for TakeRows<R>
where R: Send,

§

impl<R> Sync for TakeRows<R>
where diff --git a/docs/rust/doc/vortex/stream/trait.ArrayStream.html b/docs/rust/doc/vortex/stream/trait.ArrayStream.html index ee6f2edca5..2874881677 100644 --- a/docs/rust/doc/vortex/stream/trait.ArrayStream.html +++ b/docs/rust/doc/vortex/stream/trait.ArrayStream.html @@ -1,7 +1,7 @@ -ArrayStream in vortex::stream - Rust

Trait vortex::stream::ArrayStream

source ·
pub trait ArrayStream: Stream<Item = Result<ArrayData, VortexError>> {
+ArrayStream in vortex::stream - Rust

Trait vortex::stream::ArrayStream

pub trait ArrayStream: Stream<Item = Result<ArrayData, VortexError>> {
     // Required method
     fn dtype(&self) -> &DType;
 }
Expand description

A stream of array chunks along with a DType.

Can be thought of as equivalent to Arrow’s RecordBatchReader.

-

Required Methods§

source

fn dtype(&self) -> &DType

Implementors§

Required Methods§

fn dtype(&self) -> &DType

Implementors§

§

impl<S> ArrayStream for ArrayStreamAdapter<S>
where S: Stream<Item = Result<ArrayData, VortexError>>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/stream/trait.ArrayStreamExt.html b/docs/rust/doc/vortex/stream/trait.ArrayStreamExt.html index 10397d765d..8e644f30e9 100644 --- a/docs/rust/doc/vortex/stream/trait.ArrayStreamExt.html +++ b/docs/rust/doc/vortex/stream/trait.ArrayStreamExt.html @@ -1,4 +1,4 @@ -ArrayStreamExt in vortex::stream - Rust

Trait vortex::stream::ArrayStreamExt

source ·
pub trait ArrayStreamExt: ArrayStream {
+ArrayStreamExt in vortex::stream - Rust

Trait vortex::stream::ArrayStreamExt

pub trait ArrayStreamExt: ArrayStream {
     // Provided methods
     fn collect_chunked(
         self,
@@ -9,9 +9,9 @@
         indices: ArrayData,
     ) -> Result<impl ArrayStream, VortexError>
        where Self: Sized { ... }
-}

Provided Methods§

Provided Methods§

fn collect_chunked( self, ) -> impl Future<Output = Result<ChunkedArray, VortexError>>
where - Self: Sized,

source

fn take_rows(self, indices: ArrayData) -> Result<impl ArrayStream, VortexError>
where - Self: Sized,

Implementors§

source§

impl<R> ArrayStreamExt for R
where + Self: Sized,

fn take_rows(self, indices: ArrayData) -> Result<impl ArrayStream, VortexError>
where + Self: Sized,

Implementors§

§

impl<R> ArrayStreamExt for R
where R: ArrayStream,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/struct.ArrayChildrenIterator.html b/docs/rust/doc/vortex/struct.ArrayChildrenIterator.html index db08f8da0d..10df8c7a89 100644 --- a/docs/rust/doc/vortex/struct.ArrayChildrenIterator.html +++ b/docs/rust/doc/vortex/struct.ArrayChildrenIterator.html @@ -1,5 +1,5 @@ -ArrayChildrenIterator in vortex - Rust

Struct vortex::ArrayChildrenIterator

source ·
pub struct ArrayChildrenIterator { /* private fields */ }
Expand description

A depth-first pre-order iterator over a ArrayData.

-

Implementations§

Trait Implementations§

source§

impl Iterator for ArrayChildrenIterator

source§

type Item = ArrayData

The type of the elements being iterated over.
source§

fn next(&mut self) -> Option<<ArrayChildrenIterator as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn next_chunk<const N: usize>( +ArrayChildrenIterator in vortex - Rust

Struct vortex::ArrayChildrenIterator

pub struct ArrayChildrenIterator { /* private fields */ }
Expand description

A depth-first pre-order iterator over a ArrayData.

+

Implementations§

Trait Implementations§

§

impl Iterator for ArrayChildrenIterator

§

type Item = ArrayData

The type of the elements being iterated over.
§

fn next(&mut self) -> Option<<ArrayChildrenIterator as Iterator>::Item>

Advances the iterator and returns the next value. Read more
source§

fn next_chunk<const N: usize>( &mut self, ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
where Self: Sized,

🔬This is a nightly-only experimental API. (iter_next_chunk)
Advances the iterator and returns an array containing the next N values. Read more
1.0.0 · source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the iterator. Read more
1.0.0 · source§

fn count(self) -> usize
where diff --git a/docs/rust/doc/vortex/struct.ArrayData.html b/docs/rust/doc/vortex/struct.ArrayData.html index bf1fc40334..8224f81694 100644 --- a/docs/rust/doc/vortex/struct.ArrayData.html +++ b/docs/rust/doc/vortex/struct.ArrayData.html @@ -1,6 +1,6 @@ -ArrayData in vortex - Rust

Struct vortex::ArrayData

source ·
pub struct ArrayData(/* private fields */);
Expand description

A central type for all Vortex arrays, which are known length sequences of typed and possibly compressed data.

+ArrayData in vortex - Rust

Struct vortex::ArrayData

pub struct ArrayData(/* private fields */);
Expand description

A central type for all Vortex arrays, which are known length sequences of typed and possibly compressed data.

This is the main entrypoint for working with in-memory Vortex data, and dispatches work over the underlying encoding or memory representations.

-

Implementations§

source§

impl ArrayData

Implementations§

§

impl ArrayData

pub fn try_new_owned( encoding: &'static dyn EncodingVTable, dtype: DType, len: usize, @@ -8,7 +8,7 @@ buffer: Option<Buffer>, children: Arc<[ArrayData]>, statistics: StatsSet, -) -> Result<ArrayData, VortexError>

source

pub fn try_new_viewed<F>( +) -> Result<ArrayData, VortexError>

pub fn try_new_viewed<F>( ctx: Arc<Context>, dtype: DType, len: usize, @@ -16,251 +16,251 @@ flatbuffer_init: F, buffers: Vec<Buffer>, ) -> Result<ArrayData, VortexError>
where - F: FnOnce(&[u8]) -> Result<Array<'_>, VortexError>,

source

pub fn encoding(&self) -> &'static dyn EncodingVTable

Return the array’s encoding

-
source

pub fn len(&self) -> usize

Returns the number of logical elements in the array.

-
source

pub fn is_empty(&self) -> bool

Check whether the array has any data

-
source

pub fn is_canonical(&self) -> bool

Whether the array is of a canonical encoding.

-
source

pub fn is_arrow(&self) -> bool

Whether the array is fully zero-copy to Arrow (including children). + F: FnOnce(&[u8]) -> Result<Array<'_>, VortexError>,

pub fn encoding(&self) -> &'static dyn EncodingVTable

Return the array’s encoding

+

pub fn len(&self) -> usize

Returns the number of logical elements in the array.

+

pub fn is_empty(&self) -> bool

Check whether the array has any data

+

pub fn is_canonical(&self) -> bool

Whether the array is of a canonical encoding.

+

pub fn is_arrow(&self) -> bool

Whether the array is fully zero-copy to Arrow (including children). This means any nested types, like Structs, Lists, and Extensions are not present.

-
source

pub fn is_constant(&self) -> bool

Return whether the array is constant.

-
source

pub fn as_constant(&self) -> Option<Scalar>

Return scalar value of this array if the array is constant

-
source

pub fn child<'a>( +

pub fn is_constant(&self) -> bool

Return whether the array is constant.

+

pub fn as_constant(&self) -> Option<Scalar>

Return scalar value of this array if the array is constant

+

pub fn child<'a>( &'a self, idx: usize, dtype: &'a DType, len: usize, -) -> Result<ArrayData, VortexError>

source

pub fn children(&self) -> Vec<ArrayData>

Returns a Vec of Arrays with all the array’s child arrays.

-
source

pub fn nchildren(&self) -> usize

Returns the number of child arrays

-
source

pub fn depth_first_traversal(&self) -> ArrayChildrenIterator

source

pub fn cumulative_nbuffers(&self) -> usize

Count the number of cumulative buffers encoded by self.

-
source

pub fn all_buffer_offsets(&self, alignment: usize) -> Vec<u64>

Return the buffer offsets and the total length of all buffers, assuming the given alignment. +) -> Result<ArrayData, VortexError>

pub fn children(&self) -> Vec<ArrayData>

Returns a Vec of Arrays with all the array’s child arrays.

+

pub fn nchildren(&self) -> usize

Returns the number of child arrays

+

pub fn depth_first_traversal(&self) -> ArrayChildrenIterator

pub fn cumulative_nbuffers(&self) -> usize

Count the number of cumulative buffers encoded by self.

+

pub fn all_buffer_offsets(&self, alignment: usize) -> Vec<u64>

Return the buffer offsets and the total length of all buffers, assuming the given alignment. This includes all child buffers.

-
source

pub fn array_metadata(&self) -> &(dyn ArrayMetadata + 'static)

source

pub fn metadata<M>(&self) -> Result<&M, VortexError>
where - M: ArrayMetadata + Clone + for<'m> TryDeserializeArrayMetadata<'m>,

source

pub fn metadata_bytes(&self) -> Result<Cow<'_, [u8]>, VortexError>

Get back the (possibly owned) metadata for the array.

+

pub fn array_metadata(&self) -> &(dyn ArrayMetadata + 'static)

pub fn metadata<M>(&self) -> Result<&M, VortexError>
where + M: ArrayMetadata + Clone + for<'m> TryDeserializeArrayMetadata<'m>,

pub fn metadata_bytes(&self) -> Result<Cow<'_, [u8]>, VortexError>

Get back the (possibly owned) metadata for the array.

View arrays will return a reference to their bytes, while heap-backed arrays must first serialize their metadata, returning an owned byte array to the caller.

-
source

pub fn buffer(&self) -> Option<&Buffer>

source

pub fn into_buffer(self) -> Option<Buffer>

source

pub fn into_array_iterator(self) -> impl ArrayIterator

source

pub fn into_array_stream(self) -> impl ArrayStream

source

pub fn is_encoding(&self, id: EncodingId) -> bool

Checks whether array is of a given encoding.

-
source§

impl ArrayData

source

pub fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.

-
source§

impl ArrayData

source§

impl ArrayData

Provide functions on type-erased ArrayData to downcast into dtype-specific array variants.

-

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for ArrayData

source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<ArrayData, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +

pub fn buffer(&self) -> Option<&Buffer>

pub fn into_buffer(self) -> Option<Buffer>

pub fn into_array_iterator(self) -> impl ArrayIterator

pub fn into_array_stream(self) -> impl ArrayStream

pub fn is_encoding(&self, id: EncodingId) -> bool

Checks whether array is of a given encoding.

+
§

impl ArrayData

pub fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.

+
§

impl ArrayData

pub fn tree_display(&self) -> TreeDisplayWrapper<'_>

§

impl ArrayData

Provide functions on type-erased ArrayData to downcast into dtype-specific array variants.

+

pub fn as_null_array(&self) -> Option<&dyn NullArrayTrait>

pub fn as_bool_array(&self) -> Option<&dyn BoolArrayTrait>

pub fn as_primitive_array(&self) -> Option<&dyn PrimitiveArrayTrait>

pub fn as_utf8_array(&self) -> Option<&dyn Utf8ArrayTrait>

pub fn as_binary_array(&self) -> Option<&dyn BinaryArrayTrait>

pub fn as_struct_array(&self) -> Option<&dyn StructArrayTrait>

pub fn as_list_array(&self) -> Option<&dyn ListArrayTrait>

pub fn as_extension_array(&self) -> Option<&dyn ExtensionArrayTrait>

Trait Implementations§

§

impl<'a> Arbitrary<'a> for ArrayData

§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<ArrayData, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
§

fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<ArrayData> for ArrayData

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for BoolArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for Canonical

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for ChunkedArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for ConstantArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for ExtensionArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for ListArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for NullArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for PrimitiveArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for SparseArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for StructArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for VarBinArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<ArrayData> for VarBinViewArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<E> BinaryBooleanFn<ArrayData> for E
where +needs to construct itself. Read more

§

impl AsRef<ArrayData> for ArrayData

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for BoolArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for Canonical

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for ChunkedArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for ConstantArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for ExtensionArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for ListArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for NullArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for PrimitiveArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for SparseArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for StructArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for VarBinArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl AsRef<ArrayData> for VarBinViewArray

§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
§

impl<E> BinaryBooleanFn<ArrayData> for E
where E: Encoding + BinaryBooleanFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn binary_boolean( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn binary_boolean( &self, lhs: &ArrayData, rhs: &ArrayData, op: BinaryOperator, -) -> Result<Option<ArrayData>, VortexError>

source§

impl<E> CastFn<ArrayData> for E
where +) -> Result<Option<ArrayData>, VortexError>

§

impl<E> CastFn<ArrayData> for E
where E: Encoding + CastFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn cast( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn cast( &self, array: &ArrayData, dtype: &DType, -) -> Result<ArrayData, VortexError>

source§

impl Clone for ArrayData

source§

fn clone(&self) -> ArrayData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<E> CompareFn<ArrayData> for E
where +) -> Result<ArrayData, VortexError>

§

impl Clone for ArrayData

§

fn clone(&self) -> ArrayData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<E> CompareFn<ArrayData> for E
where E: Encoding + CompareFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn compare( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn compare( &self, lhs: &ArrayData, rhs: &ArrayData, operator: Operator, ) -> Result<Option<ArrayData>, VortexError>

Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
source§

impl Debug for ArrayData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Display for ArrayData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<E> FillForwardFn<ArrayData> for E
where +Or, returns None if comparison is not supported for these arrays.

§

impl Debug for ArrayData

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for ArrayData

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<E> FillForwardFn<ArrayData> for E
where E: Encoding + FillForwardFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn fill_forward(&self, array: &ArrayData) -> Result<ArrayData, VortexError>

source§

impl<E> FillNullFn<ArrayData> for E
where + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn fill_forward(&self, array: &ArrayData) -> Result<ArrayData, VortexError>

§

impl<E> FillNullFn<ArrayData> for E
where E: Encoding + FillNullFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn fill_null( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn fill_null( &self, array: &ArrayData, - fill_value: Scalar, -) -> Result<ArrayData, VortexError>

source§

impl<E> FilterFn<ArrayData> for E
where + fill_value: Scalar, +) -> Result<ArrayData, VortexError>

§

impl<E> FilterFn<ArrayData> for E
where E: Encoding + FilterFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn filter( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn filter( &self, array: &ArrayData, mask: FilterMask, -) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
source§

impl From<BooleanBuffer> for ArrayData

source§

fn from(value: BooleanBuffer) -> ArrayData

Converts to this type from the input type.
source§

impl From<Buffer> for ArrayData

source§

fn from(value: Buffer) -> ArrayData

Converts to this type from the input type.
source§

impl From<Canonical> for ArrayData

This conversion is always “free” and should not touch underlying data. All it does is create an +) -> Result<ArrayData, VortexError>

Filter an array by the provided predicate.
§

impl From<BooleanBuffer> for ArrayData

§

fn from(value: BooleanBuffer) -> ArrayData

Converts to this type from the input type.
§

impl From<Buffer> for ArrayData

§

fn from(value: Buffer) -> ArrayData

Converts to this type from the input type.
§

impl From<Canonical> for ArrayData

This conversion is always “free” and should not touch underlying data. All it does is create an owned pointer to the underlying concrete array type.

This combined with the above IntoCanonical impl for ArrayData allows simple two-way conversions between arbitrary Vortex encodings and canonical Arrow-compatible encodings.

-
source§

fn from(value: Canonical) -> ArrayData

Converts to this type from the input type.
source§

impl<O> From<OffsetBuffer<O>> for ArrayData
where - O: NativePType + OffsetSizeTrait,

source§

fn from(value: OffsetBuffer<O>) -> ArrayData

Converts to this type from the input type.
source§

impl From<OwnedArrayData> for ArrayData

source§

fn from(data: OwnedArrayData) -> ArrayData

Converts to this type from the input type.
source§

impl<T> From<ScalarBuffer<T>> for ArrayData
where - T: ArrowNativeType + NativePType,

source§

fn from(value: ScalarBuffer<T>) -> ArrayData

Converts to this type from the input type.
source§

impl From<TemporalArray> for ArrayData

source§

fn from(value: TemporalArray) -> ArrayData

Converts to this type from the input type.
source§

impl From<Vec<f16>> for ArrayData

source§

fn from(value: Vec<f16>) -> ArrayData

Converts to this type from the input type.
source§

impl From<Vec<f32>> for ArrayData

source§

fn from(value: Vec<f32>) -> ArrayData

Converts to this type from the input type.
source§

impl From<Vec<f64>> for ArrayData

source§

fn from(value: Vec<f64>) -> ArrayData

Converts to this type from the input type.
source§

impl From<Vec<i16>> for ArrayData

source§

fn from(value: Vec<i16>) -> ArrayData

Converts to this type from the input type.
source§

impl From<Vec<i32>> for ArrayData

source§

fn from(value: Vec<i32>) -> ArrayData

Converts to this type from the input type.
source§

impl From<Vec<i64>> for ArrayData

source§

fn from(value: Vec<i64>) -> ArrayData

Converts to this type from the input type.
source§

impl From<Vec<i8>> for ArrayData

source§

fn from(value: Vec<i8>) -> ArrayData

Converts to this type from the input type.
source§

impl From<Vec<u16>> for ArrayData

source§

fn from(value: Vec<u16>) -> ArrayData

Converts to this type from the input type.
source§

impl From<Vec<u32>> for ArrayData

source§

fn from(value: Vec<u32>) -> ArrayData

Converts to this type from the input type.
source§

impl From<Vec<u64>> for ArrayData

source§

fn from(value: Vec<u64>) -> ArrayData

Converts to this type from the input type.
source§

impl From<Vec<u8>> for ArrayData

source§

fn from(value: Vec<u8>) -> ArrayData

Converts to this type from the input type.
source§

impl From<ViewedArrayData> for ArrayData

source§

fn from(data: ViewedArrayData) -> ArrayData

Converts to this type from the input type.
source§

impl FromArrowArray<&BooleanArray> for ArrayData

source§

fn from_arrow(value: &BooleanArray, nullable: bool) -> ArrayData

source§

impl<T> FromArrowArray<&GenericByteArray<T>> for ArrayData
where +
§

fn from(value: Canonical) -> ArrayData

Converts to this type from the input type.

§

impl<O> From<OffsetBuffer<O>> for ArrayData
where + O: NativePType + OffsetSizeTrait,

§

fn from(value: OffsetBuffer<O>) -> ArrayData

Converts to this type from the input type.
§

impl From<OwnedArrayData> for ArrayData

§

fn from(data: OwnedArrayData) -> ArrayData

Converts to this type from the input type.
§

impl<T> From<ScalarBuffer<T>> for ArrayData
where + T: ArrowNativeType + NativePType,

§

fn from(value: ScalarBuffer<T>) -> ArrayData

Converts to this type from the input type.
§

impl From<TemporalArray> for ArrayData

§

fn from(value: TemporalArray) -> ArrayData

Converts to this type from the input type.
§

impl From<Vec<f16>> for ArrayData

§

fn from(value: Vec<f16>) -> ArrayData

Converts to this type from the input type.
§

impl From<Vec<f32>> for ArrayData

§

fn from(value: Vec<f32>) -> ArrayData

Converts to this type from the input type.
§

impl From<Vec<f64>> for ArrayData

§

fn from(value: Vec<f64>) -> ArrayData

Converts to this type from the input type.
§

impl From<Vec<i16>> for ArrayData

§

fn from(value: Vec<i16>) -> ArrayData

Converts to this type from the input type.
§

impl From<Vec<i32>> for ArrayData

§

fn from(value: Vec<i32>) -> ArrayData

Converts to this type from the input type.
§

impl From<Vec<i64>> for ArrayData

§

fn from(value: Vec<i64>) -> ArrayData

Converts to this type from the input type.
§

impl From<Vec<i8>> for ArrayData

§

fn from(value: Vec<i8>) -> ArrayData

Converts to this type from the input type.
§

impl From<Vec<u16>> for ArrayData

§

fn from(value: Vec<u16>) -> ArrayData

Converts to this type from the input type.
§

impl From<Vec<u32>> for ArrayData

§

fn from(value: Vec<u32>) -> ArrayData

Converts to this type from the input type.
§

impl From<Vec<u64>> for ArrayData

§

fn from(value: Vec<u64>) -> ArrayData

Converts to this type from the input type.
§

impl From<Vec<u8>> for ArrayData

§

fn from(value: Vec<u8>) -> ArrayData

Converts to this type from the input type.
§

impl From<ViewedArrayData> for ArrayData

§

fn from(data: ViewedArrayData) -> ArrayData

Converts to this type from the input type.
§

impl FromArrowArray<&BooleanArray> for ArrayData

§

fn from_arrow(value: &BooleanArray, nullable: bool) -> ArrayData

§

impl<T> FromArrowArray<&GenericByteArray<T>> for ArrayData
where T: ByteArrayType, - <T as ByteArrayType>::Offset: NativePType,

source§

fn from_arrow(value: &GenericByteArray<T>, nullable: bool) -> ArrayData

source§

impl<T> FromArrowArray<&GenericByteViewArray<T>> for ArrayData
where - T: ByteViewType,

source§

fn from_arrow(value: &GenericByteViewArray<T>, nullable: bool) -> ArrayData

source§

impl<O> FromArrowArray<&GenericListArray<O>> for ArrayData
where - O: OffsetSizeTrait + NativePType,

source§

fn from_arrow(value: &GenericListArray<O>, nullable: bool) -> ArrayData

source§

impl FromArrowArray<&NullArray> for ArrayData

source§

fn from_arrow(value: &NullArray, nullable: bool) -> ArrayData

source§

impl<T> FromArrowArray<&PrimitiveArray<T>> for ArrayData
where + <T as ByteArrayType>::Offset: NativePType,

§

fn from_arrow(value: &GenericByteArray<T>, nullable: bool) -> ArrayData

§

impl<T> FromArrowArray<&GenericByteViewArray<T>> for ArrayData
where + T: ByteViewType,

§

fn from_arrow(value: &GenericByteViewArray<T>, nullable: bool) -> ArrayData

§

impl<O> FromArrowArray<&GenericListArray<O>> for ArrayData
where + O: OffsetSizeTrait + NativePType,

§

fn from_arrow(value: &GenericListArray<O>, nullable: bool) -> ArrayData

§

impl FromArrowArray<&NullArray> for ArrayData

§

fn from_arrow(value: &NullArray, nullable: bool) -> ArrayData

§

impl<T> FromArrowArray<&PrimitiveArray<T>> for ArrayData
where T: ArrowPrimitiveType, - <T as ArrowPrimitiveType>::Native: NativePType,

source§

fn from_arrow(value: &PrimitiveArray<T>, nullable: bool) -> ArrayData

source§

impl FromArrowArray<&StructArray> for ArrayData

source§

fn from_arrow(value: &StructArray, nullable: bool) -> ArrayData

source§

impl FromArrowArray<Arc<dyn Array>> for ArrayData

source§

fn from_arrow(array: Arc<dyn Array>, nullable: bool) -> ArrayData

source§

impl FromIterator<ArrayData> for ChunkedArray

source§

fn from_iter<T>(iter: T) -> ChunkedArray
where - T: IntoIterator<Item = ArrayData>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<Buffer>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<Buffer>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<BufferString>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<BufferString>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<String>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<String>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<bool>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<bool>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<f16>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<f16>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<f32>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<f32>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<f64>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<f64>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<i16>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<i16>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<i32>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<i32>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<i64>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<i64>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<i8>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<i8>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<u16>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<u16>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<u32>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<u32>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<u64>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<u64>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<u8>> for ArrayData

source§

fn from_iter<T>(iter: T) -> ArrayData
where - T: IntoIterator<Item = Option<u8>>,

Creates a value from an iterator. Read more
source§

impl IndexOrd<Scalar> for ArrayData

source§

fn index_cmp(&self, idx: usize, elem: &Scalar) -> Option<Ordering>

PartialOrd of the value at index idx with elem. -For example, if self[idx] > elem, return Some(Greater).
source§

fn index_lt(&self, idx: usize, elem: &V) -> bool

source§

fn index_le(&self, idx: usize, elem: &V) -> bool

source§

fn index_gt(&self, idx: usize, elem: &V) -> bool

source§

fn index_ge(&self, idx: usize, elem: &V) -> bool

source§

impl IntoCanonical for ArrayData

IntoCanonical implementation for Array.

+ <T as ArrowPrimitiveType>::Native: NativePType,
§

fn from_arrow(value: &PrimitiveArray<T>, nullable: bool) -> ArrayData

§

impl FromArrowArray<&StructArray> for ArrayData

§

fn from_arrow(value: &StructArray, nullable: bool) -> ArrayData

§

impl FromArrowArray<Arc<dyn Array>> for ArrayData

§

fn from_arrow(array: Arc<dyn Array>, nullable: bool) -> ArrayData

§

impl FromIterator<ArrayData> for ChunkedArray

§

fn from_iter<T>(iter: T) -> ChunkedArray
where + T: IntoIterator<Item = ArrayData>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<Buffer>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<Buffer>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<BufferString>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<BufferString>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<String>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<String>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<bool>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<bool>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<f16>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<f16>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<f32>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<f32>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<f64>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<f64>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<i16>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<i16>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<i32>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<i32>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<i64>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<i64>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<i8>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<i8>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<u16>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<u16>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<u32>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<u32>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<u64>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<u64>>,

Creates a value from an iterator. Read more
§

impl FromIterator<Option<u8>> for ArrayData

§

fn from_iter<T>(iter: T) -> ArrayData
where + T: IntoIterator<Item = Option<u8>>,

Creates a value from an iterator. Read more
§

impl IndexOrd<Scalar> for ArrayData

§

fn index_cmp(&self, idx: usize, elem: &Scalar) -> Option<Ordering>

PartialOrd of the value at index idx with elem. +For example, if self[idx] > elem, return Some(Greater).
§

fn index_lt(&self, idx: usize, elem: &V) -> bool

§

fn index_le(&self, idx: usize, elem: &V) -> bool

§

fn index_gt(&self, idx: usize, elem: &V) -> bool

§

fn index_ge(&self, idx: usize, elem: &V) -> bool

§

impl IntoCanonical for ArrayData

IntoCanonical implementation for Array.

Canonicalizing an array requires potentially decompressing, so this requires a roundtrip through the array’s internal codec.

-
source§

fn into_canonical(self) -> Result<Canonical, VortexError>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>

source§

impl<E> InvertFn<ArrayData> for E
where +
§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>

§

impl<E> InvertFn<ArrayData> for E
where E: Encoding + InvertFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn invert(&self, array: &ArrayData) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
source§

impl Len for ArrayData

source§

fn len(&self) -> usize

source§

impl<E> LikeFn<ArrayData> for E
where + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn invert(&self, array: &ArrayData) -> Result<ArrayData, VortexError>

Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
§

impl Len for ArrayData

§

fn len(&self) -> usize

§

impl<E> LikeFn<ArrayData> for E
where E: Encoding + LikeFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn like( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn like( &self, array: &ArrayData, pattern: &ArrayData, options: LikeOptions, -) -> Result<ArrayData, VortexError>

source§

impl<E> ScalarAtFn<ArrayData> for E
where +) -> Result<ArrayData, VortexError>

§

impl<E> ScalarAtFn<ArrayData> for E
where E: Encoding + ScalarAtFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn scalar_at( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn scalar_at( &self, array: &ArrayData, index: usize, -) -> Result<Scalar, VortexError>

source§

impl<E> SearchSortedFn<ArrayData> for E
where +) -> Result<Scalar, VortexError>

§

impl<E> SearchSortedFn<ArrayData> for E
where E: Encoding + SearchSortedFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn search_sorted( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn search_sorted( &self, array: &ArrayData, - value: &Scalar, + value: &Scalar, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_many( &self, array: &ArrayData, - values: &[Scalar], + values: &[Scalar], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
source§

impl<E> SearchSortedUsizeFn<ArrayData> for E
where +) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
§

impl<E> SearchSortedUsizeFn<ArrayData> for E
where E: Encoding + SearchSortedUsizeFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn search_sorted_usize( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn search_sorted_usize( &self, array: &ArrayData, value: usize, side: SearchSortedSide, -) -> Result<SearchResult, VortexError>

source§

fn search_sorted_usize_many( +) -> Result<SearchResult, VortexError>

§

fn search_sorted_usize_many( &self, array: &ArrayData, values: &[usize], side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

source§

impl<E> SliceFn<ArrayData> for E
where +) -> Result<Vec<SearchResult>, VortexError>

§

impl<E> SliceFn<ArrayData> for E
where E: Encoding + SliceFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn slice( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn slice( &self, array: &ArrayData, start: usize, stop: usize, ) -> Result<ArrayData, VortexError>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl<E> StatisticsVTable<ArrayData> for E
where +Assumes that start or stop are out of bounds, may panic otherwise.

§

impl<E> StatisticsVTable<ArrayData> for E
where E: Encoding + 'static + StatisticsVTable<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn compute_statistics( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn compute_statistics( &self, array: &ArrayData, stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl StatisticsVTable<ArrayData> for OpaqueEncoding

source§

fn compute_statistics( +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl StatisticsVTable<ArrayData> for OpaqueEncoding

§

fn compute_statistics( &self, _array: &Array, _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl<E> SubtractScalarFn<ArrayData> for E
where +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
§

impl<E> SubtractScalarFn<ArrayData> for E
where E: Encoding + SubtractScalarFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn subtract_scalar( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn subtract_scalar( &self, array: &ArrayData, - to_subtract: &Scalar, -) -> Result<ArrayData, VortexError>

source§

impl<E> TakeFn<ArrayData> for E
where + to_subtract: &Scalar, +) -> Result<ArrayData, VortexError>

§

impl<E> TakeFn<ArrayData> for E
where E: Encoding + TakeFn<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn take( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn take( &self, array: &ArrayData, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( +given indices. Read more

§

unsafe fn take_unchecked( &self, array: &Array, indices: &ArrayData, ) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a BoolArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a BoolArray, VortexError>

Performs the conversion.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ChunkedArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a ChunkedArray, VortexError>

Performs the conversion.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ConstantArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a ConstantArray, VortexError>

Performs the conversion.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ExtensionArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a ExtensionArray, VortexError>

Performs the conversion.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ListArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a ListArray, VortexError>

Performs the conversion.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a NullArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a NullArray, VortexError>

Performs the conversion.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a PrimitiveArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a PrimitiveArray, VortexError>

Performs the conversion.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a SparseArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a SparseArray, VortexError>

Performs the conversion.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a StructArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a StructArray, VortexError>

Performs the conversion.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a VarBinArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a VarBinArray, VortexError>

Performs the conversion.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a VarBinViewArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> Result<&'a VarBinViewArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for BoolArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<BoolArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ChunkedArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<ChunkedArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ConstantArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<ConstantArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for Datum

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from( +given indices. Read more

§

impl<'a> TryFrom<&'a ArrayData> for &'a BoolArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a BoolArray, VortexError>

Performs the conversion.
§

impl<'a> TryFrom<&'a ArrayData> for &'a ChunkedArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a ChunkedArray, VortexError>

Performs the conversion.
§

impl<'a> TryFrom<&'a ArrayData> for &'a ConstantArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a ConstantArray, VortexError>

Performs the conversion.
§

impl<'a> TryFrom<&'a ArrayData> for &'a ExtensionArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a ExtensionArray, VortexError>

Performs the conversion.
§

impl<'a> TryFrom<&'a ArrayData> for &'a ListArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a ListArray, VortexError>

Performs the conversion.
§

impl<'a> TryFrom<&'a ArrayData> for &'a NullArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a NullArray, VortexError>

Performs the conversion.
§

impl<'a> TryFrom<&'a ArrayData> for &'a PrimitiveArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a PrimitiveArray, VortexError>

Performs the conversion.
§

impl<'a> TryFrom<&'a ArrayData> for &'a SparseArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a SparseArray, VortexError>

Performs the conversion.
§

impl<'a> TryFrom<&'a ArrayData> for &'a StructArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a StructArray, VortexError>

Performs the conversion.
§

impl<'a> TryFrom<&'a ArrayData> for &'a VarBinArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a VarBinArray, VortexError>

Performs the conversion.
§

impl<'a> TryFrom<&'a ArrayData> for &'a VarBinViewArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: &'a ArrayData) -> Result<&'a VarBinViewArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for BoolArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<BoolArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for ChunkedArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<ChunkedArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for ConstantArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<ConstantArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for Datum

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from( array: ArrayData, -) -> Result<Datum, <Datum as TryFrom<ArrayData>>::Error>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ExtensionArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<ExtensionArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for FilterMask

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from( +) -> Result<Datum, <Datum as TryFrom<ArrayData>>::Error>

Performs the conversion.
§

impl TryFrom<ArrayData> for ExtensionArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<ExtensionArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for FilterMask

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from( array: ArrayData, -) -> Result<FilterMask, <FilterMask as TryFrom<ArrayData>>::Error>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ListArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<ListArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for LogicalValidity

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(array: ArrayData) -> Result<LogicalValidity, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for NullArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<NullArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for PrimitiveArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<PrimitiveArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for SparseArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<SparseArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for StructArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<StructArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for TemporalArray

source§

fn try_from( +) -> Result<FilterMask, <FilterMask as TryFrom<ArrayData>>::Error>

Performs the conversion.
§

impl TryFrom<ArrayData> for ListArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<ListArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for LogicalValidity

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(array: ArrayData) -> Result<LogicalValidity, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for NullArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<NullArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for PrimitiveArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<PrimitiveArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for SparseArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<SparseArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for StructArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<StructArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for TemporalArray

§

fn try_from( value: ArrayData, ) -> Result<TemporalArray, <TemporalArray as TryFrom<ArrayData>>::Error>

Try to specialize a generic Vortex array as a TemporalArray.

§Errors

If the provided Array does not have vortex.ext encoding, an error will be returned.

If the provided Array does not have recognized ExtMetadata corresponding to one of the known TemporalMetadata variants, an error is returned.

-
source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

impl TryFrom<ArrayData> for Validity

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from( +

§

type Error = VortexError

The type returned in the event of a conversion error.
§

impl TryFrom<ArrayData> for Validity

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from( value: ArrayData, -) -> Result<Validity, <Validity as TryFrom<ArrayData>>::Error>

Performs the conversion.
source§

impl TryFrom<ArrayData> for VarBinArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<VarBinArray, VortexError>

Performs the conversion.
source§

impl TryFrom<ArrayData> for VarBinViewArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> Result<VarBinViewArray, VortexError>

Performs the conversion.
source§

impl TryFrom<RecordBatch> for ArrayData

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: RecordBatch) -> Result<ArrayData, VortexError>

Performs the conversion.
source§

impl<E> ValidityVTable<ArrayData> for E

Performs the conversion.
§

impl TryFrom<ArrayData> for VarBinArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<VarBinArray, VortexError>

Performs the conversion.
§

impl TryFrom<ArrayData> for VarBinViewArray

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(data: ArrayData) -> Result<VarBinViewArray, VortexError>

Performs the conversion.
§

impl TryFrom<RecordBatch> for ArrayData

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(value: RecordBatch) -> Result<ArrayData, VortexError>

Performs the conversion.
§

impl<E> ValidityVTable<ArrayData> for E
where E: Encoding + ValidityVTable<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn is_valid(&self, array: &ArrayData, index: usize) -> bool

source§

fn logical_validity(&self, array: &ArrayData) -> LogicalValidity

source§

impl ValidityVTable<ArrayData> for OpaqueEncoding

source§

fn is_valid(&self, _array: &ArrayData, _index: usize) -> bool

source§

fn logical_validity(&self, _array: &ArrayData) -> LogicalValidity

source§

impl<E> VariantsVTable<ArrayData> for E
where + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn is_valid(&self, array: &ArrayData, index: usize) -> bool

§

fn logical_validity(&self, array: &ArrayData) -> LogicalValidity

§

impl ValidityVTable<ArrayData> for OpaqueEncoding

§

fn is_valid(&self, _array: &ArrayData, _index: usize) -> bool

§

fn logical_validity(&self, _array: &ArrayData) -> LogicalValidity

§

impl<E> VariantsVTable<ArrayData> for E
where E: Encoding + VariantsVTable<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn as_null_array<'a>( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn as_null_array<'a>( &self, array: &'a ArrayData, -) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>( +) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>( &self, array: &'a ArrayData, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, array: &'a ArrayData, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>( &self, array: &'a ArrayData, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, array: &'a ArrayData, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, array: &'a ArrayData, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>( &self, array: &'a ArrayData, -) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, array: &'a ArrayData, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VariantsVTable<ArrayData> for OpaqueEncoding

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn ExtensionArrayTrait>

§

impl VariantsVTable<ArrayData> for OpaqueEncoding

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl<E> VisitorVTable<ArrayData> for E
where +) -> Option<&'a dyn ExtensionArrayTrait>

§

impl<E> VisitorVTable<ArrayData> for E
where E: Encoding + VisitorVTable<<E as Encoding>::Array>, - &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

source§

fn accept( + &'a <E as Encoding>::Array: for<'a> TryFrom<&'a ArrayData, Error = VortexError>,

§

fn accept( &self, array: &ArrayData, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

source§

impl VisitorVTable<ArrayData> for OpaqueEncoding

source§

fn accept( +) -> Result<(), VortexError>

§

impl VisitorVTable<ArrayData> for OpaqueEncoding

§

fn accept( &self, _array: &ArrayData, _visitor: &mut dyn ArrayVisitor, ) -> Result<(), VortexError>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+ T: 'static + ?Sized,
source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -271,16 +271,16 @@
§Errors
U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<S, T> SearchSorted<T> for S
where - S: IndexOrd<T> + Len + ?Sized,

source§

fn search_sorted_by<F, N>( +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<S, T> SearchSorted<T> for S
where + S: IndexOrd<T> + Len + ?Sized,

§

fn search_sorted_by<F, N>( &self, find: F, side_find: N, @@ -288,9 +288,9 @@

§Errors
) -> SearchResult
where F: FnMut(usize) -> Ordering, N: FnMut(usize) -> Ordering,
find function is used to find the element if it exists, if element exists side_find will be -used to find desired index amongst equal values
source§

fn search_sorted(&self, value: &T, side: SearchSortedSide) -> SearchResult
where - Self: IndexOrd<T>,

source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +used to find desired index amongst equal values

§

fn search_sorted(&self, value: &T, side: SearchSortedSide) -> SearchResult
where + Self: IndexOrd<T>,

§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where diff --git a/docs/rust/doc/vortex/struct.Context.html b/docs/rust/doc/vortex/struct.Context.html index 5cdcfce7c7..b5e65b6bc9 100644 --- a/docs/rust/doc/vortex/struct.Context.html +++ b/docs/rust/doc/vortex/struct.Context.html @@ -1,9 +1,9 @@ -Context in vortex - Rust

Struct vortex::Context

source ·
pub struct Context { /* private fields */ }
Expand description

A mapping between an encoding’s ID to an EncodingRef, used to have a shared view of all available encoding schemes.

-

Implementations§

source§

impl Context

source

pub fn with_encoding(self, encoding: &'static dyn EncodingVTable) -> Context

source

pub fn with_encodings<E>(self, encodings: E) -> Context
where - E: IntoIterator<Item = &'static dyn EncodingVTable>,

source

pub fn encodings(&self) -> impl Iterator<Item = &'static dyn EncodingVTable>

source

pub fn lookup_encoding( +Context in vortex - Rust

Struct vortex::Context

pub struct Context { /* private fields */ }
Expand description

A mapping between an encoding’s ID to an EncodingRef, used to have a shared view of all available encoding schemes.

+

Implementations§

§

impl Context

pub fn with_encoding(self, encoding: &'static dyn EncodingVTable) -> Context

pub fn with_encodings<E>(self, encodings: E) -> Context
where + E: IntoIterator<Item = &'static dyn EncodingVTable>,

pub fn encodings(&self) -> impl Iterator<Item = &'static dyn EncodingVTable>

pub fn lookup_encoding( &self, encoding_code: u16, -) -> Option<&'static dyn EncodingVTable>

Trait Implementations§

source§

impl Clone for Context

source§

fn clone(&self) -> Context

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Context

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Context

source§

fn default() -> Context

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Option<&'static dyn EncodingVTable>

Trait Implementations§

§

impl Clone for Context

§

fn clone(&self) -> Context

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Context

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Context

§

fn default() -> Context

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex/trait.ArrayDType.html b/docs/rust/doc/vortex/trait.ArrayDType.html index f74aad708f..9c0769ddb6 100644 --- a/docs/rust/doc/vortex/trait.ArrayDType.html +++ b/docs/rust/doc/vortex/trait.ArrayDType.html @@ -1,5 +1,5 @@ -ArrayDType in vortex - Rust

Trait vortex::ArrayDType

source ·
pub trait ArrayDType {
+ArrayDType in vortex - Rust

Trait vortex::ArrayDType

pub trait ArrayDType {
     // Required method
     fn dtype(&self) -> &DType;
-}

Required Methods§

source

fn dtype(&self) -> &DType

Implementors§

source§

impl<T> ArrayDType for T
where +}

Required Methods§

fn dtype(&self) -> &DType

Implementors§

§

impl<T> ArrayDType for T
where T: AsRef<ArrayData>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.ArrayLen.html b/docs/rust/doc/vortex/trait.ArrayLen.html index 4b5ad09416..3cd8577613 100644 --- a/docs/rust/doc/vortex/trait.ArrayLen.html +++ b/docs/rust/doc/vortex/trait.ArrayLen.html @@ -1,6 +1,6 @@ -ArrayLen in vortex - Rust

Trait vortex::ArrayLen

source ·
pub trait ArrayLen {
+ArrayLen in vortex - Rust

Trait vortex::ArrayLen

pub trait ArrayLen {
     // Required methods
     fn len(&self) -> usize;
     fn is_empty(&self) -> bool;
-}

Required Methods§

source

fn len(&self) -> usize

source

fn is_empty(&self) -> bool

Implementors§

source§

impl<T> ArrayLen for T
where +}

Required Methods§

fn len(&self) -> usize

fn is_empty(&self) -> bool

Implementors§

§

impl<T> ArrayLen for T
where T: AsRef<ArrayData>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.ArrayMetadata.html b/docs/rust/doc/vortex/trait.ArrayMetadata.html index f06f87518e..18198e1093 100644 --- a/docs/rust/doc/vortex/trait.ArrayMetadata.html +++ b/docs/rust/doc/vortex/trait.ArrayMetadata.html @@ -1,4 +1,4 @@ -ArrayMetadata in vortex - Rust

Trait vortex::ArrayMetadata

source ·
pub trait ArrayMetadata:
+ArrayMetadata in vortex - Rust

Trait vortex::ArrayMetadata

pub trait ArrayMetadata:
     'static
     + Send
     + Sync
@@ -12,7 +12,7 @@
 

Note that this allows us to restrict the (’static + Send + Sync) requirement to just the metadata trait, and not the entire array trait. We require ’static so that we can downcast use the Any trait.

-

Required Methods§

source

fn as_any(&self) -> &(dyn Any + 'static)

source

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

Implementations on Foreign Types§

§

impl ArrayMetadata for ALPMetadata

Implement ArrayMetadata

+

Required Methods§

fn as_any(&self) -> &(dyn Any + 'static)

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

Implementations on Foreign Types§

§

impl ArrayMetadata for ALPMetadata

Implement ArrayMetadata

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<ALPMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl ArrayMetadata for ALPRDMetadata

Implement ArrayMetadata

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<ALPRDMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl ArrayMetadata for BitPackedMetadata

Implement ArrayMetadata

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<BitPackedMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl ArrayMetadata for ByteBoolMetadata

Implement ArrayMetadata

@@ -26,15 +26,15 @@
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<RoaringIntMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl ArrayMetadata for RunEndBoolMetadata

Implement ArrayMetadata

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<RunEndBoolMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl ArrayMetadata for RunEndMetadata

Implement ArrayMetadata

§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<RunEndMetadata>) -> Arc<dyn Any + Send + Sync>

§

impl ArrayMetadata for ZigZagMetadata

Implement ArrayMetadata

-
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<ZigZagMetadata>) -> Arc<dyn Any + Send + Sync>

Implementors§

source§

impl ArrayMetadata for BoolMetadata

Implement ArrayMetadata

-
source§

impl ArrayMetadata for ChunkedMetadata

Implement ArrayMetadata

-
source§

impl ArrayMetadata for ConstantMetadata

Implement ArrayMetadata

-
source§

impl ArrayMetadata for ExtensionMetadata

Implement ArrayMetadata

-
source§

impl ArrayMetadata for ListMetadata

Implement ArrayMetadata

-
source§

impl ArrayMetadata for NullMetadata

Implement ArrayMetadata

-
source§

impl ArrayMetadata for PrimitiveMetadata

Implement ArrayMetadata

-
source§

impl ArrayMetadata for SparseMetadata

Implement ArrayMetadata

-
source§

impl ArrayMetadata for StructMetadata

Implement ArrayMetadata

-
source§

impl ArrayMetadata for VarBinMetadata

Implement ArrayMetadata

-
source§

impl ArrayMetadata for VarBinViewMetadata

Implement ArrayMetadata

-
source§

impl ArrayMetadata for OpaqueMetadata

\ No newline at end of file +
§

fn as_any(&self) -> &(dyn Any + 'static)

§

fn as_any_arc(self: Arc<ZigZagMetadata>) -> Arc<dyn Any + Send + Sync>

Implementors§

§

impl ArrayMetadata for BoolMetadata

Implement ArrayMetadata

+
§

impl ArrayMetadata for ChunkedMetadata

Implement ArrayMetadata

+
§

impl ArrayMetadata for ConstantMetadata

Implement ArrayMetadata

+
§

impl ArrayMetadata for ExtensionMetadata

Implement ArrayMetadata

+
§

impl ArrayMetadata for ListMetadata

Implement ArrayMetadata

+
§

impl ArrayMetadata for NullMetadata

Implement ArrayMetadata

+
§

impl ArrayMetadata for PrimitiveMetadata

Implement ArrayMetadata

+
§

impl ArrayMetadata for SparseMetadata

Implement ArrayMetadata

+
§

impl ArrayMetadata for StructMetadata

Implement ArrayMetadata

+
§

impl ArrayMetadata for VarBinMetadata

Implement ArrayMetadata

+
§

impl ArrayMetadata for VarBinViewMetadata

Implement ArrayMetadata

+
§

impl ArrayMetadata for OpaqueMetadata

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.ArrayTrait.html b/docs/rust/doc/vortex/trait.ArrayTrait.html index b55c5613ef..a2d73be859 100644 --- a/docs/rust/doc/vortex/trait.ArrayTrait.html +++ b/docs/rust/doc/vortex/trait.ArrayTrait.html @@ -1,4 +1,4 @@ -ArrayTrait in vortex - Rust

Trait vortex::ArrayTrait

source ·
pub trait ArrayTrait:
+ArrayTrait in vortex - Rust

Trait vortex::ArrayTrait

pub trait ArrayTrait:
     AsRef<ArrayData>
     + ArrayEncodingRef
     + ArrayDType
@@ -7,4 +7,4 @@
     + IntoCanonical
     + ArrayValidity
     + ArrayStatistics { }
Expand description

Collects together the behavior of an array.

-

Implementations on Foreign Types§

§

impl ArrayTrait for ALPArray

§

impl ArrayTrait for ALPRDArray

§

impl ArrayTrait for BitPackedArray

§

impl ArrayTrait for ByteBoolArray

§

impl ArrayTrait for DateTimePartsArray

§

impl ArrayTrait for DeltaArray

§

impl ArrayTrait for DictArray

§

impl ArrayTrait for FSSTArray

§

impl ArrayTrait for FoRArray

§

impl ArrayTrait for RoaringBoolArray

§

impl ArrayTrait for RoaringIntArray

§

impl ArrayTrait for RunEndArray

§

impl ArrayTrait for RunEndBoolArray

§

impl ArrayTrait for ZigZagArray

Implementors§

\ No newline at end of file +

Implementations on Foreign Types§

§

impl ArrayTrait for ALPArray

§

impl ArrayTrait for ALPRDArray

§

impl ArrayTrait for BitPackedArray

§

impl ArrayTrait for ByteBoolArray

§

impl ArrayTrait for DateTimePartsArray

§

impl ArrayTrait for DeltaArray

§

impl ArrayTrait for DictArray

§

impl ArrayTrait for FSSTArray

§

impl ArrayTrait for FoRArray

§

impl ArrayTrait for RoaringBoolArray

§

impl ArrayTrait for RoaringIntArray

§

impl ArrayTrait for RunEndArray

§

impl ArrayTrait for RunEndBoolArray

§

impl ArrayTrait for ZigZagArray

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.GetArrayMetadata.html b/docs/rust/doc/vortex/trait.GetArrayMetadata.html index 677c0c8914..266f4d782c 100644 --- a/docs/rust/doc/vortex/trait.GetArrayMetadata.html +++ b/docs/rust/doc/vortex/trait.GetArrayMetadata.html @@ -1,4 +1,4 @@ -GetArrayMetadata in vortex - Rust

Trait vortex::GetArrayMetadata

source ·
pub trait GetArrayMetadata {
+GetArrayMetadata in vortex - Rust

Trait vortex::GetArrayMetadata

pub trait GetArrayMetadata {
     // Required method
     fn metadata(&self) -> Arc<dyn ArrayMetadata>;
-}

Required Methods§

source

fn metadata(&self) -> Arc<dyn ArrayMetadata>

Implementors§

\ No newline at end of file +}

Required Methods§

fn metadata(&self) -> Arc<dyn ArrayMetadata>

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.IntoArrayData.html b/docs/rust/doc/vortex/trait.IntoArrayData.html index c343f4142a..2af4b0b175 100644 --- a/docs/rust/doc/vortex/trait.IntoArrayData.html +++ b/docs/rust/doc/vortex/trait.IntoArrayData.html @@ -1,7 +1,7 @@ -IntoArrayData in vortex - Rust

Trait vortex::IntoArrayData

source ·
pub trait IntoArrayData {
+IntoArrayData in vortex - Rust

Trait vortex::IntoArrayData

pub trait IntoArrayData {
     // Required method
     fn into_array(self) -> ArrayData;
 }
Expand description

Consume self and turn it into an ArrayData infallibly.

Implementation of this array should never fail.

-

Required Methods§

Implementations on Foreign Types§

§

impl IntoArrayData for ALPArray

§

impl IntoArrayData for ALPRDArray

§

impl IntoArrayData for BitPackedArray

§

impl IntoArrayData for ByteBoolArray

§

impl IntoArrayData for DateTimePartsArray

§

impl IntoArrayData for DeltaArray

§

impl IntoArrayData for DictArray

§

impl IntoArrayData for FSSTArray

§

impl IntoArrayData for FoRArray

§

impl IntoArrayData for RoaringBoolArray

§

impl IntoArrayData for RoaringIntArray

§

impl IntoArrayData for RunEndArray

§

impl IntoArrayData for RunEndBoolArray

§

impl IntoArrayData for ZigZagArray

source§

impl<T> IntoArrayData for Vec<T>
where - T: NativePType,

Implementors§

\ No newline at end of file +

Required Methods§

fn into_array(self) -> ArrayData

Implementations on Foreign Types§

§

impl IntoArrayData for ALPArray

§

impl IntoArrayData for ALPRDArray

§

impl IntoArrayData for BitPackedArray

§

impl IntoArrayData for ByteBoolArray

§

impl IntoArrayData for DateTimePartsArray

§

impl IntoArrayData for DeltaArray

§

impl IntoArrayData for DictArray

§

impl IntoArrayData for FSSTArray

§

impl IntoArrayData for FoRArray

§

impl IntoArrayData for RoaringBoolArray

§

impl IntoArrayData for RoaringIntArray

§

impl IntoArrayData for RunEndArray

§

impl IntoArrayData for RunEndBoolArray

§

impl IntoArrayData for ZigZagArray

§

impl<T> IntoArrayData for Vec<T>
where + T: NativePType,

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.IntoArrayVariant.html b/docs/rust/doc/vortex/trait.IntoArrayVariant.html index 6c3c4de806..b758f27a37 100644 --- a/docs/rust/doc/vortex/trait.IntoArrayVariant.html +++ b/docs/rust/doc/vortex/trait.IntoArrayVariant.html @@ -1,4 +1,4 @@ -IntoArrayVariant in vortex - Rust

Trait vortex::IntoArrayVariant

source ·
pub trait IntoArrayVariant {
+IntoArrayVariant in vortex - Rust

Trait vortex::IntoArrayVariant

pub trait IntoArrayVariant {
     // Required methods
     fn into_null(self) -> Result<NullArray, VortexError>;
     fn into_bool(self) -> Result<BoolArray, VortexError>;
@@ -10,5 +10,5 @@
 }
Expand description

Trait for types that can be converted from an owned type into an owned array variant.

§Canonicalization

This trait has a blanket implementation for all types implementing IntoCanonical.

-

Required Methods§

source

fn into_null(self) -> Result<NullArray, VortexError>

source

fn into_bool(self) -> Result<BoolArray, VortexError>

source

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source

fn into_struct(self) -> Result<StructArray, VortexError>

source

fn into_list(self) -> Result<ListArray, VortexError>

source

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source

fn into_extension(self) -> Result<ExtensionArray, VortexError>

Implementors§

source§

impl<T> IntoArrayVariant for T
where +

Required Methods§

fn into_null(self) -> Result<NullArray, VortexError>

fn into_bool(self) -> Result<BoolArray, VortexError>

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

fn into_struct(self) -> Result<StructArray, VortexError>

fn into_list(self) -> Result<ListArray, VortexError>

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

fn into_extension(self) -> Result<ExtensionArray, VortexError>

Implementors§

§

impl<T> IntoArrayVariant for T
where T: IntoCanonical,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.IntoCanonical.html b/docs/rust/doc/vortex/trait.IntoCanonical.html index 8662232d10..11ed347c8c 100644 --- a/docs/rust/doc/vortex/trait.IntoCanonical.html +++ b/docs/rust/doc/vortex/trait.IntoCanonical.html @@ -1,4 +1,4 @@ -IntoCanonical in vortex - Rust

Trait vortex::IntoCanonical

source ·
pub trait IntoCanonical {
+IntoCanonical in vortex - Rust

Trait vortex::IntoCanonical

pub trait IntoCanonical {
     // Required method
     fn into_canonical(self) -> Result<Canonical, VortexError>;
 
@@ -10,8 +10,8 @@
 encodings, each of which has a corresponding Canonical variant.

§Invariants

The DType of the array will be unchanged by canonicalization.

-

Required Methods§

source

fn into_canonical(self) -> Result<Canonical, VortexError>

Provided Methods§

source

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

Implementations on Foreign Types§

§

impl IntoCanonical for ALPArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for ALPRDArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for BitPackedArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for ByteBoolArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for DateTimePartsArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for DeltaArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for DictArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for FSSTArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for FoRArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for RoaringBoolArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for RoaringIntArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for RunEndArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for RunEndBoolArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for ZigZagArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

Implementors§

source§

impl IntoCanonical for BoolArray

source§

impl IntoCanonical for ChunkedArray

source§

impl IntoCanonical for ConstantArray

source§

impl IntoCanonical for ExtensionArray

source§

impl IntoCanonical for ListArray

source§

impl IntoCanonical for NullArray

source§

impl IntoCanonical for PrimitiveArray

source§

impl IntoCanonical for SparseArray

source§

impl IntoCanonical for StructArray

source§

impl IntoCanonical for VarBinArray

source§

impl IntoCanonical for VarBinViewArray

source§

impl IntoCanonical for ArrayData

IntoCanonical implementation for Array.

+

Required Methods§

fn into_canonical(self) -> Result<Canonical, VortexError>

Provided Methods§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

Implementations on Foreign Types§

§

impl IntoCanonical for ALPArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for ALPRDArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for BitPackedArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for ByteBoolArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for DateTimePartsArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for DeltaArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for DictArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for FSSTArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for FoRArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for RoaringBoolArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for RoaringIntArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for RunEndArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for RunEndBoolArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

§

impl IntoCanonical for ZigZagArray

§

fn into_canonical(self) -> Result<Canonical, VortexError>

Implementors§

§

impl IntoCanonical for BoolArray

§

impl IntoCanonical for ChunkedArray

§

impl IntoCanonical for ConstantArray

§

impl IntoCanonical for ExtensionArray

§

impl IntoCanonical for ListArray

§

impl IntoCanonical for NullArray

§

impl IntoCanonical for PrimitiveArray

§

impl IntoCanonical for SparseArray

§

impl IntoCanonical for StructArray

§

impl IntoCanonical for VarBinArray

§

impl IntoCanonical for VarBinViewArray

§

impl IntoCanonical for ArrayData

IntoCanonical implementation for Array.

Canonicalizing an array requires potentially decompressing, so this requires a roundtrip through the array’s internal codec.

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.IntoCanonicalVTable.html b/docs/rust/doc/vortex/trait.IntoCanonicalVTable.html index a5349cf2d9..54521b20be 100644 --- a/docs/rust/doc/vortex/trait.IntoCanonicalVTable.html +++ b/docs/rust/doc/vortex/trait.IntoCanonicalVTable.html @@ -1,4 +1,4 @@ -IntoCanonicalVTable in vortex - Rust

Trait vortex::IntoCanonicalVTable

source ·
pub trait IntoCanonicalVTable {
+IntoCanonicalVTable in vortex - Rust

Trait vortex::IntoCanonicalVTable

pub trait IntoCanonicalVTable {
     // Required methods
     fn into_canonical(&self, array: ArrayData) -> Result<Canonical, VortexError>;
     fn into_arrow(
@@ -6,7 +6,7 @@
         array: ArrayData,
     ) -> Result<Arc<dyn Array>, VortexError>;
 }
Expand description

Encoding VTable for canonicalizing an array.

-

Required Methods§

source

fn into_canonical(&self, array: ArrayData) -> Result<Canonical, VortexError>

source

fn into_arrow(&self, array: ArrayData) -> Result<Arc<dyn Array>, VortexError>

Implementors§

source§

impl IntoCanonicalVTable for OpaqueEncoding

source§

impl<E> IntoCanonicalVTable for E
where +

Required Methods§

fn into_canonical(&self, array: ArrayData) -> Result<Canonical, VortexError>

fn into_arrow(&self, array: ArrayData) -> Result<Arc<dyn Array>, VortexError>

Implementors§

§

impl IntoCanonicalVTable for OpaqueEncoding

§

impl<E> IntoCanonicalVTable for E
where E: Encoding, <E as Encoding>::Array: IntoCanonical + TryFrom<ArrayData, Error = VortexError>,

Implement the IntoCanonicalVTable for all encodings with arrays implementing IntoCanonical.

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.MetadataVTable.html b/docs/rust/doc/vortex/trait.MetadataVTable.html index 8a2dce8ef7..4f460e7207 100644 --- a/docs/rust/doc/vortex/trait.MetadataVTable.html +++ b/docs/rust/doc/vortex/trait.MetadataVTable.html @@ -1,12 +1,12 @@ -MetadataVTable in vortex - Rust

Trait vortex::MetadataVTable

source ·
pub trait MetadataVTable {
+MetadataVTable in vortex - Rust

Trait vortex::MetadataVTable

pub trait MetadataVTable {
     // Required method
     fn load_metadata(
         &self,
         metadata: Option<&[u8]>,
     ) -> Result<Arc<dyn ArrayMetadata>, VortexError>;
-}

Required Methods§

Required Methods§

fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

Implementors§

source§

impl MetadataVTable for OpaqueEncoding

source§

impl<E> MetadataVTable for E
where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.ToArrayData.html b/docs/rust/doc/vortex/trait.ToArrayData.html index 609e53226e..290abc082d 100644 --- a/docs/rust/doc/vortex/trait.ToArrayData.html +++ b/docs/rust/doc/vortex/trait.ToArrayData.html @@ -1,5 +1,5 @@ -ToArrayData in vortex - Rust

Trait vortex::ToArrayData

source ·
pub trait ToArrayData {
+ToArrayData in vortex - Rust

Trait vortex::ToArrayData

pub trait ToArrayData {
     // Required method
     fn to_array(&self) -> ArrayData;
-}

Required Methods§

Implementors§

source§

impl<A> ToArrayData for A
where +}

Required Methods§

fn to_array(&self) -> ArrayData

Implementors§

§

impl<A> ToArrayData for A
where A: AsRef<ArrayData>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.TryDeserializeArrayMetadata.html b/docs/rust/doc/vortex/trait.TryDeserializeArrayMetadata.html index fc9d9bc70b..68a51cde73 100644 --- a/docs/rust/doc/vortex/trait.TryDeserializeArrayMetadata.html +++ b/docs/rust/doc/vortex/trait.TryDeserializeArrayMetadata.html @@ -1,9 +1,9 @@ -TryDeserializeArrayMetadata in vortex - Rust

Trait vortex::TryDeserializeArrayMetadata

source ·
pub trait TryDeserializeArrayMetadata<'m>: Sized {
+TryDeserializeArrayMetadata in vortex - Rust

Trait vortex::TryDeserializeArrayMetadata

pub trait TryDeserializeArrayMetadata<'m>: Sized {
     // Required method
     fn try_deserialize_metadata(
         metadata: Option<&'m [u8]>,
     ) -> Result<Self, VortexError>;
-}

Required Methods§

Required Methods§

fn try_deserialize_metadata( metadata: Option<&'m [u8]>, -) -> Result<Self, VortexError>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where +) -> Result<Self, VortexError>

Object Safety§

This trait is not object safe.

Implementors§

§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where M: Deserialize<'de>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/trait.TrySerializeArrayMetadata.html b/docs/rust/doc/vortex/trait.TrySerializeArrayMetadata.html index 052c48ac01..7960a341ed 100644 --- a/docs/rust/doc/vortex/trait.TrySerializeArrayMetadata.html +++ b/docs/rust/doc/vortex/trait.TrySerializeArrayMetadata.html @@ -1,6 +1,6 @@ -TrySerializeArrayMetadata in vortex - Rust

Trait vortex::TrySerializeArrayMetadata

source ·
pub trait TrySerializeArrayMetadata {
+TrySerializeArrayMetadata in vortex - Rust

Trait vortex::TrySerializeArrayMetadata

pub trait TrySerializeArrayMetadata {
     // Required method
     fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>;
-}

Required Methods§

source

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

Implementors§

Required Methods§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

Implementors§

§

impl TrySerializeArrayMetadata for OpaqueMetadata

§

impl<M> TrySerializeArrayMetadata for M
where M: Serialize,

Provide default implementation for metadata serialization based on flexbuffers serde.

\ No newline at end of file diff --git a/docs/rust/doc/vortex/tree/index.html b/docs/rust/doc/vortex/tree/index.html index 08f1942a01..0e47db4aa2 100644 --- a/docs/rust/doc/vortex/tree/index.html +++ b/docs/rust/doc/vortex/tree/index.html @@ -1 +1 @@ -vortex::tree - Rust

Module vortex::tree

source ·

Structs§

\ No newline at end of file +vortex::tree - Rust

Module vortex::tree

Structs§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/tree/struct.TreeDisplayWrapper.html b/docs/rust/doc/vortex/tree/struct.TreeDisplayWrapper.html index 76effe8f20..4d0e2b7a99 100644 --- a/docs/rust/doc/vortex/tree/struct.TreeDisplayWrapper.html +++ b/docs/rust/doc/vortex/tree/struct.TreeDisplayWrapper.html @@ -1,4 +1,4 @@ -TreeDisplayWrapper in vortex::tree - Rust

Struct vortex::tree::TreeDisplayWrapper

source ·
pub struct TreeDisplayWrapper<'a>(/* private fields */);

Implementations§

Trait Implementations§

source§

impl Display for TreeDisplayWrapper<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for TreeDisplayWrapper<'a>

§

impl<'a> !RefUnwindSafe for TreeDisplayWrapper<'a>

§

impl<'a> Send for TreeDisplayWrapper<'a>

§

impl<'a> Sync for TreeDisplayWrapper<'a>

§

impl<'a> Unpin for TreeDisplayWrapper<'a>

§

impl<'a> !UnwindSafe for TreeDisplayWrapper<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +TreeDisplayWrapper in vortex::tree - Rust

Struct vortex::tree::TreeDisplayWrapper

pub struct TreeDisplayWrapper<'a>(/* private fields */);

Implementations§

§

impl<'a> TreeDisplayWrapper<'a>

pub fn new(array: &'a ArrayData) -> TreeDisplayWrapper<'a>

Trait Implementations§

§

impl Display for TreeDisplayWrapper<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for TreeDisplayWrapper<'a>

§

impl<'a> !RefUnwindSafe for TreeDisplayWrapper<'a>

§

impl<'a> Send for TreeDisplayWrapper<'a>

§

impl<'a> Sync for TreeDisplayWrapper<'a>

§

impl<'a> Unpin for TreeDisplayWrapper<'a>

§

impl<'a> !UnwindSafe for TreeDisplayWrapper<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex/tree/struct.TreeFormatter.html b/docs/rust/doc/vortex/tree/struct.TreeFormatter.html index 06e1dd94b8..522d049ddd 100644 --- a/docs/rust/doc/vortex/tree/struct.TreeFormatter.html +++ b/docs/rust/doc/vortex/tree/struct.TreeFormatter.html @@ -1,14 +1,14 @@ -TreeFormatter in vortex::tree - Rust

Struct vortex::tree::TreeFormatter

source ·
pub struct TreeFormatter<'a, 'b>
where - 'b: 'a,
{ /* private fields */ }

Implementations§

source§

impl<'a, 'b> TreeFormatter<'a, 'b>
where - 'b: 'a,

source

pub fn new(fmt: &'a mut Formatter<'b>, indent: String) -> TreeFormatter<'a, 'b>

source

pub fn indent<F>(&mut self, indented: F) -> Result<(), Error>
where - F: FnOnce(&mut TreeFormatter<'_, '_>) -> Result<(), Error>,

source

pub fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>

Trait Implementations§

source§

impl<'a, 'b> ArrayVisitor for TreeFormatter<'a, 'b>
where +TreeFormatter in vortex::tree - Rust

Struct vortex::tree::TreeFormatter

pub struct TreeFormatter<'a, 'b>
where + 'b: 'a,
{ /* private fields */ }

Implementations§

§

impl<'a, 'b> TreeFormatter<'a, 'b>
where + 'b: 'a,

pub fn new(fmt: &'a mut Formatter<'b>, indent: String) -> TreeFormatter<'a, 'b>

pub fn indent<F>(&mut self, indented: F) -> Result<(), Error>
where + F: FnOnce(&mut TreeFormatter<'_, '_>) -> Result<(), Error>,

pub fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>

Trait Implementations§

§

impl<'a, 'b> ArrayVisitor for TreeFormatter<'a, 'b>
where 'b: 'a,

TODO(ngates): I think we want to go back to the old explicit style. It gives arrays more control over how their metadata etc is displayed.

-
§

fn visit_child( &mut self, name: &str, array: &ArrayData, -) -> Result<(), VortexError>

Visit a child of this array.
source§

fn visit_buffer(&mut self, buffer: &Buffer) -> Result<(), VortexError>

source§

fn visit_validity(&mut self, validity: &Validity) -> Result<(), VortexError>

Utility for visiting Array validity.
source§

fn visit_patches(&mut self, patches: &Patches) -> Result<(), VortexError>

Utility for visiting Array patches.

Auto Trait Implementations§

§

impl<'a, 'b> Freeze for TreeFormatter<'a, 'b>

§

impl<'a, 'b> !RefUnwindSafe for TreeFormatter<'a, 'b>

§

impl<'a, 'b> !Send for TreeFormatter<'a, 'b>

§

impl<'a, 'b> !Sync for TreeFormatter<'a, 'b>

§

impl<'a, 'b> Unpin for TreeFormatter<'a, 'b>

§

impl<'a, 'b> !UnwindSafe for TreeFormatter<'a, 'b>

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Result<(), VortexError>

Visit a child of this array.
§

fn visit_buffer(&mut self, buffer: &Buffer) -> Result<(), VortexError>

§

fn visit_validity(&mut self, validity: &Validity) -> Result<(), VortexError>

Utility for visiting Array validity.
§

fn visit_patches(&mut self, patches: &Patches) -> Result<(), VortexError>

Utility for visiting Array patches.

Auto Trait Implementations§

§

impl<'a, 'b> Freeze for TreeFormatter<'a, 'b>

§

impl<'a, 'b> !RefUnwindSafe for TreeFormatter<'a, 'b>

§

impl<'a, 'b> !Send for TreeFormatter<'a, 'b>

§

impl<'a, 'b> !Sync for TreeFormatter<'a, 'b>

§

impl<'a, 'b> Unpin for TreeFormatter<'a, 'b>

§

impl<'a, 'b> !UnwindSafe for TreeFormatter<'a, 'b>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex/validity/enum.LogicalValidity.html b/docs/rust/doc/vortex/validity/enum.LogicalValidity.html index 974acc1231..ef42ccf123 100644 --- a/docs/rust/doc/vortex/validity/enum.LogicalValidity.html +++ b/docs/rust/doc/vortex/validity/enum.LogicalValidity.html @@ -1,11 +1,11 @@ -LogicalValidity in vortex::validity - Rust

Enum vortex::validity::LogicalValidity

source ·
pub enum LogicalValidity {
+LogicalValidity in vortex::validity - Rust

Enum vortex::validity::LogicalValidity

pub enum LogicalValidity {
     AllValid(usize),
     AllInvalid(usize),
     Array(ArrayData),
-}

Variants§

§

AllValid(usize)

§

AllInvalid(usize)

§

Array(ArrayData)

Implementations§

Variants§

§

AllValid(usize)

§

AllInvalid(usize)

§

Array(ArrayData)

Implementations§

§

impl LogicalValidity

pub fn try_new_from_array( array: ArrayData, -) -> Result<LogicalValidity, VortexError>

source

pub fn to_null_buffer(&self) -> Result<Option<NullBuffer>, VortexError>

source

pub fn all_valid(&self) -> bool

source

pub fn all_invalid(&self) -> bool

source

pub fn len(&self) -> usize

source

pub fn is_empty(&self) -> bool

source

pub fn into_validity(self) -> Validity

source

pub fn null_count(&self) -> Result<usize, VortexError>

Trait Implementations§

source§

impl Clone for LogicalValidity

source§

fn clone(&self) -> LogicalValidity

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LogicalValidity

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl FromIterator<LogicalValidity> for Validity

source§

fn from_iter<T>(iter: T) -> Validity
where - T: IntoIterator<Item = LogicalValidity>,

Creates a value from an iterator. Read more
source§

impl IntoArrayData for LogicalValidity

source§

impl TryFrom<ArrayData> for LogicalValidity

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(array: ArrayData) -> Result<LogicalValidity, VortexError>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +) -> Result<LogicalValidity, VortexError>

pub fn to_null_buffer(&self) -> Result<Option<NullBuffer>, VortexError>

pub fn all_valid(&self) -> bool

pub fn all_invalid(&self) -> bool

pub fn len(&self) -> usize

pub fn is_empty(&self) -> bool

pub fn into_validity(self) -> Validity

pub fn null_count(&self) -> Result<usize, VortexError>

Trait Implementations§

§

impl Clone for LogicalValidity

§

fn clone(&self) -> LogicalValidity

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for LogicalValidity

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl FromIterator<LogicalValidity> for Validity

§

fn from_iter<T>(iter: T) -> Validity
where + T: IntoIterator<Item = LogicalValidity>,

Creates a value from an iterator. Read more
§

impl IntoArrayData for LogicalValidity

§

impl TryFrom<ArrayData> for LogicalValidity

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from(array: ArrayData) -> Result<LogicalValidity, VortexError>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex/validity/enum.Validity.html b/docs/rust/doc/vortex/validity/enum.Validity.html index 7c4f0bd4eb..8ac5c217fb 100644 --- a/docs/rust/doc/vortex/validity/enum.Validity.html +++ b/docs/rust/doc/vortex/validity/enum.Validity.html @@ -1,4 +1,4 @@ -Validity in vortex::validity - Rust

Enum vortex::validity::Validity

source ·
pub enum Validity {
+Validity in vortex::validity - Rust

Enum vortex::validity::Validity

pub enum Validity {
     NonNullable,
     AllValid,
     AllInvalid,
@@ -8,14 +8,14 @@
 
§

AllValid

All items are valid

§

AllInvalid

All items are null

§

Array(ArrayData)

Specified items are null

-

Implementations§

source§

impl Validity

source

pub const DTYPE: DType = _

The [DType] of the underlying validity array (if it exists).

-
source

pub fn to_metadata( +

Implementations§

§

impl Validity

pub const DTYPE: DType = _

The [DType] of the underlying validity array (if it exists).

+

pub fn to_metadata( &self, length: usize, -) -> Result<ValidityMetadata, VortexError>

source

pub fn null_count(&self, length: usize) -> Result<usize, VortexError>

source

pub fn into_array(self) -> Option<ArrayData>

If Validity is Validity::Array, returns the array, otherwise returns None.

-
source

pub fn as_array(&self) -> Option<&ArrayData>

If Validity is Validity::Array, returns a reference to the array array, otherwise returns None.

-
source

pub fn nullability(&self) -> Nullability

source

pub fn is_valid(&self, index: usize) -> bool

Returns whether the index item is valid.

-
source

pub fn is_null(&self, index: usize) -> bool

source

pub fn slice(&self, start: usize, stop: usize) -> Result<Validity, VortexError>

source

pub fn take(&self, indices: &ArrayData) -> Result<Validity, VortexError>

source

pub unsafe fn take_unchecked( +) -> Result<ValidityMetadata, VortexError>

pub fn null_count(&self, length: usize) -> Result<usize, VortexError>

pub fn into_array(self) -> Option<ArrayData>

If Validity is Validity::Array, returns the array, otherwise returns None.

+

pub fn as_array(&self) -> Option<&ArrayData>

If Validity is Validity::Array, returns a reference to the array array, otherwise returns None.

+

pub fn nullability(&self) -> Nullability

pub fn is_valid(&self, index: usize) -> bool

Returns whether the index item is valid.

+

pub fn is_null(&self, index: usize) -> bool

pub fn slice(&self, start: usize, stop: usize) -> Result<Validity, VortexError>

pub fn take(&self, indices: &ArrayData) -> Result<Validity, VortexError>

pub unsafe fn take_unchecked( &self, indices: &ArrayData, ) -> Result<Validity, VortexError>

Take the validity buffer at the provided indices.

@@ -23,17 +23,17 @@
§Safety

It is assumed the caller has checked that all indices are <= the length of this validity buffer.

Failure to do so may result in UB.

-
source

pub fn filter(&self, mask: &FilterMask) -> Result<Validity, VortexError>

source

pub fn to_logical(&self, length: usize) -> LogicalValidity

source

pub fn and(self, rhs: Validity) -> Result<Validity, VortexError>

Logically & two Validity values of the same length

-
source

pub fn patch( +

pub fn filter(&self, mask: &FilterMask) -> Result<Validity, VortexError>

pub fn to_logical(&self, length: usize) -> LogicalValidity

pub fn and(self, rhs: Validity) -> Result<Validity, VortexError>

Logically & two Validity values of the same length

+

pub fn patch( self, len: usize, indices: &ArrayData, patches: Validity, -) -> Result<Validity, VortexError>

source

pub fn into_nullable(self) -> Validity

Convert into a nullable variant

-

Trait Implementations§

source§

impl Clone for Validity

source§

fn clone(&self) -> Validity

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Validity

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl From<BooleanBuffer> for Validity

source§

fn from(value: BooleanBuffer) -> Validity

Converts to this type from the input type.
source§

impl From<NullBuffer> for Validity

source§

fn from(value: NullBuffer) -> Validity

Converts to this type from the input type.
source§

impl From<Nullability> for Validity

source§

fn from(value: Nullability) -> Validity

Converts to this type from the input type.
source§

impl FromIterator<LogicalValidity> for Validity

source§

fn from_iter<T>(iter: T) -> Validity
where - T: IntoIterator<Item = LogicalValidity>,

Creates a value from an iterator. Read more
source§

impl FromIterator<bool> for Validity

source§

fn from_iter<T>(iter: T) -> Validity
where - T: IntoIterator<Item = bool>,

Creates a value from an iterator. Read more
source§

impl PartialEq for Validity

source§

fn eq(&self, other: &Validity) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl TryFrom<ArrayData> for Validity

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from( +) -> Result<Validity, VortexError>

pub fn into_nullable(self) -> Validity

Convert into a nullable variant

+

Trait Implementations§

§

impl Clone for Validity

§

fn clone(&self) -> Validity

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Validity

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl From<BooleanBuffer> for Validity

§

fn from(value: BooleanBuffer) -> Validity

Converts to this type from the input type.
§

impl From<NullBuffer> for Validity

§

fn from(value: NullBuffer) -> Validity

Converts to this type from the input type.
§

impl From<Nullability> for Validity

§

fn from(value: Nullability) -> Validity

Converts to this type from the input type.
§

impl FromIterator<LogicalValidity> for Validity

§

fn from_iter<T>(iter: T) -> Validity
where + T: IntoIterator<Item = LogicalValidity>,

Creates a value from an iterator. Read more
§

impl FromIterator<bool> for Validity

§

fn from_iter<T>(iter: T) -> Validity
where + T: IntoIterator<Item = bool>,

Creates a value from an iterator. Read more
§

impl PartialEq for Validity

§

fn eq(&self, other: &Validity) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl TryFrom<ArrayData> for Validity

§

type Error = VortexError

The type returned in the event of a conversion error.
§

fn try_from( value: ArrayData, ) -> Result<Validity, <Validity as TryFrom<ArrayData>>::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/docs/rust/doc/vortex/validity/enum.ValidityMetadata.html b/docs/rust/doc/vortex/validity/enum.ValidityMetadata.html index b5bce54e10..70d4bdfa2a 100644 --- a/docs/rust/doc/vortex/validity/enum.ValidityMetadata.html +++ b/docs/rust/doc/vortex/validity/enum.ValidityMetadata.html @@ -1,13 +1,13 @@ -ValidityMetadata in vortex::validity - Rust

Enum vortex::validity::ValidityMetadata

source ·
pub enum ValidityMetadata {
+ValidityMetadata in vortex::validity - Rust

Enum vortex::validity::ValidityMetadata

pub enum ValidityMetadata {
     NonNullable,
     AllValid,
     AllInvalid,
     Array,
-}

Variants§

§

NonNullable

§

AllValid

§

AllInvalid

§

Array

Implementations§

source§

impl ValidityMetadata

source

pub fn to_validity<F>(&self, array_fn: F) -> Validity
where - F: FnOnce() -> ArrayData,

Trait Implementations§

source§

impl Clone for ValidityMetadata

source§

fn clone(&self) -> ValidityMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ValidityMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ValidityMetadata

Variants§

§

NonNullable

§

AllValid

§

AllInvalid

§

Array

Implementations§

§

impl ValidityMetadata

pub fn to_validity<F>(&self, array_fn: F) -> Validity
where + F: FnOnce() -> ArrayData,

Trait Implementations§

§

impl Clone for ValidityMetadata

§

fn clone(&self) -> ValidityMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ValidityMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'de> Deserialize<'de> for ValidityMetadata

§

fn deserialize<__D>( __deserializer: __D, ) -> Result<ValidityMetadata, <__D as Deserializer<'de>>::Error>
where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ValidityMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for ValidityMetadata

source§

fn serialize<__S>( + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl Display for ValidityMetadata

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Serialize for ValidityMetadata

§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where @@ -32,13 +32,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex/validity/index.html b/docs/rust/doc/vortex/validity/index.html index 827c5b507d..9670808e9a 100644 --- a/docs/rust/doc/vortex/validity/index.html +++ b/docs/rust/doc/vortex/validity/index.html @@ -1,2 +1,2 @@ -vortex::validity - Rust

Module vortex::validity

source ·
Expand description

Array validity and nullability behavior, used by arrays and compute functions.

+vortex::validity - Rust

Module vortex::validity

Expand description

Array validity and nullability behavior, used by arrays and compute functions.

Enums§

Traits§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/validity/trait.ArrayValidity.html b/docs/rust/doc/vortex/validity/trait.ArrayValidity.html index f0f13f2257..c44ce6054d 100644 --- a/docs/rust/doc/vortex/validity/trait.ArrayValidity.html +++ b/docs/rust/doc/vortex/validity/trait.ArrayValidity.html @@ -1,6 +1,6 @@ -ArrayValidity in vortex::validity - Rust

Trait vortex::validity::ArrayValidity

source ·
pub trait ArrayValidity {
+ArrayValidity in vortex::validity - Rust

Trait vortex::validity::ArrayValidity

pub trait ArrayValidity {
     // Required methods
     fn is_valid(&self, index: usize) -> bool;
     fn logical_validity(&self) -> LogicalValidity;
-}

Required Methods§

Implementors§

source§

impl<A> ArrayValidity for A
where +}

Required Methods§

fn is_valid(&self, index: usize) -> bool

fn logical_validity(&self) -> LogicalValidity

Implementors§

§

impl<A> ArrayValidity for A
where A: AsRef<ArrayData>,

\ No newline at end of file diff --git a/docs/rust/doc/vortex/validity/trait.ValidityVTable.html b/docs/rust/doc/vortex/validity/trait.ValidityVTable.html index cf6134dc30..d7e607cf8f 100644 --- a/docs/rust/doc/vortex/validity/trait.ValidityVTable.html +++ b/docs/rust/doc/vortex/validity/trait.ValidityVTable.html @@ -1,7 +1,7 @@ -ValidityVTable in vortex::validity - Rust

Trait vortex::validity::ValidityVTable

source ·
pub trait ValidityVTable<Array> {
+ValidityVTable in vortex::validity - Rust

Trait vortex::validity::ValidityVTable

pub trait ValidityVTable<Array> {
     // Required methods
     fn is_valid(&self, array: &Array, index: usize) -> bool;
     fn logical_validity(&self, array: &Array) -> LogicalValidity;
-}

Required Methods§

source

fn is_valid(&self, array: &Array, index: usize) -> bool

source

fn logical_validity(&self, array: &Array) -> LogicalValidity

Implementations on Foreign Types§

§

impl ValidityVTable<ALPArray> for ALPEncoding

§

fn is_valid(&self, array: &ALPArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ALPArray) -> LogicalValidity

§

impl ValidityVTable<ALPRDArray> for ALPRDEncoding

§

fn is_valid(&self, array: &ALPRDArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ALPRDArray) -> LogicalValidity

§

impl ValidityVTable<BitPackedArray> for BitPackedEncoding

§

fn is_valid(&self, array: &BitPackedArray, index: usize) -> bool

§

fn logical_validity(&self, array: &BitPackedArray) -> LogicalValidity

§

impl ValidityVTable<ByteBoolArray> for ByteBoolEncoding

§

fn is_valid(&self, array: &ByteBoolArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ByteBoolArray) -> LogicalValidity

§

impl ValidityVTable<DateTimePartsArray> for DateTimePartsEncoding

§

fn is_valid(&self, array: &DateTimePartsArray, index: usize) -> bool

§

fn logical_validity(&self, array: &DateTimePartsArray) -> LogicalValidity

§

impl ValidityVTable<DeltaArray> for DeltaEncoding

§

fn is_valid(&self, array: &DeltaArray, index: usize) -> bool

§

fn logical_validity(&self, array: &DeltaArray) -> LogicalValidity

§

impl ValidityVTable<DictArray> for DictEncoding

§

fn is_valid(&self, array: &DictArray, index: usize) -> bool

§

fn logical_validity(&self, array: &DictArray) -> LogicalValidity

§

impl ValidityVTable<FSSTArray> for FSSTEncoding

§

fn is_valid(&self, array: &FSSTArray, index: usize) -> bool

§

fn logical_validity(&self, array: &FSSTArray) -> LogicalValidity

§

impl ValidityVTable<FoRArray> for FoREncoding

§

fn is_valid(&self, array: &FoRArray, index: usize) -> bool

§

fn logical_validity(&self, array: &FoRArray) -> LogicalValidity

§

impl ValidityVTable<RoaringBoolArray> for RoaringBoolEncoding

§

fn is_valid(&self, _array: &RoaringBoolArray, _index: usize) -> bool

§

fn logical_validity(&self, array: &RoaringBoolArray) -> LogicalValidity

§

impl ValidityVTable<RoaringIntArray> for RoaringIntEncoding

§

fn is_valid(&self, _array: &RoaringIntArray, _index: usize) -> bool

§

fn logical_validity(&self, array: &RoaringIntArray) -> LogicalValidity

§

impl ValidityVTable<RunEndArray> for RunEndEncoding

§

fn is_valid(&self, array: &RunEndArray, index: usize) -> bool

§

fn logical_validity(&self, array: &RunEndArray) -> LogicalValidity

§

impl ValidityVTable<RunEndBoolArray> for RunEndBoolEncoding

§

fn is_valid(&self, array: &RunEndBoolArray, index: usize) -> bool

§

fn logical_validity(&self, array: &RunEndBoolArray) -> LogicalValidity

§

impl ValidityVTable<ZigZagArray> for ZigZagEncoding

§

fn is_valid(&self, array: &ZigZagArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ZigZagArray) -> LogicalValidity

Implementors§

Required Methods§

fn is_valid(&self, array: &Array, index: usize) -> bool

fn logical_validity(&self, array: &Array) -> LogicalValidity

Implementations on Foreign Types§

§

impl ValidityVTable<ALPArray> for ALPEncoding

§

fn is_valid(&self, array: &ALPArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ALPArray) -> LogicalValidity

§

impl ValidityVTable<ALPRDArray> for ALPRDEncoding

§

fn is_valid(&self, array: &ALPRDArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ALPRDArray) -> LogicalValidity

§

impl ValidityVTable<BitPackedArray> for BitPackedEncoding

§

fn is_valid(&self, array: &BitPackedArray, index: usize) -> bool

§

fn logical_validity(&self, array: &BitPackedArray) -> LogicalValidity

§

impl ValidityVTable<ByteBoolArray> for ByteBoolEncoding

§

fn is_valid(&self, array: &ByteBoolArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ByteBoolArray) -> LogicalValidity

§

impl ValidityVTable<DateTimePartsArray> for DateTimePartsEncoding

§

fn is_valid(&self, array: &DateTimePartsArray, index: usize) -> bool

§

fn logical_validity(&self, array: &DateTimePartsArray) -> LogicalValidity

§

impl ValidityVTable<DeltaArray> for DeltaEncoding

§

fn is_valid(&self, array: &DeltaArray, index: usize) -> bool

§

fn logical_validity(&self, array: &DeltaArray) -> LogicalValidity

§

impl ValidityVTable<DictArray> for DictEncoding

§

fn is_valid(&self, array: &DictArray, index: usize) -> bool

§

fn logical_validity(&self, array: &DictArray) -> LogicalValidity

§

impl ValidityVTable<FSSTArray> for FSSTEncoding

§

fn is_valid(&self, array: &FSSTArray, index: usize) -> bool

§

fn logical_validity(&self, array: &FSSTArray) -> LogicalValidity

§

impl ValidityVTable<FoRArray> for FoREncoding

§

fn is_valid(&self, array: &FoRArray, index: usize) -> bool

§

fn logical_validity(&self, array: &FoRArray) -> LogicalValidity

§

impl ValidityVTable<RoaringBoolArray> for RoaringBoolEncoding

§

fn is_valid(&self, _array: &RoaringBoolArray, _index: usize) -> bool

§

fn logical_validity(&self, array: &RoaringBoolArray) -> LogicalValidity

§

impl ValidityVTable<RoaringIntArray> for RoaringIntEncoding

§

fn is_valid(&self, _array: &RoaringIntArray, _index: usize) -> bool

§

fn logical_validity(&self, array: &RoaringIntArray) -> LogicalValidity

§

impl ValidityVTable<RunEndArray> for RunEndEncoding

§

fn is_valid(&self, array: &RunEndArray, index: usize) -> bool

§

fn logical_validity(&self, array: &RunEndArray) -> LogicalValidity

§

impl ValidityVTable<RunEndBoolArray> for RunEndBoolEncoding

§

fn is_valid(&self, array: &RunEndBoolArray, index: usize) -> bool

§

fn logical_validity(&self, array: &RunEndBoolArray) -> LogicalValidity

§

impl ValidityVTable<ZigZagArray> for ZigZagEncoding

§

fn is_valid(&self, array: &ZigZagArray, index: usize) -> bool

§

fn logical_validity(&self, array: &ZigZagArray) -> LogicalValidity

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/variants/index.html b/docs/rust/doc/vortex/variants/index.html index ef9614f320..dc14c0dce0 100644 --- a/docs/rust/doc/vortex/variants/index.html +++ b/docs/rust/doc/vortex/variants/index.html @@ -1,4 +1,4 @@ -vortex::variants - Rust

Module vortex::variants

source ·
Expand description

This module defines array traits for each Vortex DType.

+vortex::variants - Rust

Module vortex::variants

Expand description

This module defines array traits for each Vortex DType.

When callers only want to make assumptions about the DType, and not about any specific encoding, they can use these traits to write encoding-agnostic code.

Traits§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/variants/trait.BinaryArrayTrait.html b/docs/rust/doc/vortex/variants/trait.BinaryArrayTrait.html index d32788ffb8..79c3aab89e 100644 --- a/docs/rust/doc/vortex/variants/trait.BinaryArrayTrait.html +++ b/docs/rust/doc/vortex/variants/trait.BinaryArrayTrait.html @@ -1 +1 @@ -BinaryArrayTrait in vortex::variants - Rust

Trait vortex::variants::BinaryArrayTrait

source ·
pub trait BinaryArrayTrait: ArrayTrait { }

Implementations on Foreign Types§

§

impl BinaryArrayTrait for DictArray

§

impl BinaryArrayTrait for FSSTArray

Implementors§

\ No newline at end of file +BinaryArrayTrait in vortex::variants - Rust

Trait vortex::variants::BinaryArrayTrait

pub trait BinaryArrayTrait: ArrayTrait { }

Implementations on Foreign Types§

§

impl BinaryArrayTrait for DictArray

§

impl BinaryArrayTrait for FSSTArray

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/variants/trait.BoolArrayTrait.html b/docs/rust/doc/vortex/variants/trait.BoolArrayTrait.html index 095057782b..c31bb2590e 100644 --- a/docs/rust/doc/vortex/variants/trait.BoolArrayTrait.html +++ b/docs/rust/doc/vortex/variants/trait.BoolArrayTrait.html @@ -1 +1 @@ -BoolArrayTrait in vortex::variants - Rust

Trait vortex::variants::BoolArrayTrait

source ·
pub trait BoolArrayTrait: ArrayTrait { }

Implementations on Foreign Types§

§

impl BoolArrayTrait for ByteBoolArray

§

impl BoolArrayTrait for DictArray

§

impl BoolArrayTrait for RoaringBoolArray

§

impl BoolArrayTrait for RunEndArray

§

impl BoolArrayTrait for RunEndBoolArray

Implementors§

\ No newline at end of file +BoolArrayTrait in vortex::variants - Rust

Trait vortex::variants::BoolArrayTrait

pub trait BoolArrayTrait: ArrayTrait { }

Implementations on Foreign Types§

§

impl BoolArrayTrait for ByteBoolArray

§

impl BoolArrayTrait for DictArray

§

impl BoolArrayTrait for RoaringBoolArray

§

impl BoolArrayTrait for RunEndArray

§

impl BoolArrayTrait for RunEndBoolArray

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/variants/trait.ExtensionArrayTrait.html b/docs/rust/doc/vortex/variants/trait.ExtensionArrayTrait.html index 9a12cd340a..89e2e709d0 100644 --- a/docs/rust/doc/vortex/variants/trait.ExtensionArrayTrait.html +++ b/docs/rust/doc/vortex/variants/trait.ExtensionArrayTrait.html @@ -1,9 +1,9 @@ -ExtensionArrayTrait in vortex::variants - Rust

Trait vortex::variants::ExtensionArrayTrait

source ·
pub trait ExtensionArrayTrait: ArrayTrait {
+ExtensionArrayTrait in vortex::variants - Rust

Trait vortex::variants::ExtensionArrayTrait

pub trait ExtensionArrayTrait: ArrayTrait {
     // Required method
     fn storage_data(&self) -> ArrayData;
 
     // Provided method
     fn ext_dtype(&self) -> &Arc<ExtDType> { ... }
-}

Required Methods§

source

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the [ExtDType].

-

Provided Methods§

source

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].

-

Implementations on Foreign Types§

§

impl ExtensionArrayTrait for DateTimePartsArray

Implementors§

\ No newline at end of file +}

Required Methods§

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the [ExtDType].

+

Provided Methods§

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].

+

Implementations on Foreign Types§

§

impl ExtensionArrayTrait for DateTimePartsArray

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/variants/trait.ListArrayTrait.html b/docs/rust/doc/vortex/variants/trait.ListArrayTrait.html index 9a1947a86c..11b777c632 100644 --- a/docs/rust/doc/vortex/variants/trait.ListArrayTrait.html +++ b/docs/rust/doc/vortex/variants/trait.ListArrayTrait.html @@ -1 +1 @@ -ListArrayTrait in vortex::variants - Rust
\ No newline at end of file +ListArrayTrait in vortex::variants - Rust

Trait vortex::variants::ListArrayTrait

pub trait ListArrayTrait: ArrayTrait { }

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/variants/trait.NullArrayTrait.html b/docs/rust/doc/vortex/variants/trait.NullArrayTrait.html index ed388f738b..6f186532f4 100644 --- a/docs/rust/doc/vortex/variants/trait.NullArrayTrait.html +++ b/docs/rust/doc/vortex/variants/trait.NullArrayTrait.html @@ -1 +1 @@ -NullArrayTrait in vortex::variants - Rust
\ No newline at end of file +NullArrayTrait in vortex::variants - Rust

Trait vortex::variants::NullArrayTrait

pub trait NullArrayTrait: ArrayTrait { }

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/variants/trait.PrimitiveArrayTrait.html b/docs/rust/doc/vortex/variants/trait.PrimitiveArrayTrait.html index df1fcd25b9..455f025371 100644 --- a/docs/rust/doc/vortex/variants/trait.PrimitiveArrayTrait.html +++ b/docs/rust/doc/vortex/variants/trait.PrimitiveArrayTrait.html @@ -1,4 +1,4 @@ -PrimitiveArrayTrait in vortex::variants - Rust

Trait vortex::variants::PrimitiveArrayTrait

source ·
pub trait PrimitiveArrayTrait: ArrayTrait {
+PrimitiveArrayTrait in vortex::variants - Rust

Trait vortex::variants::PrimitiveArrayTrait

pub trait PrimitiveArrayTrait: ArrayTrait {
     // Provided method
     fn ptype(&self) -> PType { ... }
-}

Provided Methods§

source

fn ptype(&self) -> PType

Implementations on Foreign Types§

§

impl PrimitiveArrayTrait for ALPArray

§

impl PrimitiveArrayTrait for ALPRDArray

§

impl PrimitiveArrayTrait for BitPackedArray

§

impl PrimitiveArrayTrait for DeltaArray

§

impl PrimitiveArrayTrait for DictArray

§

impl PrimitiveArrayTrait for FoRArray

§

impl PrimitiveArrayTrait for RoaringIntArray

§

impl PrimitiveArrayTrait for RunEndArray

§

impl PrimitiveArrayTrait for ZigZagArray

Implementors§

\ No newline at end of file +}

Provided Methods§

fn ptype(&self) -> PType

Implementations on Foreign Types§

§

impl PrimitiveArrayTrait for ALPArray

§

impl PrimitiveArrayTrait for ALPRDArray

§

impl PrimitiveArrayTrait for BitPackedArray

§

impl PrimitiveArrayTrait for DeltaArray

§

impl PrimitiveArrayTrait for DictArray

§

impl PrimitiveArrayTrait for FoRArray

§

impl PrimitiveArrayTrait for RoaringIntArray

§

impl PrimitiveArrayTrait for RunEndArray

§

impl PrimitiveArrayTrait for ZigZagArray

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/variants/trait.StructArrayTrait.html b/docs/rust/doc/vortex/variants/trait.StructArrayTrait.html index c9c169a2f3..8b71d70449 100644 --- a/docs/rust/doc/vortex/variants/trait.StructArrayTrait.html +++ b/docs/rust/doc/vortex/variants/trait.StructArrayTrait.html @@ -1,4 +1,4 @@ -StructArrayTrait in vortex::variants - Rust

Trait vortex::variants::StructArrayTrait

source ·
pub trait StructArrayTrait: ArrayTrait {
+StructArrayTrait in vortex::variants - Rust

Trait vortex::variants::StructArrayTrait

pub trait StructArrayTrait: ArrayTrait {
     // Required methods
     fn field(&self, idx: usize) -> Option<ArrayData>;
     fn project(&self, projection: &[Field]) -> Result<ArrayData, VortexError>;
@@ -8,6 +8,6 @@
     fn dtypes(&self) -> &[DType] { ... }
     fn nfields(&self) -> usize { ... }
     fn field_by_name(&self, name: &str) -> Option<ArrayData> { ... }
-}

Required Methods§

source

fn field(&self, idx: usize) -> Option<ArrayData>

Return a field’s array by index

-
source

fn project(&self, projection: &[Field]) -> Result<ArrayData, VortexError>

Provided Methods§

source

fn names(&self) -> &Arc<[Arc<str>]>

source

fn dtypes(&self) -> &[DType]

source

fn nfields(&self) -> usize

source

fn field_by_name(&self, name: &str) -> Option<ArrayData>

Return a field’s array by name

-

Implementors§

\ No newline at end of file +}

Required Methods§

fn field(&self, idx: usize) -> Option<ArrayData>

Return a field’s array by index

+

fn project(&self, projection: &[Field]) -> Result<ArrayData, VortexError>

Provided Methods§

fn names(&self) -> &Arc<[Arc<str>]>

fn dtypes(&self) -> &[DType]

fn nfields(&self) -> usize

fn field_by_name(&self, name: &str) -> Option<ArrayData>

Return a field’s array by name

+

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/variants/trait.Utf8ArrayTrait.html b/docs/rust/doc/vortex/variants/trait.Utf8ArrayTrait.html index 4ca465ada7..bf823bbe0c 100644 --- a/docs/rust/doc/vortex/variants/trait.Utf8ArrayTrait.html +++ b/docs/rust/doc/vortex/variants/trait.Utf8ArrayTrait.html @@ -1 +1 @@ -Utf8ArrayTrait in vortex::variants - Rust

Trait vortex::variants::Utf8ArrayTrait

source ·
pub trait Utf8ArrayTrait: ArrayTrait { }

Implementations on Foreign Types§

§

impl Utf8ArrayTrait for DictArray

§

impl Utf8ArrayTrait for FSSTArray

Implementors§

\ No newline at end of file +Utf8ArrayTrait in vortex::variants - Rust

Trait vortex::variants::Utf8ArrayTrait

pub trait Utf8ArrayTrait: ArrayTrait { }

Implementations on Foreign Types§

§

impl Utf8ArrayTrait for DictArray

§

impl Utf8ArrayTrait for FSSTArray

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/variants/trait.VariantsVTable.html b/docs/rust/doc/vortex/variants/trait.VariantsVTable.html index 4ac95accff..97dab4021c 100644 --- a/docs/rust/doc/vortex/variants/trait.VariantsVTable.html +++ b/docs/rust/doc/vortex/variants/trait.VariantsVTable.html @@ -1,4 +1,4 @@ -VariantsVTable in vortex::variants - Rust

Trait vortex::variants::VariantsVTable

source ·
pub trait VariantsVTable<Array> {
+VariantsVTable in vortex::variants - Rust

Trait vortex::variants::VariantsVTable

pub trait VariantsVTable<Array> {
     // Provided methods
     fn as_null_array<'a>(
         &self,
@@ -33,16 +33,16 @@
         _array: &'a Array,
     ) -> Option<&'a dyn ExtensionArrayTrait> { ... }
 }
Expand description

An Array encoding must declare which DTypes it can be downcast into.

-

Provided Methods§

source

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source

fn as_primitive_array<'a>( +

Provided Methods§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

fn as_extension_array<'a>( &self, _array: &'a Array, ) -> Option<&'a dyn ExtensionArrayTrait>

Implementations on Foreign Types§

§

impl VariantsVTable<ALPArray> for ALPEncoding

§

fn as_primitive_array<'a>( @@ -102,9 +102,9 @@ ) -> Option<&'a dyn BoolArrayTrait>

§

impl VariantsVTable<ZigZagArray> for ZigZagEncoding

§

fn as_primitive_array<'a>( &self, array: &'a ZigZagArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

Implementors§

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/visitor/index.html b/docs/rust/doc/vortex/visitor/index.html index 49c9b3eaf9..b907f2bc38 100644 --- a/docs/rust/doc/vortex/visitor/index.html +++ b/docs/rust/doc/vortex/visitor/index.html @@ -1 +1 @@ -vortex::visitor - Rust

Module vortex::visitor

source ·

Traits§

\ No newline at end of file +vortex::visitor - Rust

Module vortex::visitor

Traits§

\ No newline at end of file diff --git a/docs/rust/doc/vortex/visitor/trait.ArrayVisitor.html b/docs/rust/doc/vortex/visitor/trait.ArrayVisitor.html index a3b10edd12..6467064386 100644 --- a/docs/rust/doc/vortex/visitor/trait.ArrayVisitor.html +++ b/docs/rust/doc/vortex/visitor/trait.ArrayVisitor.html @@ -1,4 +1,4 @@ -ArrayVisitor in vortex::visitor - Rust

Trait vortex::visitor::ArrayVisitor

source ·
pub trait ArrayVisitor {
+ArrayVisitor in vortex::visitor - Rust

Trait vortex::visitor::ArrayVisitor

pub trait ArrayVisitor {
     // Provided methods
     fn visit_child(
         &mut self,
@@ -8,14 +8,14 @@
     fn visit_validity(&mut self, validity: &Validity) -> Result<(), VortexError> { ... }
     fn visit_patches(&mut self, patches: &Patches) -> Result<(), VortexError> { ... }
     fn visit_buffer(&mut self, _buffer: &Buffer) -> Result<(), VortexError> { ... }
-}

Provided Methods§

Provided Methods§

fn visit_child( &mut self, _name: &str, _array: &ArrayData, ) -> Result<(), VortexError>

Visit a child of this array.

-
source

fn visit_validity(&mut self, validity: &Validity) -> Result<(), VortexError>

Utility for visiting Array validity.

-
source

fn visit_patches(&mut self, patches: &Patches) -> Result<(), VortexError>

Utility for visiting Array patches.

-
source

fn visit_buffer(&mut self, _buffer: &Buffer) -> Result<(), VortexError>

Implementors§

source§

impl<'a, 'b> ArrayVisitor for TreeFormatter<'a, 'b>
where +

fn visit_validity(&mut self, validity: &Validity) -> Result<(), VortexError>

Utility for visiting Array validity.

+

fn visit_patches(&mut self, patches: &Patches) -> Result<(), VortexError>

Utility for visiting Array patches.

+

fn visit_buffer(&mut self, _buffer: &Buffer) -> Result<(), VortexError>

Implementors§

§

impl<'a, 'b> ArrayVisitor for TreeFormatter<'a, 'b>
where 'b: 'a,

TODO(ngates): I think we want to go back to the old explicit style. It gives arrays more control over how their metadata etc is displayed.

\ No newline at end of file diff --git a/docs/rust/doc/vortex/visitor/trait.VisitorVTable.html b/docs/rust/doc/vortex/visitor/trait.VisitorVTable.html index 73c83fcbf5..49c7f948a9 100644 --- a/docs/rust/doc/vortex/visitor/trait.VisitorVTable.html +++ b/docs/rust/doc/vortex/visitor/trait.VisitorVTable.html @@ -1,11 +1,11 @@ -VisitorVTable in vortex::visitor - Rust

Trait vortex::visitor::VisitorVTable

source ·
pub trait VisitorVTable<Array> {
+VisitorVTable in vortex::visitor - Rust

Trait vortex::visitor::VisitorVTable

pub trait VisitorVTable<Array> {
     // Required method
     fn accept(
         &self,
         array: &Array,
         visitor: &mut dyn ArrayVisitor,
     ) -> Result<(), VortexError>;
-}

Required Methods§

Required Methods§

fn accept( &self, array: &Array, visitor: &mut dyn ArrayVisitor, @@ -65,6 +65,6 @@ &self, array: &ZigZagArray, visitor: &mut dyn ArrayVisitor, -) -> Result<(), VortexError>

Implementors§

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex_alp/fn.alp_encode.html b/docs/rust/doc/vortex_alp/fn.alp_encode.html index ddb1a32533..1538a2f253 100644 --- a/docs/rust/doc/vortex_alp/fn.alp_encode.html +++ b/docs/rust/doc/vortex_alp/fn.alp_encode.html @@ -1 +1 @@ -alp_encode in vortex_alp - Rust

Function vortex_alp::alp_encode

source ·
pub fn alp_encode(parray: &PrimitiveArray) -> VortexResult<ALPArray>
\ No newline at end of file +alp_encode in vortex_alp - Rust

Function vortex_alp::alp_encode

source ·
pub fn alp_encode(parray: &PrimitiveArray) -> VortexResult<ALPArray>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_alp/fn.alp_encode_components.html b/docs/rust/doc/vortex_alp/fn.alp_encode_components.html index fc1140c33c..c7e35b04a7 100644 --- a/docs/rust/doc/vortex_alp/fn.alp_encode_components.html +++ b/docs/rust/doc/vortex_alp/fn.alp_encode_components.html @@ -1,6 +1,6 @@ alp_encode_components in vortex_alp - Rust

Function vortex_alp::alp_encode_components

source ·
pub fn alp_encode_components<T>(
-    values: &PrimitiveArray,
+    values: &PrimitiveArray,
     exponents: Option<Exponents>,
-) -> (Exponents, ArrayData, Option<Patches>)
where - T: ALPFloat + NativePType + ScalarType, +) -> (Exponents, ArrayData, Option<Patches>)
where + T: ALPFloat + NativePType + ScalarType, T::ALPInt: NativePType,
\ No newline at end of file diff --git a/docs/rust/doc/vortex_alp/fn.alp_rd_decode.html b/docs/rust/doc/vortex_alp/fn.alp_rd_decode.html index 174ef64d5c..e1abd0f394 100644 --- a/docs/rust/doc/vortex_alp/fn.alp_rd_decode.html +++ b/docs/rust/doc/vortex_alp/fn.alp_rd_decode.html @@ -3,7 +3,7 @@ left_parts_dict: &[u16], right_bit_width: u8, right_parts: &[T::UINT], - left_parts_patches: Option<Patches>, + left_parts_patches: Option<Patches>, ) -> VortexResult<Vec<T>>
Expand description

Decode a vector of ALP-RD encoded values back into their original floating point format.

§Panics

The function panics if the provided left_parts and right_parts differ in length.

diff --git a/docs/rust/doc/vortex_alp/fn.decompress.html b/docs/rust/doc/vortex_alp/fn.decompress.html index efc5370ddd..445e6749ba 100644 --- a/docs/rust/doc/vortex_alp/fn.decompress.html +++ b/docs/rust/doc/vortex_alp/fn.decompress.html @@ -1 +1 @@ -decompress in vortex_alp - Rust

Function vortex_alp::decompress

source ·
pub fn decompress(array: ALPArray) -> VortexResult<PrimitiveArray>
\ No newline at end of file +decompress in vortex_alp - Rust

Function vortex_alp::decompress

source ·
pub fn decompress(array: ALPArray) -> VortexResult<PrimitiveArray>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_alp/struct.ALPArray.html b/docs/rust/doc/vortex_alp/struct.ALPArray.html index 6caf83d49c..a224ecf4f1 100644 --- a/docs/rust/doc/vortex_alp/struct.ALPArray.html +++ b/docs/rust/doc/vortex_alp/struct.ALPArray.html @@ -1,53 +1,53 @@ -ALPArray in vortex_alp - Rust

Struct vortex_alp::ALPArray

source ·
pub struct ALPArray(/* private fields */);

Implementations§

source§

impl ALPArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

+ALPArray in vortex_alp - Rust

Struct vortex_alp::ALPArray

source ·
pub struct ALPArray(/* private fields */);

Implementations§

source§

impl ALPArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

source§

impl ALPArray

source

pub fn try_new( - encoded: ArrayData, + encoded: ArrayData, exponents: Exponents, - patches: Option<Patches>, -) -> VortexResult<Self>

source

pub fn encode(array: ArrayData) -> VortexResult<ArrayData>

source

pub fn encoded(&self) -> ArrayData

source

pub fn exponents(&self) -> Exponents

source

pub fn patches(&self) -> Option<Patches>

Trait Implementations§

source§

impl AsRef<ArrayData> for ALPArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for ALPArray

source§

fn clone(&self) -> ALPArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ALPArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FilterFn<ALPArray> for ALPEncoding

source§

fn filter(&self, array: &ALPArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for ALPArray

source§

impl IntoCanonical for ALPArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl PrimitiveArrayTrait for ALPArray

source§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<ALPArray> for ALPEncoding

source§

fn scalar_at(&self, array: &ALPArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ALPArray> for ALPEncoding

source§

fn slice( + patches: Option<Patches>, +) -> VortexResult<Self>

source

pub fn encode(array: ArrayData) -> VortexResult<ArrayData>

source

pub fn encoded(&self) -> ArrayData

source

pub fn exponents(&self) -> Exponents

source

pub fn patches(&self) -> Option<Patches>

Trait Implementations§

source§

impl AsRef<ArrayData> for ALPArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for ALPArray

source§

fn clone(&self) -> ALPArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ALPArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FilterFn<ALPArray> for ALPEncoding

source§

fn filter(&self, array: &ALPArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for ALPArray

source§

fn into_array(self) -> ArrayData

source§

impl IntoCanonical for ALPArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

source§

impl PrimitiveArrayTrait for ALPArray

§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<ALPArray> for ALPEncoding

source§

fn scalar_at(&self, array: &ALPArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ALPArray> for ALPEncoding

source§

fn slice( &self, array: &ALPArray, start: usize, end: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ALPArray> for ALPEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<ALPArray> for ALPEncoding

§

fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ALPArray> for ALPEncoding

source§

fn take(&self, array: &ALPArray, indices: &ArrayData) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + _stat: Stat, +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ALPArray> for ALPEncoding

source§

fn take(&self, array: &ALPArray, indices: &ArrayData) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ALPArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ALPArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<ALPArray> for ALPEncoding

source§

fn is_valid(&self, array: &ALPArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ALPArray) -> LogicalValidity

source§

impl VariantsVTable<ALPArray> for ALPEncoding

source§

fn as_primitive_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ALPArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ALPArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<ALPArray> for ALPEncoding

source§

fn is_valid(&self, array: &ALPArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ALPArray) -> LogicalValidity

source§

impl VariantsVTable<ALPArray> for ALPEncoding

source§

fn as_primitive_array<'a>( &self, array: &'a ALPArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ALPArray> for ALPEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ALPArray> for ALPEncoding

source§

fn accept( &self, array: &ALPArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

source§

impl ArrayTrait for ALPArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+ visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
source§

impl ArrayTrait for ALPArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -58,16 +58,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex_alp/struct.ALPEncoding.html b/docs/rust/doc/vortex_alp/struct.ALPEncoding.html index 4d84d604e0..dde3a0fec3 100644 --- a/docs/rust/doc/vortex_alp/struct.ALPEncoding.html +++ b/docs/rust/doc/vortex_alp/struct.ALPEncoding.html @@ -1,38 +1,38 @@ ALPEncoding in vortex_alp - Rust

Struct vortex_alp::ALPEncoding

source ·
pub struct ALPEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for ALPEncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for ALPEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for ALPEncoding

source§

impl EncodingVTable for ALPEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<ALPArray> for ALPEncoding

source§

fn filter(&self, array: &ALPArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<ALPArray> for ALPEncoding

source§

fn scalar_at(&self, array: &ALPArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ALPArray> for ALPEncoding

Trait Implementations§

source§

impl ComputeVTable for ALPEncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for ALPEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for ALPEncoding

source§

impl EncodingVTable for ALPEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<ALPArray> for ALPEncoding

source§

fn filter(&self, array: &ALPArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<ALPArray> for ALPEncoding

source§

fn scalar_at(&self, array: &ALPArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ALPArray> for ALPEncoding

source§

fn slice( &self, array: &ALPArray, start: usize, end: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ALPArray> for ALPEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<ALPArray> for ALPEncoding

§

fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ALPArray> for ALPEncoding

source§

fn take(&self, array: &ALPArray, indices: &ArrayData) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + _stat: Stat, +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ALPArray> for ALPEncoding

source§

fn take(&self, array: &ALPArray, indices: &ArrayData) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<ALPArray> for ALPEncoding

source§

fn is_valid(&self, array: &ALPArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ALPArray) -> LogicalValidity

source§

impl VariantsVTable<ALPArray> for ALPEncoding

source§

fn as_primitive_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl ValidityVTable<ALPArray> for ALPEncoding

source§

fn is_valid(&self, array: &ALPArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ALPArray) -> LogicalValidity

source§

impl VariantsVTable<ALPArray> for ALPEncoding

source§

fn as_primitive_array<'a>( &self, array: &'a ALPArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ALPArray> for ALPEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ALPArray> for ALPEncoding

source§

fn accept( &self, array: &ALPArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -50,12 +50,12 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

impl<E> MetadataVTable for E
where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/docs/rust/doc/vortex_alp/struct.ALPMetadata.html b/docs/rust/doc/vortex_alp/struct.ALPMetadata.html index 90df443af6..d5588f31f3 100644 --- a/docs/rust/doc/vortex_alp/struct.ALPMetadata.html +++ b/docs/rust/doc/vortex_alp/struct.ALPMetadata.html @@ -1,5 +1,5 @@ -ALPMetadata in vortex_alp - Rust

Struct vortex_alp::ALPMetadata

source ·
pub struct ALPMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for ALPMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for ALPMetadata

source§

fn clone(&self) -> ALPMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ALPMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ALPMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where +ALPMetadata in vortex_alp - Rust

Struct vortex_alp::ALPMetadata

source ·
pub struct ALPMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for ALPMetadata

Implement ArrayMetadata

+
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for ALPMetadata

source§

fn clone(&self) -> ALPMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ALPMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ALPMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ALPMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for ALPMetadata

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where @@ -22,13 +22,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_alp/struct.ALPRDArray.html b/docs/rust/doc/vortex_alp/struct.ALPRDArray.html index acb66f8909..6d468df236 100644 --- a/docs/rust/doc/vortex_alp/struct.ALPRDArray.html +++ b/docs/rust/doc/vortex_alp/struct.ALPRDArray.html @@ -1,72 +1,72 @@ -ALPRDArray in vortex_alp - Rust

Struct vortex_alp::ALPRDArray

source ·
pub struct ALPRDArray(/* private fields */);

Implementations§

source§

impl ALPRDArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

+ALPRDArray in vortex_alp - Rust

Struct vortex_alp::ALPRDArray

source ·
pub struct ALPRDArray(/* private fields */);

Implementations§

source§

impl ALPRDArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

source§

impl ALPRDArray

source

pub fn try_new( dtype: DType, - left_parts: ArrayData, + left_parts: ArrayData, left_parts_dict: impl AsRef<[u16]>, - right_parts: ArrayData, + right_parts: ArrayData, right_bit_width: u8, - left_parts_patches: Option<Patches>, + left_parts_patches: Option<Patches>, ) -> VortexResult<Self>

source

pub fn is_f32(&self) -> bool

Returns true if logical type of the array values is f32.

Returns false if the logical type of the array values is f64.

-
source

pub fn left_parts(&self) -> ArrayData

The leftmost (most significant) bits of the floating point values stored in the array.

+
source

pub fn left_parts(&self) -> ArrayData

The leftmost (most significant) bits of the floating point values stored in the array.

These are bit-packed and dictionary encoded, and cannot directly be interpreted without the metadata of this array.

-
source

pub fn right_parts(&self) -> ArrayData

The rightmost (least significant) bits of the floating point values stored in the array.

-
source

pub fn left_parts_patches(&self) -> Option<Patches>

Patches of left-most bits.

+
source

pub fn right_parts(&self) -> ArrayData

The rightmost (least significant) bits of the floating point values stored in the array.

+
source

pub fn left_parts_patches(&self) -> Option<Patches>

Patches of left-most bits.

source

pub fn left_parts_dict(&self) -> &[u16]

The dictionary that maps the codes in left_parts into bit patterns.

-

Trait Implementations§

source§

impl AsRef<ArrayData> for ALPRDArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for ALPRDArray

source§

fn clone(&self) -> ALPRDArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ALPRDArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FilterFn<ALPRDArray> for ALPRDEncoding

Trait Implementations§

source§

impl AsRef<ArrayData> for ALPRDArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for ALPRDArray

source§

fn clone(&self) -> ALPRDArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ALPRDArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FilterFn<ALPRDArray> for ALPRDEncoding

source§

fn filter( &self, array: &ALPRDArray, - mask: FilterMask, -) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for ALPRDArray

source§

impl IntoCanonical for ALPRDArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl PrimitiveArrayTrait for ALPRDArray

source§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<ALPRDArray> for ALPRDEncoding

source§

fn scalar_at(&self, array: &ALPRDArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ALPRDArray> for ALPRDEncoding

source§

fn slice( + mask: FilterMask, +) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for ALPRDArray

source§

fn into_array(self) -> ArrayData

source§

impl IntoCanonical for ALPRDArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

source§

impl PrimitiveArrayTrait for ALPRDArray

§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<ALPRDArray> for ALPRDEncoding

source§

fn scalar_at(&self, array: &ALPRDArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ALPRDArray> for ALPRDEncoding

source§

fn slice( &self, array: &ALPRDArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ALPRDArray> for ALPRDEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<ALPRDArray> for ALPRDEncoding

§

fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ALPRDArray> for ALPRDEncoding

source§

fn take( + _stat: Stat, +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ALPRDArray> for ALPRDEncoding

source§

fn take( &self, array: &ALPRDArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ALPRDArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ALPRDArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<ALPRDArray> for ALPRDEncoding

source§

fn is_valid(&self, array: &ALPRDArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ALPRDArray) -> LogicalValidity

source§

impl VariantsVTable<ALPRDArray> for ALPRDEncoding

source§

fn as_primitive_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ALPRDArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ALPRDArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<ALPRDArray> for ALPRDEncoding

source§

fn is_valid(&self, array: &ALPRDArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ALPRDArray) -> LogicalValidity

source§

impl VariantsVTable<ALPRDArray> for ALPRDEncoding

source§

fn as_primitive_array<'a>( &self, array: &'a ALPRDArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ALPRDArray> for ALPRDEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ALPRDArray> for ALPRDEncoding

source§

fn accept( &self, array: &ALPRDArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

source§

impl ArrayTrait for ALPRDArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+ visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
source§

impl ArrayTrait for ALPRDArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -77,16 +77,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex_alp/struct.ALPRDEncoding.html b/docs/rust/doc/vortex_alp/struct.ALPRDEncoding.html index 3bf0b31f7b..3b24204a68 100644 --- a/docs/rust/doc/vortex_alp/struct.ALPRDEncoding.html +++ b/docs/rust/doc/vortex_alp/struct.ALPRDEncoding.html @@ -1,46 +1,46 @@ ALPRDEncoding in vortex_alp - Rust

Struct vortex_alp::ALPRDEncoding

source ·
pub struct ALPRDEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for ALPRDEncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for ALPRDEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for ALPRDEncoding

source§

impl EncodingVTable for ALPRDEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<ALPRDArray> for ALPRDEncoding

Trait Implementations§

source§

impl ComputeVTable for ALPRDEncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for ALPRDEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for ALPRDEncoding

source§

impl EncodingVTable for ALPRDEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<ALPRDArray> for ALPRDEncoding

source§

fn filter( &self, array: &ALPRDArray, - mask: FilterMask, -) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<ALPRDArray> for ALPRDEncoding

source§

fn scalar_at(&self, array: &ALPRDArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ALPRDArray> for ALPRDEncoding

source§

fn slice( + mask: FilterMask, +) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<ALPRDArray> for ALPRDEncoding

source§

fn scalar_at(&self, array: &ALPRDArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ALPRDArray> for ALPRDEncoding

source§

fn slice( &self, array: &ALPRDArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ALPRDArray> for ALPRDEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<ALPRDArray> for ALPRDEncoding

§

fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ALPRDArray> for ALPRDEncoding

source§

fn take( + _stat: Stat, +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ALPRDArray> for ALPRDEncoding

source§

fn take( &self, array: &ALPRDArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<ALPRDArray> for ALPRDEncoding

source§

fn is_valid(&self, array: &ALPRDArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ALPRDArray) -> LogicalValidity

source§

impl VariantsVTable<ALPRDArray> for ALPRDEncoding

source§

fn as_primitive_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl ValidityVTable<ALPRDArray> for ALPRDEncoding

source§

fn is_valid(&self, array: &ALPRDArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ALPRDArray) -> LogicalValidity

source§

impl VariantsVTable<ALPRDArray> for ALPRDEncoding

source§

fn as_primitive_array<'a>( &self, array: &'a ALPRDArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ALPRDArray> for ALPRDEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ALPRDArray> for ALPRDEncoding

source§

fn accept( &self, array: &ALPRDArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -58,12 +58,12 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

impl<E> MetadataVTable for E
where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/docs/rust/doc/vortex_alp/struct.ALPRDMetadata.html b/docs/rust/doc/vortex_alp/struct.ALPRDMetadata.html index d1e9f16053..644a4fa221 100644 --- a/docs/rust/doc/vortex_alp/struct.ALPRDMetadata.html +++ b/docs/rust/doc/vortex_alp/struct.ALPRDMetadata.html @@ -1,5 +1,5 @@ -ALPRDMetadata in vortex_alp - Rust

Struct vortex_alp::ALPRDMetadata

source ·
pub struct ALPRDMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for ALPRDMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for ALPRDMetadata

source§

fn clone(&self) -> ALPRDMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ALPRDMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ALPRDMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where +ALPRDMetadata in vortex_alp - Rust

Struct vortex_alp::ALPRDMetadata

source ·
pub struct ALPRDMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for ALPRDMetadata

Implement ArrayMetadata

+
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for ALPRDMetadata

source§

fn clone(&self) -> ALPRDMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ALPRDMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ALPRDMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ALPRDMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for ALPRDMetadata

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where @@ -22,13 +22,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_alp/struct.Exponents.html b/docs/rust/doc/vortex_alp/struct.Exponents.html index 1e400f1405..425285d7fc 100644 --- a/docs/rust/doc/vortex_alp/struct.Exponents.html +++ b/docs/rust/doc/vortex_alp/struct.Exponents.html @@ -29,13 +29,13 @@ otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_alp/struct.RDEncoder.html b/docs/rust/doc/vortex_alp/struct.RDEncoder.html index 79a28a2619..e966d9fea8 100644 --- a/docs/rust/doc/vortex_alp/struct.RDEncoder.html +++ b/docs/rust/doc/vortex_alp/struct.RDEncoder.html @@ -13,7 +13,7 @@

Implementations§

source§

impl RDEncoder

source

pub fn new<T>(sample: &[T]) -> Self
where T: ALPRDFloat + NativePType, T::UINT: NativePType,

Build a new encoder from a sample of doubles.

-
source

pub fn encode(&self, array: &PrimitiveArray) -> ALPRDArray

Encode a set of floating point values with ALP-RD.

+
source

pub fn encode(&self, array: &PrimitiveArray) -> ALPRDArray

Encode a set of floating point values with ALP-RD.

Each value will be split into a left and right component, which are compressed individually.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/docs/rust/doc/vortex_bytebool/struct.ByteBoolArray.html b/docs/rust/doc/vortex_bytebool/struct.ByteBoolArray.html index 4255666952..1e2e1b76c8 100644 --- a/docs/rust/doc/vortex_bytebool/struct.ByteBoolArray.html +++ b/docs/rust/doc/vortex_bytebool/struct.ByteBoolArray.html @@ -1,59 +1,59 @@ -ByteBoolArray in vortex_bytebool - Rust

Struct vortex_bytebool::ByteBoolArray

source ·
pub struct ByteBoolArray(/* private fields */);

Implementations§

source§

impl ByteBoolArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

+ByteBoolArray in vortex_bytebool - Rust

Struct vortex_bytebool::ByteBoolArray

source ·
pub struct ByteBoolArray(/* private fields */);

Implementations§

source§

impl ByteBoolArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl ByteBoolArray

source

pub fn validity(&self) -> Validity

source

pub fn try_new(buffer: Buffer, validity: Validity) -> VortexResult<Self>

source

pub fn try_from_vec<V: Into<Validity>>( +

source§

impl ByteBoolArray

source

pub fn validity(&self) -> Validity

source

pub fn try_new(buffer: Buffer, validity: Validity) -> VortexResult<Self>

source

pub fn try_from_vec<V: Into<Validity>>( data: Vec<bool>, validity: V, -) -> VortexResult<Self>

source

pub fn buffer(&self) -> &Buffer

source

pub fn maybe_null_slice(&self) -> &[bool]

Trait Implementations§

source§

impl AsRef<ArrayData> for ByteBoolArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for ByteBoolArray

source§

fn clone(&self) -> ByteBoolArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ByteBoolArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FillForwardFn<ByteBoolArray> for ByteBoolEncoding

source§

fn fill_forward(&self, array: &ByteBoolArray) -> VortexResult<ArrayData>

source§

impl From<Vec<Option<bool>>> for ByteBoolArray

source§

fn from(value: Vec<Option<bool>>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<bool>> for ByteBoolArray

source§

fn from(value: Vec<bool>) -> Self

Converts to this type from the input type.
source§

impl IntoArrayData for ByteBoolArray

source§

impl IntoCanonical for ByteBoolArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl ScalarAtFn<ByteBoolArray> for ByteBoolEncoding

source§

fn scalar_at(&self, array: &ByteBoolArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ByteBoolArray> for ByteBoolEncoding

source§

fn slice( +) -> VortexResult<Self>

source

pub fn buffer(&self) -> &Buffer

source

pub fn maybe_null_slice(&self) -> &[bool]

Trait Implementations§

source§

impl AsRef<ArrayData> for ByteBoolArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for ByteBoolArray

source§

fn clone(&self) -> ByteBoolArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ByteBoolArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FillForwardFn<ByteBoolArray> for ByteBoolEncoding

source§

fn fill_forward(&self, array: &ByteBoolArray) -> VortexResult<ArrayData>

source§

impl From<Vec<Option<bool>>> for ByteBoolArray

source§

fn from(value: Vec<Option<bool>>) -> Self

Converts to this type from the input type.
source§

impl From<Vec<bool>> for ByteBoolArray

source§

fn from(value: Vec<bool>) -> Self

Converts to this type from the input type.
source§

impl IntoArrayData for ByteBoolArray

source§

fn into_array(self) -> ArrayData

source§

impl IntoCanonical for ByteBoolArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

source§

impl ScalarAtFn<ByteBoolArray> for ByteBoolEncoding

source§

fn scalar_at(&self, array: &ByteBoolArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ByteBoolArray> for ByteBoolEncoding

source§

fn slice( &self, array: &ByteBoolArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn compute_statistics( &self, array: &ByteBoolArray, - stat: Stat, -) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ByteBoolArray> for ByteBoolEncoding

source§

fn take( + stat: Stat, +) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ByteBoolArray> for ByteBoolEncoding

source§

fn take( &self, array: &ByteBoolArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ByteBoolArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ByteBoolArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<ByteBoolArray> for ByteBoolEncoding

source§

impl VariantsVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn as_bool_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a ByteBoolArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for ByteBoolArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn is_valid(&self, array: &ByteBoolArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ByteBoolArray) -> LogicalValidity

source§

impl VariantsVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn as_bool_array<'a>( &self, array: &'a ByteBoolArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn accept( &self, array: &ByteBoolArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

source§

impl ArrayTrait for ByteBoolArray

source§

impl BoolArrayTrait for ByteBoolArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+ visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
source§

impl ArrayTrait for ByteBoolArray

source§

impl BoolArrayTrait for ByteBoolArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -64,16 +64,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex_bytebool/struct.ByteBoolEncoding.html b/docs/rust/doc/vortex_bytebool/struct.ByteBoolEncoding.html index 8ff1bb40ad..878f36acf2 100644 --- a/docs/rust/doc/vortex_bytebool/struct.ByteBoolEncoding.html +++ b/docs/rust/doc/vortex_bytebool/struct.ByteBoolEncoding.html @@ -1,45 +1,45 @@ ByteBoolEncoding in vortex_bytebool - Rust

Struct vortex_bytebool::ByteBoolEncoding

source ·
pub struct ByteBoolEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for ByteBoolEncoding

source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for ByteBoolEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for ByteBoolEncoding

source§

impl EncodingVTable for ByteBoolEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FillForwardFn<ByteBoolArray> for ByteBoolEncoding

source§

fn fill_forward(&self, array: &ByteBoolArray) -> VortexResult<ArrayData>

source§

impl ScalarAtFn<ByteBoolArray> for ByteBoolEncoding

source§

fn scalar_at(&self, array: &ByteBoolArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ByteBoolArray> for ByteBoolEncoding

Trait Implementations§

source§

impl ComputeVTable for ByteBoolEncoding

source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for ByteBoolEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for ByteBoolEncoding

source§

impl EncodingVTable for ByteBoolEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FillForwardFn<ByteBoolArray> for ByteBoolEncoding

source§

fn fill_forward(&self, array: &ByteBoolArray) -> VortexResult<ArrayData>

source§

impl ScalarAtFn<ByteBoolArray> for ByteBoolEncoding

source§

fn scalar_at(&self, array: &ByteBoolArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<ByteBoolArray> for ByteBoolEncoding

source§

fn slice( &self, array: &ByteBoolArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn compute_statistics( &self, array: &ByteBoolArray, - stat: Stat, -) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ByteBoolArray> for ByteBoolEncoding

source§

fn take( + stat: Stat, +) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<ByteBoolArray> for ByteBoolEncoding

source§

fn take( &self, array: &ByteBoolArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<ByteBoolArray> for ByteBoolEncoding

source§

impl VariantsVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn as_bool_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl ValidityVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn is_valid(&self, array: &ByteBoolArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &ByteBoolArray) -> LogicalValidity

source§

impl VariantsVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn as_bool_array<'a>( &self, array: &'a ByteBoolArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<ByteBoolArray> for ByteBoolEncoding

source§

fn accept( &self, array: &ByteBoolArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -57,12 +57,12 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

impl<E> MetadataVTable for E
where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/docs/rust/doc/vortex_bytebool/struct.ByteBoolMetadata.html b/docs/rust/doc/vortex_bytebool/struct.ByteBoolMetadata.html index d45343bf33..810b0f98d2 100644 --- a/docs/rust/doc/vortex_bytebool/struct.ByteBoolMetadata.html +++ b/docs/rust/doc/vortex_bytebool/struct.ByteBoolMetadata.html @@ -1,5 +1,5 @@ -ByteBoolMetadata in vortex_bytebool - Rust

Struct vortex_bytebool::ByteBoolMetadata

source ·
pub struct ByteBoolMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for ByteBoolMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for ByteBoolMetadata

source§

fn clone(&self) -> ByteBoolMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ByteBoolMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ByteBoolMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where +ByteBoolMetadata in vortex_bytebool - Rust

Struct vortex_bytebool::ByteBoolMetadata

source ·
pub struct ByteBoolMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for ByteBoolMetadata

Implement ArrayMetadata

+
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for ByteBoolMetadata

source§

fn clone(&self) -> ByteBoolMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ByteBoolMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ByteBoolMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ByteBoolMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for ByteBoolMetadata

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where @@ -22,13 +22,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_datafusion/memory/struct.VortexMemTable.html b/docs/rust/doc/vortex_datafusion/memory/struct.VortexMemTable.html index efeb17e969..5e88ce73e3 100644 --- a/docs/rust/doc/vortex_datafusion/memory/struct.VortexMemTable.html +++ b/docs/rust/doc/vortex_datafusion/memory/struct.VortexMemTable.html @@ -1,7 +1,7 @@ VortexMemTable in vortex_datafusion::memory - Rust

Struct vortex_datafusion::memory::VortexMemTable

source ·
pub struct VortexMemTable { /* private fields */ }
Expand description

A [TableProvider] that exposes an existing Vortex Array to the DataFusion SQL engine.

-

Only arrays that have a top-level struct type can be exposed as +

Only arrays that have a top-level struct type can be exposed as a table to DataFusion.

-

Implementations§

source§

impl VortexMemTable

source

pub fn new(array: ArrayData, options: VortexMemTableOptions) -> Self

Build a new table provider from an existing struct type array.

+

Implementations§

source§

impl VortexMemTable

source

pub fn new(array: ArrayData, options: VortexMemTableOptions) -> Self

Build a new table provider from an existing struct type array.

§Panics

Creation will panic if the provided array is not of DType::Struct type.

Trait Implementations§

source§

impl Clone for VortexMemTable

source§

fn clone(&self) -> VortexMemTable

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VortexMemTable

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl TableProvider for VortexMemTable

source§

fn scan<'life0, 'life1, 'life2, 'life3, 'async_trait>( diff --git a/docs/rust/doc/vortex_datafusion/persistent/statistics/fn.array_to_col_statistics.html b/docs/rust/doc/vortex_datafusion/persistent/statistics/fn.array_to_col_statistics.html index 089c1ee13b..7072c9d91a 100644 --- a/docs/rust/doc/vortex_datafusion/persistent/statistics/fn.array_to_col_statistics.html +++ b/docs/rust/doc/vortex_datafusion/persistent/statistics/fn.array_to_col_statistics.html @@ -1,3 +1,3 @@ array_to_col_statistics in vortex_datafusion::persistent::statistics - Rust
pub fn array_to_col_statistics(
     array: &StructArray,
-) -> VortexResult<ColumnStatistics>
\ No newline at end of file +) -> VortexResult<ColumnStatistics>

\ No newline at end of file diff --git a/docs/rust/doc/vortex_datafusion/persistent/statistics/fn.uncompressed_col_size.html b/docs/rust/doc/vortex_datafusion/persistent/statistics/fn.uncompressed_col_size.html index 8db3099172..b325eab396 100644 --- a/docs/rust/doc/vortex_datafusion/persistent/statistics/fn.uncompressed_col_size.html +++ b/docs/rust/doc/vortex_datafusion/persistent/statistics/fn.uncompressed_col_size.html @@ -1 +1 @@ -uncompressed_col_size in vortex_datafusion::persistent::statistics - Rust
pub fn uncompressed_col_size(array: &StructArray) -> VortexResult<Option<u64>>
\ No newline at end of file +uncompressed_col_size in vortex_datafusion::persistent::statistics - Rust
pub fn uncompressed_col_size(array: &StructArray) -> VortexResult<Option<u64>>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_datetime_parts/fn.split_temporal.html b/docs/rust/doc/vortex_datetime_parts/fn.split_temporal.html index 4c1c05bf79..7d6a4173fa 100644 --- a/docs/rust/doc/vortex_datetime_parts/fn.split_temporal.html +++ b/docs/rust/doc/vortex_datetime_parts/fn.split_temporal.html @@ -1,4 +1,4 @@ -split_temporal in vortex_datetime_parts - Rust

Function vortex_datetime_parts::split_temporal

source ·
pub fn split_temporal(array: TemporalArray) -> VortexResult<TemporalParts>
Expand description

Compress a TemporalArray into day, second, and subsecond components.

+split_temporal in vortex_datetime_parts - Rust

Function vortex_datetime_parts::split_temporal

source ·
pub fn split_temporal(array: TemporalArray) -> VortexResult<TemporalParts>
Expand description

Compress a TemporalArray into day, second, and subsecond components.

Splitting the components by granularity creates more small values, which enables better cascading compression.

\ No newline at end of file diff --git a/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsArray.html b/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsArray.html index 37b6833586..015106c58f 100644 --- a/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsArray.html +++ b/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsArray.html @@ -1,66 +1,66 @@ -DateTimePartsArray in vortex_datetime_parts - Rust

Struct vortex_datetime_parts::DateTimePartsArray

source ·
pub struct DateTimePartsArray(/* private fields */);

Implementations§

source§

impl DateTimePartsArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

+DateTimePartsArray in vortex_datetime_parts - Rust

Struct vortex_datetime_parts::DateTimePartsArray

source ·
pub struct DateTimePartsArray(/* private fields */);

Implementations§

source§

impl DateTimePartsArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

source§

impl DateTimePartsArray

source

pub fn try_new( dtype: DType, - days: ArrayData, - seconds: ArrayData, - subsecond: ArrayData, -) -> VortexResult<Self>

source

pub fn days(&self) -> ArrayData

source

pub fn seconds(&self) -> ArrayData

source

pub fn subsecond(&self) -> ArrayData

source

pub fn validity(&self) -> Validity

Trait Implementations§

source§

impl AsRef<ArrayData> for DateTimePartsArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for DateTimePartsArray

source§

fn clone(&self) -> DateTimePartsArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DateTimePartsArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl ExtensionArrayTrait for DateTimePartsArray

source§

fn storage_data(&self) -> ArrayData

Returns the underlying ArrayData, without the [ExtDType].
source§

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].
source§

impl FilterFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn filter( + days: ArrayData, + seconds: ArrayData, + subsecond: ArrayData, +) -> VortexResult<Self>

source

pub fn days(&self) -> ArrayData

source

pub fn seconds(&self) -> ArrayData

source

pub fn subsecond(&self) -> ArrayData

source

pub fn validity(&self) -> Validity

Trait Implementations§

source§

impl AsRef<ArrayData> for DateTimePartsArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for DateTimePartsArray

source§

fn clone(&self) -> DateTimePartsArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DateTimePartsArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl ExtensionArrayTrait for DateTimePartsArray

source§

fn storage_data(&self) -> ArrayData

Returns the underlying [ArrayData], without the [ExtDType].
§

fn ext_dtype(&self) -> &Arc<ExtDType>

Returns the extension logical [DType].
source§

impl FilterFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn filter( &self, array: &DateTimePartsArray, - mask: FilterMask, -) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for DateTimePartsArray

source§

impl IntoCanonical for DateTimePartsArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl ScalarAtFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn scalar_at( + mask: FilterMask, +) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for DateTimePartsArray

source§

fn into_array(self) -> ArrayData

source§

impl IntoCanonical for DateTimePartsArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

source§

impl ScalarAtFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn scalar_at( &self, array: &DateTimePartsArray, index: usize, -) -> VortexResult<Scalar>

source§

impl SliceFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn slice( +) -> VortexResult<Scalar>

source§

impl SliceFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn slice( &self, array: &DateTimePartsArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn compute_statistics( &self, array: &DateTimePartsArray, - stat: Stat, -) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn take( + stat: Stat, +) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn take( &self, array: &DateTimePartsArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a DateTimePartsArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for DateTimePartsArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

impl VariantsVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn as_extension_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a DateTimePartsArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for DateTimePartsArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn is_valid(&self, array: &DateTimePartsArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &DateTimePartsArray) -> LogicalValidity

source§

impl VariantsVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn as_extension_array<'a>( &self, array: &'a DateTimePartsArray, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn ExtensionArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

impl VisitorVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn accept( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

impl VisitorVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn accept( &self, array: &DateTimePartsArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

source§

impl ArrayTrait for DateTimePartsArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+ visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
source§

impl ArrayTrait for DateTimePartsArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -71,16 +71,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsEncoding.html b/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsEncoding.html index febd9c8b1b..27588eec17 100644 --- a/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsEncoding.html +++ b/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsEncoding.html @@ -1,50 +1,50 @@ DateTimePartsEncoding in vortex_datetime_parts - Rust

Struct vortex_datetime_parts::DateTimePartsEncoding

source ·
pub struct DateTimePartsEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for DateTimePartsEncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for DateTimePartsEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for DateTimePartsEncoding

source§

impl EncodingVTable for DateTimePartsEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<DateTimePartsArray> for DateTimePartsEncoding

Trait Implementations§

source§

impl ComputeVTable for DateTimePartsEncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for DateTimePartsEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for DateTimePartsEncoding

source§

impl EncodingVTable for DateTimePartsEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn filter( &self, array: &DateTimePartsArray, - mask: FilterMask, -) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn scalar_at( + mask: FilterMask, +) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn scalar_at( &self, array: &DateTimePartsArray, index: usize, -) -> VortexResult<Scalar>

source§

impl SliceFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn slice( +) -> VortexResult<Scalar>

source§

impl SliceFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn slice( &self, array: &DateTimePartsArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn compute_statistics( &self, array: &DateTimePartsArray, - stat: Stat, -) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn take( + stat: Stat, +) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<DateTimePartsArray> for DateTimePartsEncoding

source§

fn take( &self, array: &DateTimePartsArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

impl VariantsVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn as_extension_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl ValidityVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn is_valid(&self, array: &DateTimePartsArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &DateTimePartsArray) -> LogicalValidity

source§

impl VariantsVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn as_extension_array<'a>( &self, array: &'a DateTimePartsArray, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn ExtensionArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

impl VisitorVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn accept( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

impl VisitorVTable<DateTimePartsArray> for DateTimePartsEncoding

source§

fn accept( &self, array: &DateTimePartsArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -62,12 +62,12 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

impl<E> MetadataVTable for E
where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsMetadata.html b/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsMetadata.html index 6f4d33a22b..db9591f419 100644 --- a/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsMetadata.html +++ b/docs/rust/doc/vortex_datetime_parts/struct.DateTimePartsMetadata.html @@ -1,5 +1,5 @@ -DateTimePartsMetadata in vortex_datetime_parts - Rust

Struct vortex_datetime_parts::DateTimePartsMetadata

source ·
pub struct DateTimePartsMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for DateTimePartsMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for DateTimePartsMetadata

source§

fn clone(&self) -> DateTimePartsMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DateTimePartsMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DateTimePartsMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where +DateTimePartsMetadata in vortex_datetime_parts - Rust

Struct vortex_datetime_parts::DateTimePartsMetadata

source ·
pub struct DateTimePartsMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for DateTimePartsMetadata

Implement ArrayMetadata

+
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for DateTimePartsMetadata

source§

fn clone(&self) -> DateTimePartsMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DateTimePartsMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DateTimePartsMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DateTimePartsMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for DateTimePartsMetadata

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where @@ -22,13 +22,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_datetime_parts/struct.TemporalParts.html b/docs/rust/doc/vortex_datetime_parts/struct.TemporalParts.html index 729dc6e7ae..25b0a1198a 100644 --- a/docs/rust/doc/vortex_datetime_parts/struct.TemporalParts.html +++ b/docs/rust/doc/vortex_datetime_parts/struct.TemporalParts.html @@ -1,8 +1,8 @@ TemporalParts in vortex_datetime_parts - Rust

Struct vortex_datetime_parts::TemporalParts

source ·
pub struct TemporalParts {
-    pub days: ArrayData,
-    pub seconds: ArrayData,
-    pub subseconds: ArrayData,
-}

Fields§

§days: ArrayData§seconds: ArrayData§subseconds: ArrayData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + pub days: ArrayData, + pub seconds: ArrayData, + pub subseconds: ArrayData, +}

Fields§

§days: ArrayData§seconds: ArrayData§subseconds: ArrayData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dict/fn.dict_encode_primitive.html b/docs/rust/doc/vortex_dict/fn.dict_encode_primitive.html index ca8330ef8a..fac0269ea6 100644 --- a/docs/rust/doc/vortex_dict/fn.dict_encode_primitive.html +++ b/docs/rust/doc/vortex_dict/fn.dict_encode_primitive.html @@ -1,3 +1,3 @@ dict_encode_primitive in vortex_dict - Rust

Function vortex_dict::dict_encode_primitive

source ·
pub fn dict_encode_primitive(
-    array: &PrimitiveArray,
-) -> (PrimitiveArray, PrimitiveArray)
\ No newline at end of file + array: &PrimitiveArray, +) -> (PrimitiveArray, PrimitiveArray)

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dict/fn.dict_encode_typed_primitive.html b/docs/rust/doc/vortex_dict/fn.dict_encode_typed_primitive.html index 5a991f3707..ca0a54eb23 100644 --- a/docs/rust/doc/vortex_dict/fn.dict_encode_typed_primitive.html +++ b/docs/rust/doc/vortex_dict/fn.dict_encode_typed_primitive.html @@ -1,5 +1,5 @@ dict_encode_typed_primitive in vortex_dict - Rust

Function vortex_dict::dict_encode_typed_primitive

source ·
pub fn dict_encode_typed_primitive<T: NativePType>(
-    array: &PrimitiveArray,
-) -> (PrimitiveArray, PrimitiveArray)
Expand description

Dictionary encode primitive array with given PType. + array: &PrimitiveArray, +) -> (PrimitiveArray, PrimitiveArray)

Expand description

Dictionary encode primitive array with given PType. Null values in the original array are encoded in the dictionary.

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dict/fn.dict_encode_varbin.html b/docs/rust/doc/vortex_dict/fn.dict_encode_varbin.html index 09f55bc612..9f546a29ef 100644 --- a/docs/rust/doc/vortex_dict/fn.dict_encode_varbin.html +++ b/docs/rust/doc/vortex_dict/fn.dict_encode_varbin.html @@ -1,2 +1,2 @@ -dict_encode_varbin in vortex_dict - Rust

Function vortex_dict::dict_encode_varbin

source ·
pub fn dict_encode_varbin(array: &VarBinArray) -> (PrimitiveArray, VarBinArray)
Expand description

Dictionary encode varbin array. Specializes for primitive byte arrays to avoid double copying

+dict_encode_varbin in vortex_dict - Rust

Function vortex_dict::dict_encode_varbin

source ·
pub fn dict_encode_varbin(array: &VarBinArray) -> (PrimitiveArray, VarBinArray)
Expand description

Dictionary encode varbin array. Specializes for primitive byte arrays to avoid double copying

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dict/fn.dict_encode_varbinview.html b/docs/rust/doc/vortex_dict/fn.dict_encode_varbinview.html index 6ccb6340ea..8006372f4a 100644 --- a/docs/rust/doc/vortex_dict/fn.dict_encode_varbinview.html +++ b/docs/rust/doc/vortex_dict/fn.dict_encode_varbinview.html @@ -1,4 +1,4 @@ dict_encode_varbinview in vortex_dict - Rust

Function vortex_dict::dict_encode_varbinview

source ·
pub fn dict_encode_varbinview(
-    array: &VarBinViewArray,
-) -> (PrimitiveArray, VarBinViewArray)
Expand description

Dictionary encode a VarbinViewArray.

+ array: &VarBinViewArray, +) -> (PrimitiveArray, VarBinViewArray)
Expand description

Dictionary encode a VarbinViewArray.

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dict/struct.DictArray.html b/docs/rust/doc/vortex_dict/struct.DictArray.html index 2ffc496948..9d881785bd 100644 --- a/docs/rust/doc/vortex_dict/struct.DictArray.html +++ b/docs/rust/doc/vortex_dict/struct.DictArray.html @@ -1,70 +1,70 @@ -DictArray in vortex_dict - Rust

Struct vortex_dict::DictArray

source ·
pub struct DictArray(/* private fields */);

Implementations§

source§

impl DictArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

+DictArray in vortex_dict - Rust

Struct vortex_dict::DictArray

source ·
pub struct DictArray(/* private fields */);

Implementations§

source§

impl DictArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

-
source§

impl DictArray

source

pub fn try_new(codes: ArrayData, values: ArrayData) -> VortexResult<Self>

source

pub fn codes(&self) -> ArrayData

source

pub fn values(&self) -> ArrayData

Trait Implementations§

source§

impl AsRef<ArrayData> for DictArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for DictArray

source§

fn clone(&self) -> DictArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CompareFn<DictArray> for DictEncoding

source§

impl DictArray

source

pub fn try_new(codes: ArrayData, values: ArrayData) -> VortexResult<Self>

source

pub fn codes(&self) -> ArrayData

source

pub fn values(&self) -> ArrayData

Trait Implementations§

source§

impl AsRef<ArrayData> for DictArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for DictArray

source§

fn clone(&self) -> DictArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl CompareFn<DictArray> for DictEncoding

source§

fn compare( &self, lhs: &DictArray, - rhs: &ArrayData, - operator: Operator, -) -> VortexResult<Option<ArrayData>>

Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
source§

impl Debug for DictArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FilterFn<DictArray> for DictEncoding

source§

fn filter(&self, array: &DictArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for DictArray

source§

impl IntoCanonical for DictArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl LikeFn<DictArray> for DictEncoding

source§

fn like( + rhs: &ArrayData, + operator: Operator, +) -> VortexResult<Option<ArrayData>>

Compares two arrays and returns a new boolean array with the result of the comparison. +Or, returns None if comparison is not supported for these arrays.
source§

impl Debug for DictArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FilterFn<DictArray> for DictEncoding

source§

fn filter(&self, array: &DictArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for DictArray

source§

fn into_array(self) -> ArrayData

source§

impl IntoCanonical for DictArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

source§

impl LikeFn<DictArray> for DictEncoding

source§

fn like( &self, array: &DictArray, - pattern: &ArrayData, - options: LikeOptions, -) -> VortexResult<ArrayData>

source§

impl PrimitiveArrayTrait for DictArray

source§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<DictArray> for DictEncoding

source§

fn scalar_at(&self, array: &DictArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<DictArray> for DictEncoding

source§

fn slice( + pattern: &ArrayData, + options: LikeOptions, +) -> VortexResult<ArrayData>

source§

impl PrimitiveArrayTrait for DictArray

§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<DictArray> for DictEncoding

source§

fn scalar_at(&self, array: &DictArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<DictArray> for DictEncoding

source§

fn slice( &self, array: &DictArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<DictArray> for DictEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<DictArray> for DictEncoding

source§

fn compute_statistics( &self, array: &DictArray, - stat: Stat, -) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<DictArray> for DictEncoding

source§

fn take( + stat: Stat, +) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<DictArray> for DictEncoding

source§

fn take( &self, array: &DictArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a DictArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for DictArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<DictArray> for DictEncoding

source§

fn is_valid(&self, array: &DictArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &DictArray) -> LogicalValidity

source§

impl VariantsVTable<DictArray> for DictEncoding

source§

fn as_bool_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a DictArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for DictArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<DictArray> for DictEncoding

source§

fn is_valid(&self, array: &DictArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &DictArray) -> LogicalValidity

source§

impl VariantsVTable<DictArray> for DictEncoding

source§

fn as_bool_array<'a>( &self, array: &'a DictArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( &self, array: &'a DictArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>( &self, array: &'a DictArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( &self, array: &'a DictArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<DictArray> for DictEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<DictArray> for DictEncoding

source§

fn accept( &self, array: &DictArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

source§

impl ArrayTrait for DictArray

source§

impl BinaryArrayTrait for DictArray

source§

impl BoolArrayTrait for DictArray

source§

impl Utf8ArrayTrait for DictArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+ visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
source§

impl ArrayTrait for DictArray

source§

impl BinaryArrayTrait for DictArray

source§

impl BoolArrayTrait for DictArray

source§

impl Utf8ArrayTrait for DictArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -75,16 +75,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex_dict/struct.DictEncoding.html b/docs/rust/doc/vortex_dict/struct.DictEncoding.html index b972daacca..c70d0c6369 100644 --- a/docs/rust/doc/vortex_dict/struct.DictEncoding.html +++ b/docs/rust/doc/vortex_dict/struct.DictEncoding.html @@ -1,59 +1,59 @@ DictEncoding in vortex_dict - Rust

Struct vortex_dict::DictEncoding

source ·
pub struct DictEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl CompareFn<DictArray> for DictEncoding

Trait Implementations§

source§

impl CompareFn<DictArray> for DictEncoding

source§

fn compare( &self, lhs: &DictArray, - rhs: &ArrayData, - operator: Operator, -) -> VortexResult<Option<ArrayData>>

Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
source§

impl ComputeVTable for DictEncoding

source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for DictEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for DictEncoding

source§

impl EncodingVTable for DictEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<DictArray> for DictEncoding

source§

fn filter(&self, array: &DictArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl LikeFn<DictArray> for DictEncoding

source§

fn like( + rhs: &ArrayData, + operator: Operator, +) -> VortexResult<Option<ArrayData>>

Compares two arrays and returns a new boolean array with the result of the comparison. +Or, returns None if comparison is not supported for these arrays.
source§

impl ComputeVTable for DictEncoding

source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for DictEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for DictEncoding

source§

impl EncodingVTable for DictEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<DictArray> for DictEncoding

source§

fn filter(&self, array: &DictArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl LikeFn<DictArray> for DictEncoding

source§

fn like( &self, array: &DictArray, - pattern: &ArrayData, - options: LikeOptions, -) -> VortexResult<ArrayData>

source§

impl ScalarAtFn<DictArray> for DictEncoding

source§

fn scalar_at(&self, array: &DictArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<DictArray> for DictEncoding

source§

fn slice( + pattern: &ArrayData, + options: LikeOptions, +) -> VortexResult<ArrayData>

source§

impl ScalarAtFn<DictArray> for DictEncoding

source§

fn scalar_at(&self, array: &DictArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<DictArray> for DictEncoding

source§

fn slice( &self, array: &DictArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<DictArray> for DictEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<DictArray> for DictEncoding

source§

fn compute_statistics( &self, array: &DictArray, - stat: Stat, -) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<DictArray> for DictEncoding

source§

fn take( + stat: Stat, +) -> VortexResult<StatsSet>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<DictArray> for DictEncoding

source§

fn take( &self, array: &DictArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<DictArray> for DictEncoding

source§

fn is_valid(&self, array: &DictArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &DictArray) -> LogicalValidity

source§

impl VariantsVTable<DictArray> for DictEncoding

source§

fn as_bool_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl ValidityVTable<DictArray> for DictEncoding

source§

fn is_valid(&self, array: &DictArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &DictArray) -> LogicalValidity

source§

impl VariantsVTable<DictArray> for DictEncoding

source§

fn as_bool_array<'a>( &self, array: &'a DictArray, -) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_primitive_array<'a>( &self, array: &'a DictArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_utf8_array<'a>( &self, array: &'a DictArray, -) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( &self, array: &'a DictArray, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<DictArray> for DictEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<DictArray> for DictEncoding

source§

fn accept( &self, array: &DictArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -71,12 +71,12 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

impl<E> MetadataVTable for E
where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/docs/rust/doc/vortex_dict/struct.DictMetadata.html b/docs/rust/doc/vortex_dict/struct.DictMetadata.html index b653534e97..c98a26fea2 100644 --- a/docs/rust/doc/vortex_dict/struct.DictMetadata.html +++ b/docs/rust/doc/vortex_dict/struct.DictMetadata.html @@ -1,5 +1,5 @@ -DictMetadata in vortex_dict - Rust

Struct vortex_dict::DictMetadata

source ·
pub struct DictMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for DictMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for DictMetadata

source§

fn clone(&self) -> DictMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DictMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DictMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where +DictMetadata in vortex_dict - Rust

Struct vortex_dict::DictMetadata

source ·
pub struct DictMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for DictMetadata

Implement ArrayMetadata

+
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for DictMetadata

source§

fn clone(&self) -> DictMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DictMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DictMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DictMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for DictMetadata

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where @@ -22,13 +22,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_dtype/enum.DType.html b/docs/rust/doc/vortex_dtype/enum.DType.html index e480eb4eab..8549a0c723 100644 --- a/docs/rust/doc/vortex_dtype/enum.DType.html +++ b/docs/rust/doc/vortex_dtype/enum.DType.html @@ -47,10 +47,10 @@ <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for DType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&DType> for DType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &DType) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&DType> for PType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &DType) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<DType<'_>> for DType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(fb: DType<'_>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl WriteFlatBuffer for DType

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&DType> for DType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &DType) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<&DType> for PType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &DType) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<DType<'_>> for DType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(fb: DType<'_>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl WriteFlatBuffer for DType

source§

type Target<'a> = DType<'a>

source§

fn write_flatbuffer<'fb>( &self, fbb: &mut FlatBufferBuilder<'fb>, -) -> WIPOffset<Self::Target<'fb>>

source§

impl Eq for DType

source§

impl FlatBufferRoot for DType

source§

impl StructuralPartialEq for DType

Auto Trait Implementations§

§

impl Freeze for DType

§

impl RefUnwindSafe for DType

§

impl Send for DType

§

impl Sync for DType

§

impl Unpin for DType

§

impl UnwindSafe for DType

Blanket Implementations§

source§

impl<T> Any for T
where +) -> WIPOffset<Self::Target<'fb>>

source§

impl Eq for DType

source§

impl FlatBufferRoot for DType

source§

impl StructuralPartialEq for DType

Auto Trait Implementations§

§

impl Freeze for DType

§

impl RefUnwindSafe for DType

§

impl Send for DType

§

impl Sync for DType

§

impl Unpin for DType

§

impl UnwindSafe for DType

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -58,8 +58,8 @@ Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, - K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
source§

impl<F> FlatBufferToBytes for F

source§

fn with_flatbuffer_bytes<R, Fn>(&self, f: Fn) -> R
where + K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<F> FlatBufferToBytes for F
where + F: WriteFlatBuffer + FlatBufferRoot,

§

fn with_flatbuffer_bytes<R, Fn>(&self, f: Fn) -> R
where Fn: FnOnce(&[u8]) -> R,

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an diff --git a/docs/rust/doc/vortex_dtype/enum.PType.html b/docs/rust/doc/vortex_dtype/enum.PType.html index 47379d26eb..601267b99b 100644 --- a/docs/rust/doc/vortex_dtype/enum.PType.html +++ b/docs/rust/doc/vortex_dtype/enum.PType.html @@ -47,7 +47,7 @@ <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for PType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&DType> for PType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &DType) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<PType> for PType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: PType) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for PType

source§

impl Eq for PType

source§

impl StructuralPartialEq for PType

Auto Trait Implementations§

§

impl Freeze for PType

§

impl RefUnwindSafe for PType

§

impl Send for PType

§

impl Sync for PType

§

impl Unpin for PType

§

impl UnwindSafe for PType

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&DType> for PType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &DType) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<PType> for PType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: PType) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for PType

source§

impl Eq for PType

source§

impl StructuralPartialEq for PType

Auto Trait Implementations§

§

impl Freeze for PType

§

impl RefUnwindSafe for PType

§

impl Send for PType

§

impl Sync for PType

§

impl Unpin for PType

§

impl UnwindSafe for PType

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/field/struct.FieldPath.html b/docs/rust/doc/vortex_dtype/field/struct.FieldPath.html index f4c38464be..cea79e9ebf 100644 --- a/docs/rust/doc/vortex_dtype/field/struct.FieldPath.html +++ b/docs/rust/doc/vortex_dtype/field/struct.FieldPath.html @@ -8,7 +8,7 @@ H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for FieldPath

source§

fn eq(&self, other: &FieldPath) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for FieldPath

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&FieldPath> for FieldPath

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &FieldPath) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Eq for FieldPath

source§

impl StructuralPartialEq for FieldPath

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&FieldPath> for FieldPath

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &FieldPath) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Eq for FieldPath

source§

impl StructuralPartialEq for FieldPath

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MAX_PTYPE.html b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MAX_PTYPE.html index e19a3ec935..6275a36bf4 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MAX_PTYPE.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MAX_PTYPE.html @@ -1 +1 @@ -ENUM_MAX_PTYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_MAX_PTYPE

source ·
pub const ENUM_MAX_PTYPE: u8 = 10; // 10u8
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file +ENUM_MAX_PTYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_MAX_PTYPE

pub const ENUM_MAX_PTYPE: u8 = 10; // 10u8
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MAX_TYPE.html b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MAX_TYPE.html index 59a501402f..0663565e3b 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MAX_TYPE.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MAX_TYPE.html @@ -1 +1 @@ -ENUM_MAX_TYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_MAX_TYPE

source ·
pub const ENUM_MAX_TYPE: u8 = 9; // 9u8
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file +ENUM_MAX_TYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_MAX_TYPE

pub const ENUM_MAX_TYPE: u8 = 9; // 9u8
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MIN_PTYPE.html b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MIN_PTYPE.html index b9d9744f2f..9b39f77958 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MIN_PTYPE.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MIN_PTYPE.html @@ -1 +1 @@ -ENUM_MIN_PTYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_MIN_PTYPE

source ·
pub const ENUM_MIN_PTYPE: u8 = 0; // 0u8
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file +ENUM_MIN_PTYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_MIN_PTYPE

pub const ENUM_MIN_PTYPE: u8 = 0; // 0u8
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MIN_TYPE.html b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MIN_TYPE.html index 4fa6cf90e5..14436b55bc 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MIN_TYPE.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_MIN_TYPE.html @@ -1 +1 @@ -ENUM_MIN_TYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_MIN_TYPE

source ·
pub const ENUM_MIN_TYPE: u8 = 0; // 0u8
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file +ENUM_MIN_TYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_MIN_TYPE

pub const ENUM_MIN_TYPE: u8 = 0; // 0u8
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_VALUES_PTYPE.html b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_VALUES_PTYPE.html index 0c608a32c3..81c9653e62 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_VALUES_PTYPE.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_VALUES_PTYPE.html @@ -1 +1 @@ -ENUM_VALUES_PTYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_VALUES_PTYPE

source ·
pub const ENUM_VALUES_PTYPE: [PType; 11];
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file +ENUM_VALUES_PTYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_VALUES_PTYPE

pub const ENUM_VALUES_PTYPE: [PType; 11];
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_VALUES_TYPE.html b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_VALUES_TYPE.html index 13629d6920..aeaae222fa 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_VALUES_TYPE.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/constant.ENUM_VALUES_TYPE.html @@ -1 +1 @@ -ENUM_VALUES_TYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_VALUES_TYPE

source ·
pub const ENUM_VALUES_TYPE: [Type; 10];
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file +ENUM_VALUES_TYPE in vortex_dtype::flatbuffers - Rust

Constant vortex_dtype::flatbuffers::ENUM_VALUES_TYPE

pub const ENUM_VALUES_TYPE: [Type; 10];
👎Deprecated since 2.0.0: Use associated constants instead. This will no longer be generated in 2021.
\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/enum.BinaryOffset.html b/docs/rust/doc/vortex_dtype/flatbuffers/enum.BinaryOffset.html index 61fb0ae0a5..aac71349a6 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/enum.BinaryOffset.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/enum.BinaryOffset.html @@ -1,4 +1,4 @@ -BinaryOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::BinaryOffset

source ·
pub enum BinaryOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +BinaryOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::BinaryOffset

pub enum BinaryOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/enum.BoolOffset.html b/docs/rust/doc/vortex_dtype/flatbuffers/enum.BoolOffset.html index da1266f19c..37b9080426 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/enum.BoolOffset.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/enum.BoolOffset.html @@ -1,4 +1,4 @@ -BoolOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::BoolOffset

source ·
pub enum BoolOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +BoolOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::BoolOffset

pub enum BoolOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/enum.DTypeOffset.html b/docs/rust/doc/vortex_dtype/flatbuffers/enum.DTypeOffset.html index 0dbcd0ba82..139c4bde83 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/enum.DTypeOffset.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/enum.DTypeOffset.html @@ -1,4 +1,4 @@ -DTypeOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::DTypeOffset

source ·
pub enum DTypeOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +DTypeOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::DTypeOffset

pub enum DTypeOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/enum.DecimalOffset.html b/docs/rust/doc/vortex_dtype/flatbuffers/enum.DecimalOffset.html index 3f977a821b..fb169fa931 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/enum.DecimalOffset.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/enum.DecimalOffset.html @@ -1,4 +1,4 @@ -DecimalOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::DecimalOffset

source ·
pub enum DecimalOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +DecimalOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::DecimalOffset

pub enum DecimalOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/enum.ExtensionOffset.html b/docs/rust/doc/vortex_dtype/flatbuffers/enum.ExtensionOffset.html index 9adbd0603b..ced2efe86d 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/enum.ExtensionOffset.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/enum.ExtensionOffset.html @@ -1,4 +1,4 @@ -ExtensionOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::ExtensionOffset

source ·
pub enum ExtensionOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +ExtensionOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::ExtensionOffset

pub enum ExtensionOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/enum.ListOffset.html b/docs/rust/doc/vortex_dtype/flatbuffers/enum.ListOffset.html index f61e2df043..1a596f0cd3 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/enum.ListOffset.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/enum.ListOffset.html @@ -1,4 +1,4 @@ -ListOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::ListOffset

source ·
pub enum ListOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +ListOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::ListOffset

pub enum ListOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/enum.NullOffset.html b/docs/rust/doc/vortex_dtype/flatbuffers/enum.NullOffset.html index 79f6393e45..67ba760dd9 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/enum.NullOffset.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/enum.NullOffset.html @@ -1,4 +1,4 @@ -NullOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::NullOffset

source ·
pub enum NullOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +NullOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::NullOffset

pub enum NullOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/enum.PrimitiveOffset.html b/docs/rust/doc/vortex_dtype/flatbuffers/enum.PrimitiveOffset.html index d1c1d57b52..a26b3bd85b 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/enum.PrimitiveOffset.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/enum.PrimitiveOffset.html @@ -1,4 +1,4 @@ -PrimitiveOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::PrimitiveOffset

source ·
pub enum PrimitiveOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +PrimitiveOffset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::PrimitiveOffset

pub enum PrimitiveOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/enum.Struct_Offset.html b/docs/rust/doc/vortex_dtype/flatbuffers/enum.Struct_Offset.html index d94be9567e..eb19aeaed7 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/enum.Struct_Offset.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/enum.Struct_Offset.html @@ -1,4 +1,4 @@ -Struct_Offset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::Struct_Offset

source ·
pub enum Struct_Offset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +Struct_Offset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::Struct_Offset

pub enum Struct_Offset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/enum.Utf8Offset.html b/docs/rust/doc/vortex_dtype/flatbuffers/enum.Utf8Offset.html index f0bdccec5b..cab4d8598e 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/enum.Utf8Offset.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/enum.Utf8Offset.html @@ -1,4 +1,4 @@ -Utf8Offset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::Utf8Offset

source ·
pub enum Utf8Offset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +Utf8Offset in vortex_dtype::flatbuffers - Rust

Enum vortex_dtype::flatbuffers::Utf8Offset

pub enum Utf8Offset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/fn.extract_field.html b/docs/rust/doc/vortex_dtype/flatbuffers/fn.extract_field.html index 85da0f8e96..2937b64a17 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/fn.extract_field.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/fn.extract_field.html @@ -1,2 +1,2 @@ -extract_field in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::extract_field

source ·
pub fn extract_field(fb_dtype: DType<'_>, field: &Field) -> VortexResult<DType>
Expand description

Deserialize single field out of a struct dtype and as a top level dtype

+extract_field in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::extract_field

source ·
pub fn extract_field(fb_dtype: DType<'_>, field: &Field) -> VortexResult<DType>
Expand description

Deserialize single field out of a struct dtype and as a top level dtype

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/fn.finish_dtype_buffer.html b/docs/rust/doc/vortex_dtype/flatbuffers/fn.finish_dtype_buffer.html index 203f0d3e21..89926a27a7 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/fn.finish_dtype_buffer.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/fn.finish_dtype_buffer.html @@ -1,4 +1,4 @@ -finish_dtype_buffer in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::finish_dtype_buffer

source ·
pub fn finish_dtype_buffer<'a, 'b, A>(
+finish_dtype_buffer in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::finish_dtype_buffer

pub fn finish_dtype_buffer<'a, 'b, A>(
     fbb: &'b mut FlatBufferBuilder<'a, A>,
     root: WIPOffset<DType<'a>>,
 )
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/fn.finish_size_prefixed_dtype_buffer.html b/docs/rust/doc/vortex_dtype/flatbuffers/fn.finish_size_prefixed_dtype_buffer.html index 1d861dd65e..1f4e165965 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/fn.finish_size_prefixed_dtype_buffer.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/fn.finish_size_prefixed_dtype_buffer.html @@ -1,4 +1,4 @@ -finish_size_prefixed_dtype_buffer in vortex_dtype::flatbuffers - Rust
pub fn finish_size_prefixed_dtype_buffer<'a, 'b, A>(
+finish_size_prefixed_dtype_buffer in vortex_dtype::flatbuffers - Rust
pub fn finish_size_prefixed_dtype_buffer<'a, 'b, A>(
     fbb: &'b mut FlatBufferBuilder<'a, A>,
     root: WIPOffset<DType<'a>>,
 )
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/fn.project_and_deserialize.html b/docs/rust/doc/vortex_dtype/flatbuffers/fn.project_and_deserialize.html index 1218ad4b3d..77e3d0a705 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/fn.project_and_deserialize.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/fn.project_and_deserialize.html @@ -1,5 +1,5 @@ project_and_deserialize in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::project_and_deserialize

source ·
pub fn project_and_deserialize(
     fb_dtype: DType<'_>,
     projection: &[Field],
-) -> VortexResult<DType>
Expand description

Deserialize flatbuffer schema selecting only columns defined by projection

+) -> VortexResult<DType>
Expand description

Deserialize flatbuffer schema selecting only columns defined by projection

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/fn.resolve_field.html b/docs/rust/doc/vortex_dtype/flatbuffers/fn.resolve_field.html index fe2d0b8ddc..fa7d4b8947 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/fn.resolve_field.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/fn.resolve_field.html @@ -1,6 +1,6 @@ resolve_field in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::resolve_field

source ·
pub fn resolve_field<'a, 'b: 'a>(
     fb: Struct_<'b>,
     field: &'a Field,
-) -> VortexResult<usize>
Expand description

Convert name references in projection list into index references.

+) -> VortexResult<usize>
Expand description

Convert name references in projection list into index references.

This is mostly useful if you want to deduplicate multiple projections against serialized schema.

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype.html b/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype.html index 685c6c0c66..2c10da16c8 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype.html @@ -1,4 +1,4 @@ -root_as_dtype in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::root_as_dtype

source ·
pub fn root_as_dtype(buf: &[u8]) -> Result<DType<'_>, InvalidFlatbuffer>
Expand description

Verifies that a buffer of bytes contains a DType +root_as_dtype in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::root_as_dtype

pub fn root_as_dtype(buf: &[u8]) -> Result<DType<'_>, InvalidFlatbuffer>
Expand description

Verifies that a buffer of bytes contains a DType and returns it. Note that verification is still experimental and may not catch every error, or be maximally performant. For the diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype_unchecked.html b/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype_unchecked.html index 2b56f9e681..a9277ed252 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype_unchecked.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype_unchecked.html @@ -1,4 +1,4 @@ -root_as_dtype_unchecked in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::root_as_dtype_unchecked

source ·
pub unsafe fn root_as_dtype_unchecked(buf: &[u8]) -> DType<'_>
Expand description

Assumes, without verification, that a buffer of bytes contains a DType and returns it.

+root_as_dtype_unchecked in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::root_as_dtype_unchecked

pub unsafe fn root_as_dtype_unchecked(buf: &[u8]) -> DType<'_>
Expand description

Assumes, without verification, that a buffer of bytes contains a DType and returns it.

§Safety

Callers must trust the given bytes do indeed contain a valid DType.

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype_with_opts.html b/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype_with_opts.html index f1c7fee01e..cfa216f96b 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype_with_opts.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/fn.root_as_dtype_with_opts.html @@ -1,4 +1,4 @@ -root_as_dtype_with_opts in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::root_as_dtype_with_opts

source ·
pub fn root_as_dtype_with_opts<'b, 'o>(
+root_as_dtype_with_opts in vortex_dtype::flatbuffers - Rust

Function vortex_dtype::flatbuffers::root_as_dtype_with_opts

pub fn root_as_dtype_with_opts<'b, 'o>(
     opts: &'o VerifierOptions,
     buf: &'b [u8],
 ) -> Result<DType<'b>, InvalidFlatbuffer>
Expand description

Verifies, with the given options, that a buffer of bytes diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype.html b/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype.html index 086f46c656..2440582c8f 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype.html @@ -1,4 +1,4 @@ -size_prefixed_root_as_dtype in vortex_dtype::flatbuffers - Rust

pub fn size_prefixed_root_as_dtype(
+size_prefixed_root_as_dtype in vortex_dtype::flatbuffers - Rust
pub fn size_prefixed_root_as_dtype(
     buf: &[u8],
 ) -> Result<DType<'_>, InvalidFlatbuffer>
Expand description

Verifies that a buffer of bytes contains a size prefixed DType and returns it. diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype_unchecked.html b/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype_unchecked.html index 66dc119dc8..48c2576de7 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype_unchecked.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype_unchecked.html @@ -1,4 +1,4 @@ -size_prefixed_root_as_dtype_unchecked in vortex_dtype::flatbuffers - Rust

pub unsafe fn size_prefixed_root_as_dtype_unchecked(buf: &[u8]) -> DType<'_>
Expand description

Assumes, without verification, that a buffer of bytes contains a size prefixed DType and returns it.

+size_prefixed_root_as_dtype_unchecked in vortex_dtype::flatbuffers - Rust
pub unsafe fn size_prefixed_root_as_dtype_unchecked(buf: &[u8]) -> DType<'_>
Expand description

Assumes, without verification, that a buffer of bytes contains a size prefixed DType and returns it.

§Safety

Callers must trust the given bytes do indeed contain a valid size prefixed DType.

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype_with_opts.html b/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype_with_opts.html index 651ddaad97..97e8cc2fc6 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype_with_opts.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/fn.size_prefixed_root_as_dtype_with_opts.html @@ -1,4 +1,4 @@ -size_prefixed_root_as_dtype_with_opts in vortex_dtype::flatbuffers - Rust
pub fn size_prefixed_root_as_dtype_with_opts<'b, 'o>(
+size_prefixed_root_as_dtype_with_opts in vortex_dtype::flatbuffers - Rust
pub fn size_prefixed_root_as_dtype_with_opts<'b, 'o>(
     opts: &'o VerifierOptions,
     buf: &'b [u8],
 ) -> Result<DType<'b>, InvalidFlatbuffer>
Expand description

Verifies, with the given verifier options, that a buffer of diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Binary.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Binary.html index cbbc998e2c..016952ad39 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Binary.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Binary.html @@ -1,17 +1,17 @@ -Binary in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Binary

source ·
pub struct Binary<'a> {
+Binary in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Binary

pub struct Binary<'a> {
     pub _tab: Table<'a>,
-}

Fields§

§_tab: Table<'a>

Implementations§

source§

impl<'a> Binary<'a>

source

pub const VT_NULLABLE: u16 = 4u16

source

pub unsafe fn init_from_table(table: Table<'a>) -> Binary<'a>

source

pub fn create<'bldr, 'args, 'mut_bldr, A>( +}

Fields§

§_tab: Table<'a>

Implementations§

§

impl<'a> Binary<'a>

pub const VT_NULLABLE: u16 = 4u16

pub unsafe fn init_from_table(table: Table<'a>) -> Binary<'a>

pub fn create<'bldr, 'args, 'mut_bldr, A>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args BinaryArgs, ) -> WIPOffset<Binary<'bldr>>
where 'bldr: 'args, 'args: 'mut_bldr, - A: Allocator + 'bldr,

source

pub fn nullable(&self) -> bool

Trait Implementations§

source§

impl<'a> Clone for Binary<'a>

source§

fn clone(&self) -> Binary<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Binary<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> Follow<'a> for Binary<'a>

source§

type Inner = Binary<'a>

source§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <Binary<'a> as Follow<'a>>::Inner

Safety Read more
source§

impl<'a> PartialEq for Binary<'a>

source§

fn eq(&self, other: &Binary<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Verifiable for Binary<'_>

source§

fn run_verifier( + A: Allocator + 'bldr,

pub fn nullable(&self) -> bool

Trait Implementations§

§

impl<'a> Clone for Binary<'a>

§

fn clone(&self) -> Binary<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Binary<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'a> Follow<'a> for Binary<'a>

§

type Inner = Binary<'a>

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <Binary<'a> as Follow<'a>>::Inner

Safety Read more
§

impl<'a> PartialEq for Binary<'a>

§

fn eq(&self, other: &Binary<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Verifiable for Binary<'_>

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl<'a> Copy for Binary<'a>

source§

impl<'a> StructuralPartialEq for Binary<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Binary<'a>

§

impl<'a> RefUnwindSafe for Binary<'a>

§

impl<'a> Send for Binary<'a>

§

impl<'a> Sync for Binary<'a>

§

impl<'a> Unpin for Binary<'a>

§

impl<'a> UnwindSafe for Binary<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl<'a> Copy for Binary<'a>

§

impl<'a> StructuralPartialEq for Binary<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Binary<'a>

§

impl<'a> RefUnwindSafe for Binary<'a>

§

impl<'a> Send for Binary<'a>

§

impl<'a> Sync for Binary<'a>

§

impl<'a> Unpin for Binary<'a>

§

impl<'a> UnwindSafe for Binary<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.BinaryArgs.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.BinaryArgs.html index a7a8b52635..9292c3c148 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.BinaryArgs.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.BinaryArgs.html @@ -1,6 +1,6 @@ -BinaryArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::BinaryArgs

source ·
pub struct BinaryArgs {
+BinaryArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::BinaryArgs

pub struct BinaryArgs {
     pub nullable: bool,
-}

Fields§

§nullable: bool

Trait Implementations§

source§

impl<'a> Default for BinaryArgs

source§

fn default() -> BinaryArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +}

Fields§

§nullable: bool

Trait Implementations§

§

impl<'a> Default for BinaryArgs

§

fn default() -> BinaryArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.BinaryBuilder.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.BinaryBuilder.html index a63b21dc74..dc0b8a3632 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.BinaryBuilder.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.BinaryBuilder.html @@ -1,8 +1,8 @@ -BinaryBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::BinaryBuilder

source ·
pub struct BinaryBuilder<'a, 'b, A>
where +BinaryBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::BinaryBuilder

pub struct BinaryBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,
{ /* private fields */ }

Implementations§

source§

impl<'a, 'b, A> BinaryBuilder<'a, 'b, A>
where + A: Allocator + 'a,
{ /* private fields */ }

Implementations§

§

impl<'a, 'b, A> BinaryBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,

source

pub fn add_nullable(&mut self, nullable: bool)

source

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> BinaryBuilder<'a, 'b, A>

source

pub fn finish(self) -> WIPOffset<Binary<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for BinaryBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for BinaryBuilder<'a, 'b, A>
where + A: Allocator + 'a,

pub fn add_nullable(&mut self, nullable: bool)

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> BinaryBuilder<'a, 'b, A>

pub fn finish(self) -> WIPOffset<Binary<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for BinaryBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for BinaryBuilder<'a, 'b, A>
where A: RefUnwindSafe,

§

impl<'a, 'b, A> Send for BinaryBuilder<'a, 'b, A>
where A: Send,

§

impl<'a, 'b, A> Sync for BinaryBuilder<'a, 'b, A>
where A: Sync,

§

impl<'a, 'b, A> Unpin for BinaryBuilder<'a, 'b, A>

§

impl<'a, 'b, A> !UnwindSafe for BinaryBuilder<'a, 'b, A>

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Bool.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Bool.html index face8a02cf..998f09b2af 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Bool.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Bool.html @@ -1,17 +1,17 @@ -Bool in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Bool

source ·
pub struct Bool<'a> {
+Bool in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Bool

pub struct Bool<'a> {
     pub _tab: Table<'a>,
-}

Fields§

§_tab: Table<'a>

Implementations§

source§

impl<'a> Bool<'a>

source

pub const VT_NULLABLE: u16 = 4u16

source

pub unsafe fn init_from_table(table: Table<'a>) -> Bool<'a>

source

pub fn create<'bldr, 'args, 'mut_bldr, A>( +}

Fields§

§_tab: Table<'a>

Implementations§

§

impl<'a> Bool<'a>

pub const VT_NULLABLE: u16 = 4u16

pub unsafe fn init_from_table(table: Table<'a>) -> Bool<'a>

pub fn create<'bldr, 'args, 'mut_bldr, A>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args BoolArgs, ) -> WIPOffset<Bool<'bldr>>
where 'bldr: 'args, 'args: 'mut_bldr, - A: Allocator + 'bldr,

source

pub fn nullable(&self) -> bool

Trait Implementations§

source§

impl<'a> Clone for Bool<'a>

source§

fn clone(&self) -> Bool<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Bool<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> Follow<'a> for Bool<'a>

source§

type Inner = Bool<'a>

source§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <Bool<'a> as Follow<'a>>::Inner

Safety Read more
source§

impl<'a> PartialEq for Bool<'a>

source§

fn eq(&self, other: &Bool<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Verifiable for Bool<'_>

source§

fn run_verifier( + A: Allocator + 'bldr,

pub fn nullable(&self) -> bool

Trait Implementations§

§

impl<'a> Clone for Bool<'a>

§

fn clone(&self) -> Bool<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Bool<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'a> Follow<'a> for Bool<'a>

§

type Inner = Bool<'a>

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <Bool<'a> as Follow<'a>>::Inner

Safety Read more
§

impl<'a> PartialEq for Bool<'a>

§

fn eq(&self, other: &Bool<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Verifiable for Bool<'_>

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl<'a> Copy for Bool<'a>

source§

impl<'a> StructuralPartialEq for Bool<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Bool<'a>

§

impl<'a> RefUnwindSafe for Bool<'a>

§

impl<'a> Send for Bool<'a>

§

impl<'a> Sync for Bool<'a>

§

impl<'a> Unpin for Bool<'a>

§

impl<'a> UnwindSafe for Bool<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl<'a> Copy for Bool<'a>

§

impl<'a> StructuralPartialEq for Bool<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Bool<'a>

§

impl<'a> RefUnwindSafe for Bool<'a>

§

impl<'a> Send for Bool<'a>

§

impl<'a> Sync for Bool<'a>

§

impl<'a> Unpin for Bool<'a>

§

impl<'a> UnwindSafe for Bool<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.BoolArgs.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.BoolArgs.html index 4564fa35cb..1d00b1d909 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.BoolArgs.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.BoolArgs.html @@ -1,6 +1,6 @@ -BoolArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::BoolArgs

source ·
pub struct BoolArgs {
+BoolArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::BoolArgs

pub struct BoolArgs {
     pub nullable: bool,
-}

Fields§

§nullable: bool

Trait Implementations§

source§

impl<'a> Default for BoolArgs

source§

fn default() -> BoolArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +}

Fields§

§nullable: bool

Trait Implementations§

§

impl<'a> Default for BoolArgs

§

fn default() -> BoolArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.BoolBuilder.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.BoolBuilder.html index 07c45b0974..30a4680476 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.BoolBuilder.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.BoolBuilder.html @@ -1,8 +1,8 @@ -BoolBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::BoolBuilder

source ·
pub struct BoolBuilder<'a, 'b, A>
where +BoolBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::BoolBuilder

pub struct BoolBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,
{ /* private fields */ }

Implementations§

source§

impl<'a, 'b, A> BoolBuilder<'a, 'b, A>
where + A: Allocator + 'a,
{ /* private fields */ }

Implementations§

§

impl<'a, 'b, A> BoolBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,

source

pub fn add_nullable(&mut self, nullable: bool)

source

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> BoolBuilder<'a, 'b, A>

source

pub fn finish(self) -> WIPOffset<Bool<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for BoolBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for BoolBuilder<'a, 'b, A>
where + A: Allocator + 'a,

pub fn add_nullable(&mut self, nullable: bool)

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> BoolBuilder<'a, 'b, A>

pub fn finish(self) -> WIPOffset<Bool<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for BoolBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for BoolBuilder<'a, 'b, A>
where A: RefUnwindSafe,

§

impl<'a, 'b, A> Send for BoolBuilder<'a, 'b, A>
where A: Send,

§

impl<'a, 'b, A> Sync for BoolBuilder<'a, 'b, A>
where A: Sync,

§

impl<'a, 'b, A> Unpin for BoolBuilder<'a, 'b, A>

§

impl<'a, 'b, A> !UnwindSafe for BoolBuilder<'a, 'b, A>

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.DType.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.DType.html index 081fab3129..47e46fa27d 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.DType.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.DType.html @@ -1,17 +1,17 @@ -DType in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::DType

source ·
pub struct DType<'a> {
+DType in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::DType

pub struct DType<'a> {
     pub _tab: Table<'a>,
-}

Fields§

§_tab: Table<'a>

Implementations§

source§

impl<'a> DType<'a>

source

pub const VT_TYPE_TYPE: u16 = 4u16

source

pub const VT_TYPE_: u16 = 6u16

source

pub unsafe fn init_from_table(table: Table<'a>) -> DType<'a>

source

pub fn create<'bldr, 'args, 'mut_bldr, A>( +}

Fields§

§_tab: Table<'a>

Implementations§

§

impl<'a> DType<'a>

pub const VT_TYPE_TYPE: u16 = 4u16

pub const VT_TYPE_: u16 = 6u16

pub unsafe fn init_from_table(table: Table<'a>) -> DType<'a>

pub fn create<'bldr, 'args, 'mut_bldr, A>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args DTypeArgs, ) -> WIPOffset<DType<'bldr>>
where 'bldr: 'args, 'args: 'mut_bldr, - A: Allocator + 'bldr,

source

pub fn type_type(&self) -> Type

source

pub fn type_(&self) -> Option<Table<'a>>

source

pub fn type__as_null(&self) -> Option<Null<'a>>

source

pub fn type__as_bool(&self) -> Option<Bool<'a>>

source

pub fn type__as_primitive(&self) -> Option<Primitive<'a>>

source

pub fn type__as_decimal(&self) -> Option<Decimal<'a>>

source

pub fn type__as_utf_8(&self) -> Option<Utf8<'a>>

source

pub fn type__as_binary(&self) -> Option<Binary<'a>>

source

pub fn type__as_struct_(&self) -> Option<Struct_<'a>>

source

pub fn type__as_list(&self) -> Option<List<'a>>

source

pub fn type__as_extension(&self) -> Option<Extension<'a>>

Trait Implementations§

source§

impl<'a> Clone for DType<'a>

source§

fn clone(&self) -> DType<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DType<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> Follow<'a> for DType<'a>

source§

type Inner = DType<'a>

source§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <DType<'a> as Follow<'a>>::Inner

Safety Read more
source§

impl<'a> PartialEq for DType<'a>

source§

fn eq(&self, other: &DType<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl TryFrom<DType<'_>> for DType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(fb: DType<'_>) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Verifiable for DType<'_>

source§

fn run_verifier( + A: Allocator + 'bldr,

pub fn type_type(&self) -> Type

pub fn type_(&self) -> Option<Table<'a>>

pub fn type__as_null(&self) -> Option<Null<'a>>

pub fn type__as_bool(&self) -> Option<Bool<'a>>

pub fn type__as_primitive(&self) -> Option<Primitive<'a>>

pub fn type__as_decimal(&self) -> Option<Decimal<'a>>

pub fn type__as_utf_8(&self) -> Option<Utf8<'a>>

pub fn type__as_binary(&self) -> Option<Binary<'a>>

pub fn type__as_struct_(&self) -> Option<Struct_<'a>>

pub fn type__as_list(&self) -> Option<List<'a>>

pub fn type__as_extension(&self) -> Option<Extension<'a>>

Trait Implementations§

§

impl<'a> Clone for DType<'a>

§

fn clone(&self) -> DType<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for DType<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'a> Follow<'a> for DType<'a>

§

type Inner = DType<'a>

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <DType<'a> as Follow<'a>>::Inner

Safety Read more
§

impl<'a> PartialEq for DType<'a>

§

fn eq(&self, other: &DType<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl TryFrom<DType<'_>> for DType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(fb: DType<'_>) -> Result<Self, Self::Error>

Performs the conversion.
§

impl Verifiable for DType<'_>

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl<'a> Copy for DType<'a>

source§

impl<'a> StructuralPartialEq for DType<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for DType<'a>

§

impl<'a> RefUnwindSafe for DType<'a>

§

impl<'a> Send for DType<'a>

§

impl<'a> Sync for DType<'a>

§

impl<'a> Unpin for DType<'a>

§

impl<'a> UnwindSafe for DType<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl<'a> Copy for DType<'a>

§

impl<'a> StructuralPartialEq for DType<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for DType<'a>

§

impl<'a> RefUnwindSafe for DType<'a>

§

impl<'a> Send for DType<'a>

§

impl<'a> Sync for DType<'a>

§

impl<'a> Unpin for DType<'a>

§

impl<'a> UnwindSafe for DType<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.DTypeArgs.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.DTypeArgs.html index 545e70a93e..761f70c7b3 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.DTypeArgs.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.DTypeArgs.html @@ -1,7 +1,7 @@ -DTypeArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::DTypeArgs

source ·
pub struct DTypeArgs {
+DTypeArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::DTypeArgs

pub struct DTypeArgs {
     pub type_type: Type,
     pub type_: Option<WIPOffset<UnionWIPOffset>>,
-}

Fields§

§type_type: Type§type_: Option<WIPOffset<UnionWIPOffset>>

Trait Implementations§

source§

impl<'a> Default for DTypeArgs

source§

fn default() -> DTypeArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +}

Fields§

§type_type: Type§type_: Option<WIPOffset<UnionWIPOffset>>

Trait Implementations§

§

impl<'a> Default for DTypeArgs

§

fn default() -> DTypeArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.DTypeBuilder.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.DTypeBuilder.html index 4099319505..41531ab26d 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.DTypeBuilder.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.DTypeBuilder.html @@ -1,8 +1,8 @@ -DTypeBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::DTypeBuilder

source ·
pub struct DTypeBuilder<'a, 'b, A>
where +DTypeBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::DTypeBuilder

pub struct DTypeBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,
{ /* private fields */ }

Implementations§

source§

impl<'a, 'b, A> DTypeBuilder<'a, 'b, A>
where + A: Allocator + 'a,
{ /* private fields */ }

Implementations§

§

impl<'a, 'b, A> DTypeBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,

source

pub fn add_type_type(&mut self, type_type: Type)

source

pub fn add_type_(&mut self, type_: WIPOffset<UnionWIPOffset>)

source

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> DTypeBuilder<'a, 'b, A>

source

pub fn finish(self) -> WIPOffset<DType<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for DTypeBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for DTypeBuilder<'a, 'b, A>
where + A: Allocator + 'a,

pub fn add_type_type(&mut self, type_type: Type)

pub fn add_type_(&mut self, type_: WIPOffset<UnionWIPOffset>)

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> DTypeBuilder<'a, 'b, A>

pub fn finish(self) -> WIPOffset<DType<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for DTypeBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for DTypeBuilder<'a, 'b, A>
where A: RefUnwindSafe,

§

impl<'a, 'b, A> Send for DTypeBuilder<'a, 'b, A>
where A: Send,

§

impl<'a, 'b, A> Sync for DTypeBuilder<'a, 'b, A>
where A: Sync,

§

impl<'a, 'b, A> Unpin for DTypeBuilder<'a, 'b, A>

§

impl<'a, 'b, A> !UnwindSafe for DTypeBuilder<'a, 'b, A>

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Decimal.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Decimal.html index 94acf3e758..509025ae96 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Decimal.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Decimal.html @@ -1,22 +1,22 @@ -Decimal in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Decimal

source ·
pub struct Decimal<'a> {
+Decimal in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Decimal

pub struct Decimal<'a> {
     pub _tab: Table<'a>,
-}

Fields§

§_tab: Table<'a>

Implementations§

source§

impl<'a> Decimal<'a>

source

pub const VT_PRECISION: u16 = 4u16

source

pub const VT_SCALE: u16 = 6u16

source

pub const VT_NULLABLE: u16 = 8u16

source

pub unsafe fn init_from_table(table: Table<'a>) -> Decimal<'a>

source

pub fn create<'bldr, 'args, 'mut_bldr, A>( +}

Fields§

§_tab: Table<'a>

Implementations§

§

impl<'a> Decimal<'a>

pub const VT_PRECISION: u16 = 4u16

pub const VT_SCALE: u16 = 6u16

pub const VT_NULLABLE: u16 = 8u16

pub unsafe fn init_from_table(table: Table<'a>) -> Decimal<'a>

pub fn create<'bldr, 'args, 'mut_bldr, A>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args DecimalArgs, ) -> WIPOffset<Decimal<'bldr>>
where 'bldr: 'args, 'args: 'mut_bldr, - A: Allocator + 'bldr,

source

pub fn precision(&self) -> u8

Total number of decimal digits

-
source

pub fn scale(&self) -> u8

Number of digits after the decimal point “.”

-
source

pub fn nullable(&self) -> bool

Trait Implementations§

source§

impl<'a> Clone for Decimal<'a>

source§

fn clone(&self) -> Decimal<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Decimal<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> Follow<'a> for Decimal<'a>

source§

type Inner = Decimal<'a>

source§

unsafe fn follow( + A: Allocator + 'bldr,

pub fn precision(&self) -> u8

Total number of decimal digits

+

pub fn scale(&self) -> u8

Number of digits after the decimal point “.”

+

pub fn nullable(&self) -> bool

Trait Implementations§

§

impl<'a> Clone for Decimal<'a>

§

fn clone(&self) -> Decimal<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Decimal<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'a> Follow<'a> for Decimal<'a>

§

type Inner = Decimal<'a>

§

unsafe fn follow( buf: &'a [u8], loc: usize, -) -> <Decimal<'a> as Follow<'a>>::Inner

Safety Read more
source§

impl<'a> PartialEq for Decimal<'a>

source§

fn eq(&self, other: &Decimal<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Verifiable for Decimal<'_>

source§

fn run_verifier( +) -> <Decimal<'a> as Follow<'a>>::Inner

Safety Read more
§

impl<'a> PartialEq for Decimal<'a>

§

fn eq(&self, other: &Decimal<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Verifiable for Decimal<'_>

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl<'a> Copy for Decimal<'a>

source§

impl<'a> StructuralPartialEq for Decimal<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Decimal<'a>

§

impl<'a> RefUnwindSafe for Decimal<'a>

§

impl<'a> Send for Decimal<'a>

§

impl<'a> Sync for Decimal<'a>

§

impl<'a> Unpin for Decimal<'a>

§

impl<'a> UnwindSafe for Decimal<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl<'a> Copy for Decimal<'a>

§

impl<'a> StructuralPartialEq for Decimal<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Decimal<'a>

§

impl<'a> RefUnwindSafe for Decimal<'a>

§

impl<'a> Send for Decimal<'a>

§

impl<'a> Sync for Decimal<'a>

§

impl<'a> Unpin for Decimal<'a>

§

impl<'a> UnwindSafe for Decimal<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.DecimalArgs.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.DecimalArgs.html index 8a66545fbe..2131bdd8c7 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.DecimalArgs.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.DecimalArgs.html @@ -1,8 +1,8 @@ -DecimalArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::DecimalArgs

source ·
pub struct DecimalArgs {
+DecimalArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::DecimalArgs

pub struct DecimalArgs {
     pub precision: u8,
     pub scale: u8,
     pub nullable: bool,
-}

Fields§

§precision: u8§scale: u8§nullable: bool

Trait Implementations§

source§

impl<'a> Default for DecimalArgs

source§

fn default() -> DecimalArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +}

Fields§

§precision: u8§scale: u8§nullable: bool

Trait Implementations§

§

impl<'a> Default for DecimalArgs

§

fn default() -> DecimalArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.DecimalBuilder.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.DecimalBuilder.html index f36509453c..4c2a418670 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.DecimalBuilder.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.DecimalBuilder.html @@ -1,8 +1,8 @@ -DecimalBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::DecimalBuilder

source ·
pub struct DecimalBuilder<'a, 'b, A>
where +DecimalBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::DecimalBuilder

pub struct DecimalBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,
{ /* private fields */ }

Implementations§

source§

impl<'a, 'b, A> DecimalBuilder<'a, 'b, A>
where + A: Allocator + 'a,
{ /* private fields */ }

Implementations§

§

impl<'a, 'b, A> DecimalBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,

source

pub fn add_precision(&mut self, precision: u8)

source

pub fn add_scale(&mut self, scale: u8)

source

pub fn add_nullable(&mut self, nullable: bool)

source

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> DecimalBuilder<'a, 'b, A>

source

pub fn finish(self) -> WIPOffset<Decimal<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for DecimalBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for DecimalBuilder<'a, 'b, A>
where + A: Allocator + 'a,

pub fn add_precision(&mut self, precision: u8)

pub fn add_scale(&mut self, scale: u8)

pub fn add_nullable(&mut self, nullable: bool)

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> DecimalBuilder<'a, 'b, A>

pub fn finish(self) -> WIPOffset<Decimal<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for DecimalBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for DecimalBuilder<'a, 'b, A>
where A: RefUnwindSafe,

§

impl<'a, 'b, A> Send for DecimalBuilder<'a, 'b, A>
where A: Send,

§

impl<'a, 'b, A> Sync for DecimalBuilder<'a, 'b, A>
where A: Sync,

§

impl<'a, 'b, A> Unpin for DecimalBuilder<'a, 'b, A>

§

impl<'a, 'b, A> !UnwindSafe for DecimalBuilder<'a, 'b, A>

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Extension.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Extension.html index 5b44ab39d2..747238df55 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Extension.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Extension.html @@ -1,20 +1,20 @@ -Extension in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Extension

source ·
pub struct Extension<'a> {
+Extension in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Extension

pub struct Extension<'a> {
     pub _tab: Table<'a>,
-}

Fields§

§_tab: Table<'a>

Implementations§

source§

impl<'a> Extension<'a>

source

pub const VT_ID: u16 = 4u16

source

pub const VT_STORAGE_DTYPE: u16 = 6u16

source

pub const VT_METADATA: u16 = 8u16

source

pub unsafe fn init_from_table(table: Table<'a>) -> Extension<'a>

source

pub fn create<'bldr, 'args, 'mut_bldr, A>( +}

Fields§

§_tab: Table<'a>

Implementations§

§

impl<'a> Extension<'a>

pub const VT_ID: u16 = 4u16

pub const VT_STORAGE_DTYPE: u16 = 6u16

pub const VT_METADATA: u16 = 8u16

pub unsafe fn init_from_table(table: Table<'a>) -> Extension<'a>

pub fn create<'bldr, 'args, 'mut_bldr, A>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args ExtensionArgs<'args>, ) -> WIPOffset<Extension<'bldr>>
where 'bldr: 'args, 'args: 'mut_bldr, - A: Allocator + 'bldr,

source

pub fn id(&self) -> Option<&'a str>

source

pub fn storage_dtype(&self) -> Option<DType<'a>>

source

pub fn metadata(&self) -> Option<Vector<'a, u8>>

Trait Implementations§

source§

impl<'a> Clone for Extension<'a>

source§

fn clone(&self) -> Extension<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Extension<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> Follow<'a> for Extension<'a>

source§

type Inner = Extension<'a>

source§

unsafe fn follow( + A: Allocator + 'bldr,

pub fn id(&self) -> Option<&'a str>

pub fn storage_dtype(&self) -> Option<DType<'a>>

pub fn metadata(&self) -> Option<Vector<'a, u8>>

Trait Implementations§

§

impl<'a> Clone for Extension<'a>

§

fn clone(&self) -> Extension<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Extension<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'a> Follow<'a> for Extension<'a>

§

type Inner = Extension<'a>

§

unsafe fn follow( buf: &'a [u8], loc: usize, -) -> <Extension<'a> as Follow<'a>>::Inner

Safety Read more
source§

impl<'a> PartialEq for Extension<'a>

source§

fn eq(&self, other: &Extension<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Verifiable for Extension<'_>

source§

fn run_verifier( +) -> <Extension<'a> as Follow<'a>>::Inner

Safety Read more
§

impl<'a> PartialEq for Extension<'a>

§

fn eq(&self, other: &Extension<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Verifiable for Extension<'_>

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl<'a> Copy for Extension<'a>

source§

impl<'a> StructuralPartialEq for Extension<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Extension<'a>

§

impl<'a> RefUnwindSafe for Extension<'a>

§

impl<'a> Send for Extension<'a>

§

impl<'a> Sync for Extension<'a>

§

impl<'a> Unpin for Extension<'a>

§

impl<'a> UnwindSafe for Extension<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl<'a> Copy for Extension<'a>

§

impl<'a> StructuralPartialEq for Extension<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Extension<'a>

§

impl<'a> RefUnwindSafe for Extension<'a>

§

impl<'a> Send for Extension<'a>

§

impl<'a> Sync for Extension<'a>

§

impl<'a> Unpin for Extension<'a>

§

impl<'a> UnwindSafe for Extension<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.ExtensionArgs.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.ExtensionArgs.html index 3be3ca8684..f75a951499 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.ExtensionArgs.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.ExtensionArgs.html @@ -1,8 +1,8 @@ -ExtensionArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::ExtensionArgs

source ·
pub struct ExtensionArgs<'a> {
+ExtensionArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::ExtensionArgs

pub struct ExtensionArgs<'a> {
     pub id: Option<WIPOffset<&'a str>>,
     pub storage_dtype: Option<WIPOffset<DType<'a>>>,
     pub metadata: Option<WIPOffset<Vector<'a, u8>>>,
-}

Fields§

§id: Option<WIPOffset<&'a str>>§storage_dtype: Option<WIPOffset<DType<'a>>>§metadata: Option<WIPOffset<Vector<'a, u8>>>

Trait Implementations§

source§

impl<'a> Default for ExtensionArgs<'a>

source§

fn default() -> ExtensionArgs<'a>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for ExtensionArgs<'a>

§

impl<'a> RefUnwindSafe for ExtensionArgs<'a>

§

impl<'a> Send for ExtensionArgs<'a>

§

impl<'a> Sync for ExtensionArgs<'a>

§

impl<'a> Unpin for ExtensionArgs<'a>

§

impl<'a> UnwindSafe for ExtensionArgs<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +}

Fields§

§id: Option<WIPOffset<&'a str>>§storage_dtype: Option<WIPOffset<DType<'a>>>§metadata: Option<WIPOffset<Vector<'a, u8>>>

Trait Implementations§

§

impl<'a> Default for ExtensionArgs<'a>

§

fn default() -> ExtensionArgs<'a>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for ExtensionArgs<'a>

§

impl<'a> RefUnwindSafe for ExtensionArgs<'a>

§

impl<'a> Send for ExtensionArgs<'a>

§

impl<'a> Sync for ExtensionArgs<'a>

§

impl<'a> Unpin for ExtensionArgs<'a>

§

impl<'a> UnwindSafe for ExtensionArgs<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.ExtensionBuilder.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.ExtensionBuilder.html index c1772bb81b..30654bc82d 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.ExtensionBuilder.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.ExtensionBuilder.html @@ -1,10 +1,10 @@ -ExtensionBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::ExtensionBuilder

source ·
pub struct ExtensionBuilder<'a, 'b, A>
where +ExtensionBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::ExtensionBuilder

pub struct ExtensionBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,
{ /* private fields */ }

Implementations§

source§

impl<'a, 'b, A> ExtensionBuilder<'a, 'b, A>
where + A: Allocator + 'a,
{ /* private fields */ }

Implementations§

§

impl<'a, 'b, A> ExtensionBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,

source

pub fn add_id(&mut self, id: WIPOffset<&'b str>)

source

pub fn add_storage_dtype(&mut self, storage_dtype: WIPOffset<DType<'b>>)

source

pub fn add_metadata(&mut self, metadata: WIPOffset<Vector<'b, u8>>)

source

pub fn new( + A: Allocator + 'a,

pub fn add_id(&mut self, id: WIPOffset<&'b str>)

pub fn add_storage_dtype(&mut self, storage_dtype: WIPOffset<DType<'b>>)

pub fn add_metadata(&mut self, metadata: WIPOffset<Vector<'b, u8>>)

pub fn new( _fbb: &'b mut FlatBufferBuilder<'a, A>, -) -> ExtensionBuilder<'a, 'b, A>

source

pub fn finish(self) -> WIPOffset<Extension<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for ExtensionBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for ExtensionBuilder<'a, 'b, A>
where +) -> ExtensionBuilder<'a, 'b, A>

pub fn finish(self) -> WIPOffset<Extension<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for ExtensionBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for ExtensionBuilder<'a, 'b, A>
where A: RefUnwindSafe,

§

impl<'a, 'b, A> Send for ExtensionBuilder<'a, 'b, A>
where A: Send,

§

impl<'a, 'b, A> Sync for ExtensionBuilder<'a, 'b, A>
where A: Sync,

§

impl<'a, 'b, A> Unpin for ExtensionBuilder<'a, 'b, A>

§

impl<'a, 'b, A> !UnwindSafe for ExtensionBuilder<'a, 'b, A>

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.List.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.List.html index 934f3d5d6b..613ee04d2b 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.List.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.List.html @@ -1,17 +1,17 @@ -List in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::List

source ·
pub struct List<'a> {
+List in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::List

pub struct List<'a> {
     pub _tab: Table<'a>,
-}

Fields§

§_tab: Table<'a>

Implementations§

source§

impl<'a> List<'a>

source

pub const VT_ELEMENT_TYPE: u16 = 4u16

source

pub const VT_NULLABLE: u16 = 6u16

source

pub unsafe fn init_from_table(table: Table<'a>) -> List<'a>

source

pub fn create<'bldr, 'args, 'mut_bldr, A>( +}

Fields§

§_tab: Table<'a>

Implementations§

§

impl<'a> List<'a>

pub const VT_ELEMENT_TYPE: u16 = 4u16

pub const VT_NULLABLE: u16 = 6u16

pub unsafe fn init_from_table(table: Table<'a>) -> List<'a>

pub fn create<'bldr, 'args, 'mut_bldr, A>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args ListArgs<'args>, ) -> WIPOffset<List<'bldr>>
where 'bldr: 'args, 'args: 'mut_bldr, - A: Allocator + 'bldr,

source

pub fn element_type(&self) -> Option<DType<'a>>

source

pub fn nullable(&self) -> bool

Trait Implementations§

source§

impl<'a> Clone for List<'a>

source§

fn clone(&self) -> List<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for List<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> Follow<'a> for List<'a>

source§

type Inner = List<'a>

source§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <List<'a> as Follow<'a>>::Inner

Safety Read more
source§

impl<'a> PartialEq for List<'a>

source§

fn eq(&self, other: &List<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Verifiable for List<'_>

source§

fn run_verifier( + A: Allocator + 'bldr,

pub fn element_type(&self) -> Option<DType<'a>>

pub fn nullable(&self) -> bool

Trait Implementations§

§

impl<'a> Clone for List<'a>

§

fn clone(&self) -> List<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for List<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'a> Follow<'a> for List<'a>

§

type Inner = List<'a>

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <List<'a> as Follow<'a>>::Inner

Safety Read more
§

impl<'a> PartialEq for List<'a>

§

fn eq(&self, other: &List<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Verifiable for List<'_>

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl<'a> Copy for List<'a>

source§

impl<'a> StructuralPartialEq for List<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for List<'a>

§

impl<'a> RefUnwindSafe for List<'a>

§

impl<'a> Send for List<'a>

§

impl<'a> Sync for List<'a>

§

impl<'a> Unpin for List<'a>

§

impl<'a> UnwindSafe for List<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl<'a> Copy for List<'a>

§

impl<'a> StructuralPartialEq for List<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for List<'a>

§

impl<'a> RefUnwindSafe for List<'a>

§

impl<'a> Send for List<'a>

§

impl<'a> Sync for List<'a>

§

impl<'a> Unpin for List<'a>

§

impl<'a> UnwindSafe for List<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.ListArgs.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.ListArgs.html index 5898b0ad9c..791aa2838e 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.ListArgs.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.ListArgs.html @@ -1,7 +1,7 @@ -ListArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::ListArgs

source ·
pub struct ListArgs<'a> {
+ListArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::ListArgs

pub struct ListArgs<'a> {
     pub element_type: Option<WIPOffset<DType<'a>>>,
     pub nullable: bool,
-}

Fields§

§element_type: Option<WIPOffset<DType<'a>>>§nullable: bool

Trait Implementations§

source§

impl<'a> Default for ListArgs<'a>

source§

fn default() -> ListArgs<'a>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for ListArgs<'a>

§

impl<'a> RefUnwindSafe for ListArgs<'a>

§

impl<'a> Send for ListArgs<'a>

§

impl<'a> Sync for ListArgs<'a>

§

impl<'a> Unpin for ListArgs<'a>

§

impl<'a> UnwindSafe for ListArgs<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +}

Fields§

§element_type: Option<WIPOffset<DType<'a>>>§nullable: bool

Trait Implementations§

§

impl<'a> Default for ListArgs<'a>

§

fn default() -> ListArgs<'a>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for ListArgs<'a>

§

impl<'a> RefUnwindSafe for ListArgs<'a>

§

impl<'a> Send for ListArgs<'a>

§

impl<'a> Sync for ListArgs<'a>

§

impl<'a> Unpin for ListArgs<'a>

§

impl<'a> UnwindSafe for ListArgs<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.ListBuilder.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.ListBuilder.html index 22ac4b05c1..155717c72d 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.ListBuilder.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.ListBuilder.html @@ -1,8 +1,8 @@ -ListBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::ListBuilder

source ·
pub struct ListBuilder<'a, 'b, A>
where +ListBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::ListBuilder

pub struct ListBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,
{ /* private fields */ }

Implementations§

source§

impl<'a, 'b, A> ListBuilder<'a, 'b, A>
where + A: Allocator + 'a,
{ /* private fields */ }

Implementations§

§

impl<'a, 'b, A> ListBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,

source

pub fn add_element_type(&mut self, element_type: WIPOffset<DType<'b>>)

source

pub fn add_nullable(&mut self, nullable: bool)

source

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> ListBuilder<'a, 'b, A>

source

pub fn finish(self) -> WIPOffset<List<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for ListBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for ListBuilder<'a, 'b, A>
where + A: Allocator + 'a,

pub fn add_element_type(&mut self, element_type: WIPOffset<DType<'b>>)

pub fn add_nullable(&mut self, nullable: bool)

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> ListBuilder<'a, 'b, A>

pub fn finish(self) -> WIPOffset<List<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for ListBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for ListBuilder<'a, 'b, A>
where A: RefUnwindSafe,

§

impl<'a, 'b, A> Send for ListBuilder<'a, 'b, A>
where A: Send,

§

impl<'a, 'b, A> Sync for ListBuilder<'a, 'b, A>
where A: Sync,

§

impl<'a, 'b, A> Unpin for ListBuilder<'a, 'b, A>

§

impl<'a, 'b, A> !UnwindSafe for ListBuilder<'a, 'b, A>

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Null.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Null.html index c1f7f91800..8059b25dda 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Null.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Null.html @@ -1,17 +1,17 @@ -Null in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Null

source ·
pub struct Null<'a> {
+Null in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Null

pub struct Null<'a> {
     pub _tab: Table<'a>,
-}

Fields§

§_tab: Table<'a>

Implementations§

source§

impl<'a> Null<'a>

source

pub unsafe fn init_from_table(table: Table<'a>) -> Null<'a>

source

pub fn create<'bldr, 'args, 'mut_bldr, A>( +}

Fields§

§_tab: Table<'a>

Implementations§

§

impl<'a> Null<'a>

pub unsafe fn init_from_table(table: Table<'a>) -> Null<'a>

pub fn create<'bldr, 'args, 'mut_bldr, A>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, _args: &'args NullArgs, ) -> WIPOffset<Null<'bldr>>
where 'bldr: 'args, 'args: 'mut_bldr, - A: Allocator + 'bldr,

Trait Implementations§

source§

impl<'a> Clone for Null<'a>

source§

fn clone(&self) -> Null<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Null<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> Follow<'a> for Null<'a>

source§

type Inner = Null<'a>

source§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <Null<'a> as Follow<'a>>::Inner

Safety Read more
source§

impl<'a> PartialEq for Null<'a>

source§

fn eq(&self, other: &Null<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Verifiable for Null<'_>

source§

fn run_verifier( + A: Allocator + 'bldr,

Trait Implementations§

§

impl<'a> Clone for Null<'a>

§

fn clone(&self) -> Null<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Null<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'a> Follow<'a> for Null<'a>

§

type Inner = Null<'a>

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <Null<'a> as Follow<'a>>::Inner

Safety Read more
§

impl<'a> PartialEq for Null<'a>

§

fn eq(&self, other: &Null<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Verifiable for Null<'_>

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl<'a> Copy for Null<'a>

source§

impl<'a> StructuralPartialEq for Null<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Null<'a>

§

impl<'a> RefUnwindSafe for Null<'a>

§

impl<'a> Send for Null<'a>

§

impl<'a> Sync for Null<'a>

§

impl<'a> Unpin for Null<'a>

§

impl<'a> UnwindSafe for Null<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl<'a> Copy for Null<'a>

§

impl<'a> StructuralPartialEq for Null<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Null<'a>

§

impl<'a> RefUnwindSafe for Null<'a>

§

impl<'a> Send for Null<'a>

§

impl<'a> Sync for Null<'a>

§

impl<'a> Unpin for Null<'a>

§

impl<'a> UnwindSafe for Null<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.NullArgs.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.NullArgs.html index 14a68a7773..742bd39407 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.NullArgs.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.NullArgs.html @@ -1,4 +1,4 @@ -NullArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::NullArgs

source ·
pub struct NullArgs {}

Trait Implementations§

source§

impl<'a> Default for NullArgs

source§

fn default() -> NullArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +NullArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::NullArgs

pub struct NullArgs {}

Trait Implementations§

§

impl<'a> Default for NullArgs

§

fn default() -> NullArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.NullBuilder.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.NullBuilder.html index fdbf5bb7b2..00f1723bc5 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.NullBuilder.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.NullBuilder.html @@ -1,8 +1,8 @@ -NullBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::NullBuilder

source ·
pub struct NullBuilder<'a, 'b, A>
where +NullBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::NullBuilder

pub struct NullBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,
{ /* private fields */ }

Implementations§

source§

impl<'a, 'b, A> NullBuilder<'a, 'b, A>
where + A: Allocator + 'a,
{ /* private fields */ }

Implementations§

§

impl<'a, 'b, A> NullBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,

source

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> NullBuilder<'a, 'b, A>

source

pub fn finish(self) -> WIPOffset<Null<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for NullBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for NullBuilder<'a, 'b, A>
where + A: Allocator + 'a,

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> NullBuilder<'a, 'b, A>

pub fn finish(self) -> WIPOffset<Null<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for NullBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for NullBuilder<'a, 'b, A>
where A: RefUnwindSafe,

§

impl<'a, 'b, A> Send for NullBuilder<'a, 'b, A>
where A: Send,

§

impl<'a, 'b, A> Sync for NullBuilder<'a, 'b, A>
where A: Sync,

§

impl<'a, 'b, A> Unpin for NullBuilder<'a, 'b, A>

§

impl<'a, 'b, A> !UnwindSafe for NullBuilder<'a, 'b, A>

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.PType.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.PType.html index f9d4657f54..65102c652e 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.PType.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.PType.html @@ -1,19 +1,19 @@ -PType in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::PType

source ·
#[repr(transparent)]
pub struct PType(pub u8);

Tuple Fields§

§0: u8

Implementations§

source§

impl PType

source

pub const U8: PType = _

source

pub const U16: PType = _

source

pub const U32: PType = _

source

pub const U64: PType = _

source

pub const I8: PType = _

source

pub const I16: PType = _

source

pub const I32: PType = _

source

pub const I64: PType = _

source

pub const F16: PType = _

source

pub const F32: PType = _

source

pub const F64: PType = _

source

pub const ENUM_MIN: u8 = 0u8

source

pub const ENUM_MAX: u8 = 10u8

source

pub const ENUM_VALUES: &'static [PType] = _

source

pub fn variant_name(self) -> Option<&'static str>

Returns the variant’s name or “” if unknown.

-

Trait Implementations§

source§

impl Clone for PType

source§

fn clone(&self) -> PType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for PType

source§

fn default() -> PType

Returns the “default value” for a type. Read more
source§

impl EndianScalar for PType

source§

impl<'a> Follow<'a> for PType

source§

type Inner = PType

source§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <PType as Follow<'a>>::Inner

Safety Read more
source§

impl From<PType> for PType

source§

fn from(value: PType) -> Self

Converts to this type from the input type.
source§

impl Hash for PType

source§

fn hash<__H>(&self, state: &mut __H)
where +PType in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::PType

#[repr(transparent)]
pub struct PType(pub u8);

Tuple Fields§

§0: u8

Implementations§

§

impl PType

pub const U8: PType = _

pub const U16: PType = _

pub const U32: PType = _

pub const U64: PType = _

pub const I8: PType = _

pub const I16: PType = _

pub const I32: PType = _

pub const I64: PType = _

pub const F16: PType = _

pub const F32: PType = _

pub const F64: PType = _

pub const ENUM_MIN: u8 = 0u8

pub const ENUM_MAX: u8 = 10u8

pub const ENUM_VALUES: &'static [PType] = _

pub fn variant_name(self) -> Option<&'static str>

Returns the variant’s name or “” if unknown.

+

Trait Implementations§

§

impl Clone for PType

§

fn clone(&self) -> PType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for PType

§

fn default() -> PType

Returns the “default value” for a type. Read more
§

impl EndianScalar for PType

§

impl<'a> Follow<'a> for PType

§

type Inner = PType

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <PType as Follow<'a>>::Inner

Safety Read more
source§

impl From<PType> for PType

source§

fn from(value: PType) -> Self

Converts to this type from the input type.
§

impl Hash for PType

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for PType

source§

fn cmp(&self, other: &PType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for PType

§

fn cmp(&self, other: &PType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for PType

source§

fn eq(&self, other: &PType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialOrd for PType

source§

fn partial_cmp(&self, other: &PType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for PType

§

fn eq(&self, other: &PType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for PType

§

fn partial_cmp(&self, other: &PType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl Push for PType

source§

type Output = PType

source§

unsafe fn push(&self, dst: &mut [u8], _written_len: usize)

Safety Read more
§

fn size() -> usize

§

fn alignment() -> PushAlignment

source§

impl TryFrom<PType> for PType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: PType) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'a> Verifiable for PType

source§

fn run_verifier( +the >= operator. Read more

§

impl Push for PType

§

type Output = PType

§

unsafe fn push(&self, dst: &mut [u8], _written_len: usize)

Safety Read more
§

fn size() -> usize

§

fn alignment() -> PushAlignment

source§

impl TryFrom<PType> for PType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: PType) -> Result<Self, Self::Error>

Performs the conversion.
§

impl<'a> Verifiable for PType

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl Copy for PType

source§

impl Eq for PType

source§

impl SimpleToVerifyInSlice for PType

source§

impl StructuralPartialEq for PType

Auto Trait Implementations§

§

impl Freeze for PType

§

impl RefUnwindSafe for PType

§

impl Send for PType

§

impl Sync for PType

§

impl Unpin for PType

§

impl UnwindSafe for PType

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl Copy for PType

§

impl Eq for PType

§

impl SimpleToVerifyInSlice for PType

§

impl StructuralPartialEq for PType

Auto Trait Implementations§

§

impl Freeze for PType

§

impl RefUnwindSafe for PType

§

impl Send for PType

§

impl Sync for PType

§

impl Unpin for PType

§

impl UnwindSafe for PType

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Primitive.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Primitive.html index 4eb8b4e215..12cac25297 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Primitive.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Primitive.html @@ -1,20 +1,20 @@ -Primitive in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Primitive

source ·
pub struct Primitive<'a> {
+Primitive in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Primitive

pub struct Primitive<'a> {
     pub _tab: Table<'a>,
-}

Fields§

§_tab: Table<'a>

Implementations§

source§

impl<'a> Primitive<'a>

source

pub const VT_PTYPE: u16 = 4u16

source

pub const VT_NULLABLE: u16 = 6u16

source

pub unsafe fn init_from_table(table: Table<'a>) -> Primitive<'a>

source

pub fn create<'bldr, 'args, 'mut_bldr, A>( +}

Fields§

§_tab: Table<'a>

Implementations§

§

impl<'a> Primitive<'a>

pub const VT_PTYPE: u16 = 4u16

pub const VT_NULLABLE: u16 = 6u16

pub unsafe fn init_from_table(table: Table<'a>) -> Primitive<'a>

pub fn create<'bldr, 'args, 'mut_bldr, A>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args PrimitiveArgs, ) -> WIPOffset<Primitive<'bldr>>
where 'bldr: 'args, 'args: 'mut_bldr, - A: Allocator + 'bldr,

source

pub fn ptype(&self) -> PType

source

pub fn nullable(&self) -> bool

Trait Implementations§

source§

impl<'a> Clone for Primitive<'a>

source§

fn clone(&self) -> Primitive<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Primitive<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> Follow<'a> for Primitive<'a>

source§

type Inner = Primitive<'a>

source§

unsafe fn follow( + A: Allocator + 'bldr,

pub fn ptype(&self) -> PType

pub fn nullable(&self) -> bool

Trait Implementations§

§

impl<'a> Clone for Primitive<'a>

§

fn clone(&self) -> Primitive<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Primitive<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'a> Follow<'a> for Primitive<'a>

§

type Inner = Primitive<'a>

§

unsafe fn follow( buf: &'a [u8], loc: usize, -) -> <Primitive<'a> as Follow<'a>>::Inner

Safety Read more
source§

impl<'a> PartialEq for Primitive<'a>

source§

fn eq(&self, other: &Primitive<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Verifiable for Primitive<'_>

source§

fn run_verifier( +) -> <Primitive<'a> as Follow<'a>>::Inner

Safety Read more
§

impl<'a> PartialEq for Primitive<'a>

§

fn eq(&self, other: &Primitive<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Verifiable for Primitive<'_>

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl<'a> Copy for Primitive<'a>

source§

impl<'a> StructuralPartialEq for Primitive<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Primitive<'a>

§

impl<'a> RefUnwindSafe for Primitive<'a>

§

impl<'a> Send for Primitive<'a>

§

impl<'a> Sync for Primitive<'a>

§

impl<'a> Unpin for Primitive<'a>

§

impl<'a> UnwindSafe for Primitive<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl<'a> Copy for Primitive<'a>

§

impl<'a> StructuralPartialEq for Primitive<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Primitive<'a>

§

impl<'a> RefUnwindSafe for Primitive<'a>

§

impl<'a> Send for Primitive<'a>

§

impl<'a> Sync for Primitive<'a>

§

impl<'a> Unpin for Primitive<'a>

§

impl<'a> UnwindSafe for Primitive<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.PrimitiveArgs.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.PrimitiveArgs.html index d622e8071b..f23b154952 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.PrimitiveArgs.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.PrimitiveArgs.html @@ -1,7 +1,7 @@ -PrimitiveArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::PrimitiveArgs

source ·
pub struct PrimitiveArgs {
+PrimitiveArgs in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::PrimitiveArgs

pub struct PrimitiveArgs {
     pub ptype: PType,
     pub nullable: bool,
-}

Fields§

§ptype: PType§nullable: bool

Trait Implementations§

source§

impl<'a> Default for PrimitiveArgs

source§

fn default() -> PrimitiveArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +}

Fields§

§ptype: PType§nullable: bool

Trait Implementations§

§

impl<'a> Default for PrimitiveArgs

§

fn default() -> PrimitiveArgs

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.PrimitiveBuilder.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.PrimitiveBuilder.html index d8252a8c33..75613269b8 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.PrimitiveBuilder.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.PrimitiveBuilder.html @@ -1,10 +1,10 @@ -PrimitiveBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::PrimitiveBuilder

source ·
pub struct PrimitiveBuilder<'a, 'b, A>
where +PrimitiveBuilder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::PrimitiveBuilder

pub struct PrimitiveBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,
{ /* private fields */ }

Implementations§

source§

impl<'a, 'b, A> PrimitiveBuilder<'a, 'b, A>
where + A: Allocator + 'a,
{ /* private fields */ }

Implementations§

§

impl<'a, 'b, A> PrimitiveBuilder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,

source

pub fn add_ptype(&mut self, ptype: PType)

source

pub fn add_nullable(&mut self, nullable: bool)

source

pub fn new( + A: Allocator + 'a,

pub fn add_ptype(&mut self, ptype: PType)

pub fn add_nullable(&mut self, nullable: bool)

pub fn new( _fbb: &'b mut FlatBufferBuilder<'a, A>, -) -> PrimitiveBuilder<'a, 'b, A>

source

pub fn finish(self) -> WIPOffset<Primitive<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for PrimitiveBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for PrimitiveBuilder<'a, 'b, A>
where +) -> PrimitiveBuilder<'a, 'b, A>

pub fn finish(self) -> WIPOffset<Primitive<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for PrimitiveBuilder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for PrimitiveBuilder<'a, 'b, A>
where A: RefUnwindSafe,

§

impl<'a, 'b, A> Send for PrimitiveBuilder<'a, 'b, A>
where A: Send,

§

impl<'a, 'b, A> Sync for PrimitiveBuilder<'a, 'b, A>
where A: Sync,

§

impl<'a, 'b, A> Unpin for PrimitiveBuilder<'a, 'b, A>

§

impl<'a, 'b, A> !UnwindSafe for PrimitiveBuilder<'a, 'b, A>

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_.html index 8870a3b9d6..9b58abde98 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_.html @@ -1,20 +1,20 @@ -Struct_ in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Struct_

source ·
pub struct Struct_<'a> {
+Struct_ in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Struct_

pub struct Struct_<'a> {
     pub _tab: Table<'a>,
-}

Fields§

§_tab: Table<'a>

Implementations§

source§

impl<'a> Struct_<'a>

source

pub const VT_NAMES: u16 = 4u16

source

pub const VT_DTYPES: u16 = 6u16

source

pub const VT_NULLABLE: u16 = 8u16

source

pub unsafe fn init_from_table(table: Table<'a>) -> Struct_<'a>

source

pub fn create<'bldr, 'args, 'mut_bldr, A>( +}

Fields§

§_tab: Table<'a>

Implementations§

§

impl<'a> Struct_<'a>

pub const VT_NAMES: u16 = 4u16

pub const VT_DTYPES: u16 = 6u16

pub const VT_NULLABLE: u16 = 8u16

pub unsafe fn init_from_table(table: Table<'a>) -> Struct_<'a>

pub fn create<'bldr, 'args, 'mut_bldr, A>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args Struct_Args<'args>, ) -> WIPOffset<Struct_<'bldr>>
where 'bldr: 'args, 'args: 'mut_bldr, - A: Allocator + 'bldr,

source

pub fn names(&self) -> Option<Vector<'a, ForwardsUOffset<&'a str>>>

source

pub fn dtypes(&self) -> Option<Vector<'a, ForwardsUOffset<DType<'a>>>>

source

pub fn nullable(&self) -> bool

Trait Implementations§

source§

impl<'a> Clone for Struct_<'a>

source§

fn clone(&self) -> Struct_<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Struct_<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> Follow<'a> for Struct_<'a>

source§

type Inner = Struct_<'a>

source§

unsafe fn follow( + A: Allocator + 'bldr,

pub fn names(&self) -> Option<Vector<'a, ForwardsUOffset<&'a str>>>

pub fn dtypes(&self) -> Option<Vector<'a, ForwardsUOffset<DType<'a>>>>

pub fn nullable(&self) -> bool

Trait Implementations§

§

impl<'a> Clone for Struct_<'a>

§

fn clone(&self) -> Struct_<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Struct_<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'a> Follow<'a> for Struct_<'a>

§

type Inner = Struct_<'a>

§

unsafe fn follow( buf: &'a [u8], loc: usize, -) -> <Struct_<'a> as Follow<'a>>::Inner

Safety Read more
source§

impl<'a> PartialEq for Struct_<'a>

source§

fn eq(&self, other: &Struct_<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Verifiable for Struct_<'_>

source§

fn run_verifier( +) -> <Struct_<'a> as Follow<'a>>::Inner

Safety Read more
§

impl<'a> PartialEq for Struct_<'a>

§

fn eq(&self, other: &Struct_<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Verifiable for Struct_<'_>

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl<'a> Copy for Struct_<'a>

source§

impl<'a> StructuralPartialEq for Struct_<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Struct_<'a>

§

impl<'a> RefUnwindSafe for Struct_<'a>

§

impl<'a> Send for Struct_<'a>

§

impl<'a> Sync for Struct_<'a>

§

impl<'a> Unpin for Struct_<'a>

§

impl<'a> UnwindSafe for Struct_<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl<'a> Copy for Struct_<'a>

§

impl<'a> StructuralPartialEq for Struct_<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Struct_<'a>

§

impl<'a> RefUnwindSafe for Struct_<'a>

§

impl<'a> Send for Struct_<'a>

§

impl<'a> Sync for Struct_<'a>

§

impl<'a> Unpin for Struct_<'a>

§

impl<'a> UnwindSafe for Struct_<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_Args.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_Args.html index 3307fb097a..8d57d503a2 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_Args.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_Args.html @@ -1,8 +1,8 @@ -Struct_Args in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Struct_Args

source ·
pub struct Struct_Args<'a> {
+Struct_Args in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Struct_Args

pub struct Struct_Args<'a> {
     pub names: Option<WIPOffset<Vector<'a, ForwardsUOffset<&'a str>>>>,
     pub dtypes: Option<WIPOffset<Vector<'a, ForwardsUOffset<DType<'a>>>>>,
     pub nullable: bool,
-}

Fields§

§names: Option<WIPOffset<Vector<'a, ForwardsUOffset<&'a str>>>>§dtypes: Option<WIPOffset<Vector<'a, ForwardsUOffset<DType<'a>>>>>§nullable: bool

Trait Implementations§

source§

impl<'a> Default for Struct_Args<'a>

source§

fn default() -> Struct_Args<'a>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for Struct_Args<'a>

§

impl<'a> RefUnwindSafe for Struct_Args<'a>

§

impl<'a> Send for Struct_Args<'a>

§

impl<'a> Sync for Struct_Args<'a>

§

impl<'a> Unpin for Struct_Args<'a>

§

impl<'a> UnwindSafe for Struct_Args<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +}

Fields§

§names: Option<WIPOffset<Vector<'a, ForwardsUOffset<&'a str>>>>§dtypes: Option<WIPOffset<Vector<'a, ForwardsUOffset<DType<'a>>>>>§nullable: bool

Trait Implementations§

§

impl<'a> Default for Struct_Args<'a>

§

fn default() -> Struct_Args<'a>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for Struct_Args<'a>

§

impl<'a> RefUnwindSafe for Struct_Args<'a>

§

impl<'a> Send for Struct_Args<'a>

§

impl<'a> Sync for Struct_Args<'a>

§

impl<'a> Unpin for Struct_Args<'a>

§

impl<'a> UnwindSafe for Struct_Args<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_Builder.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_Builder.html index 597ae31232..30bd7e70e4 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_Builder.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Struct_Builder.html @@ -1,14 +1,14 @@ -Struct_Builder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Struct_Builder

source ·
pub struct Struct_Builder<'a, 'b, A>
where +Struct_Builder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Struct_Builder

pub struct Struct_Builder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,
{ /* private fields */ }

Implementations§

source§

impl<'a, 'b, A> Struct_Builder<'a, 'b, A>
where + A: Allocator + 'a,
{ /* private fields */ }

Implementations§

§

impl<'a, 'b, A> Struct_Builder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,

source

pub fn add_names( + A: Allocator + 'a,

pub fn add_names( &mut self, names: WIPOffset<Vector<'b, ForwardsUOffset<&'b str>>>, -)

source

pub fn add_dtypes( +)

pub fn add_dtypes( &mut self, dtypes: WIPOffset<Vector<'b, ForwardsUOffset<DType<'b>>>>, -)

source

pub fn add_nullable(&mut self, nullable: bool)

source

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> Struct_Builder<'a, 'b, A>

source

pub fn finish(self) -> WIPOffset<Struct_<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for Struct_Builder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for Struct_Builder<'a, 'b, A>
where +)

pub fn add_nullable(&mut self, nullable: bool)

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> Struct_Builder<'a, 'b, A>

pub fn finish(self) -> WIPOffset<Struct_<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for Struct_Builder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for Struct_Builder<'a, 'b, A>
where A: RefUnwindSafe,

§

impl<'a, 'b, A> Send for Struct_Builder<'a, 'b, A>
where A: Send,

§

impl<'a, 'b, A> Sync for Struct_Builder<'a, 'b, A>
where A: Sync,

§

impl<'a, 'b, A> Unpin for Struct_Builder<'a, 'b, A>

§

impl<'a, 'b, A> !UnwindSafe for Struct_Builder<'a, 'b, A>

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Type.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Type.html index a6faca2eb9..51ea4ba044 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Type.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Type.html @@ -1,19 +1,19 @@ -Type in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Type

source ·
#[repr(transparent)]
pub struct Type(pub u8);

Tuple Fields§

§0: u8

Implementations§

source§

impl Type

source

pub const NONE: Type = _

source

pub const Null: Type = _

source

pub const Bool: Type = _

source

pub const Primitive: Type = _

source

pub const Decimal: Type = _

source

pub const Utf8: Type = _

source

pub const Binary: Type = _

source

pub const Struct_: Type = _

source

pub const List: Type = _

source

pub const Extension: Type = _

source

pub const ENUM_MIN: u8 = 0u8

source

pub const ENUM_MAX: u8 = 9u8

source

pub const ENUM_VALUES: &'static [Type] = _

source

pub fn variant_name(self) -> Option<&'static str>

Returns the variant’s name or “” if unknown.

-

Trait Implementations§

source§

impl Clone for Type

source§

fn clone(&self) -> Type

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Type

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Type

source§

fn default() -> Type

Returns the “default value” for a type. Read more
source§

impl EndianScalar for Type

source§

impl<'a> Follow<'a> for Type

source§

type Inner = Type

source§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <Type as Follow<'a>>::Inner

Safety Read more
source§

impl Hash for Type

source§

fn hash<__H>(&self, state: &mut __H)
where +Type in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Type

#[repr(transparent)]
pub struct Type(pub u8);

Tuple Fields§

§0: u8

Implementations§

§

impl Type

pub const NONE: Type = _

pub const Null: Type = _

pub const Bool: Type = _

pub const Primitive: Type = _

pub const Decimal: Type = _

pub const Utf8: Type = _

pub const Binary: Type = _

pub const Struct_: Type = _

pub const List: Type = _

pub const Extension: Type = _

pub const ENUM_MIN: u8 = 0u8

pub const ENUM_MAX: u8 = 9u8

pub const ENUM_VALUES: &'static [Type] = _

pub fn variant_name(self) -> Option<&'static str>

Returns the variant’s name or “” if unknown.

+

Trait Implementations§

§

impl Clone for Type

§

fn clone(&self) -> Type

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Type

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Type

§

fn default() -> Type

Returns the “default value” for a type. Read more
§

impl EndianScalar for Type

§

impl<'a> Follow<'a> for Type

§

type Inner = Type

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <Type as Follow<'a>>::Inner

Safety Read more
§

impl Hash for Type

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Type

source§

fn cmp(&self, other: &Type) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for Type

§

fn cmp(&self, other: &Type) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for Type

source§

fn eq(&self, other: &Type) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialOrd for Type

source§

fn partial_cmp(&self, other: &Type) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Type

§

fn eq(&self, other: &Type) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for Type

§

fn partial_cmp(&self, other: &Type) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl Push for Type

source§

type Output = Type

source§

unsafe fn push(&self, dst: &mut [u8], _written_len: usize)

Safety Read more
§

fn size() -> usize

§

fn alignment() -> PushAlignment

source§

impl<'a> Verifiable for Type

source§

fn run_verifier( +the >= operator. Read more

§

impl Push for Type

§

type Output = Type

§

unsafe fn push(&self, dst: &mut [u8], _written_len: usize)

Safety Read more
§

fn size() -> usize

§

fn alignment() -> PushAlignment

§

impl<'a> Verifiable for Type

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl Copy for Type

source§

impl Eq for Type

source§

impl SimpleToVerifyInSlice for Type

source§

impl StructuralPartialEq for Type

Auto Trait Implementations§

§

impl Freeze for Type

§

impl RefUnwindSafe for Type

§

impl Send for Type

§

impl Sync for Type

§

impl Unpin for Type

§

impl UnwindSafe for Type

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl Copy for Type

§

impl Eq for Type

§

impl SimpleToVerifyInSlice for Type

§

impl StructuralPartialEq for Type

Auto Trait Implementations§

§

impl Freeze for Type

§

impl RefUnwindSafe for Type

§

impl Send for Type

§

impl Sync for Type

§

impl Unpin for Type

§

impl UnwindSafe for Type

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.TypeUnionTableOffset.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.TypeUnionTableOffset.html index 99e08dbf9f..d2f9e06933 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.TypeUnionTableOffset.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.TypeUnionTableOffset.html @@ -1,4 +1,4 @@ -TypeUnionTableOffset in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::TypeUnionTableOffset

source ·
pub struct TypeUnionTableOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +TypeUnionTableOffset in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::TypeUnionTableOffset

pub struct TypeUnionTableOffset {}

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8.html index 6410fec591..4f7aded1ff 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8.html @@ -1,17 +1,17 @@ -Utf8 in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Utf8

source ·
pub struct Utf8<'a> {
+Utf8 in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Utf8

pub struct Utf8<'a> {
     pub _tab: Table<'a>,
-}

Fields§

§_tab: Table<'a>

Implementations§

source§

impl<'a> Utf8<'a>

source

pub const VT_NULLABLE: u16 = 4u16

source

pub unsafe fn init_from_table(table: Table<'a>) -> Utf8<'a>

source

pub fn create<'bldr, 'args, 'mut_bldr, A>( +}

Fields§

§_tab: Table<'a>

Implementations§

§

impl<'a> Utf8<'a>

pub const VT_NULLABLE: u16 = 4u16

pub unsafe fn init_from_table(table: Table<'a>) -> Utf8<'a>

pub fn create<'bldr, 'args, 'mut_bldr, A>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args Utf8Args, ) -> WIPOffset<Utf8<'bldr>>
where 'bldr: 'args, 'args: 'mut_bldr, - A: Allocator + 'bldr,

source

pub fn nullable(&self) -> bool

Trait Implementations§

source§

impl<'a> Clone for Utf8<'a>

source§

fn clone(&self) -> Utf8<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Utf8<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'a> Follow<'a> for Utf8<'a>

source§

type Inner = Utf8<'a>

source§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <Utf8<'a> as Follow<'a>>::Inner

Safety Read more
source§

impl<'a> PartialEq for Utf8<'a>

source§

fn eq(&self, other: &Utf8<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Verifiable for Utf8<'_>

source§

fn run_verifier( + A: Allocator + 'bldr,

pub fn nullable(&self) -> bool

Trait Implementations§

§

impl<'a> Clone for Utf8<'a>

§

fn clone(&self) -> Utf8<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Utf8<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl<'a> Follow<'a> for Utf8<'a>

§

type Inner = Utf8<'a>

§

unsafe fn follow(buf: &'a [u8], loc: usize) -> <Utf8<'a> as Follow<'a>>::Inner

Safety Read more
§

impl<'a> PartialEq for Utf8<'a>

§

fn eq(&self, other: &Utf8<'a>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Verifiable for Utf8<'_>

§

fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>

Runs the verifier for this type, assuming its at position pos in the verifier’s buffer. -Should not need to be called directly.
source§

impl<'a> Copy for Utf8<'a>

source§

impl<'a> StructuralPartialEq for Utf8<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Utf8<'a>

§

impl<'a> RefUnwindSafe for Utf8<'a>

§

impl<'a> Send for Utf8<'a>

§

impl<'a> Sync for Utf8<'a>

§

impl<'a> Unpin for Utf8<'a>

§

impl<'a> UnwindSafe for Utf8<'a>

Blanket Implementations§

source§

impl<T> Any for T
where +Should not need to be called directly.

§

impl<'a> Copy for Utf8<'a>

§

impl<'a> StructuralPartialEq for Utf8<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Utf8<'a>

§

impl<'a> RefUnwindSafe for Utf8<'a>

§

impl<'a> Send for Utf8<'a>

§

impl<'a> Sync for Utf8<'a>

§

impl<'a> Unpin for Utf8<'a>

§

impl<'a> UnwindSafe for Utf8<'a>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8Args.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8Args.html index 033b94b6e6..18acf1d4a9 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8Args.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8Args.html @@ -1,6 +1,6 @@ -Utf8Args in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Utf8Args

source ·
pub struct Utf8Args {
+Utf8Args in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Utf8Args

pub struct Utf8Args {
     pub nullable: bool,
-}

Fields§

§nullable: bool

Trait Implementations§

source§

impl<'a> Default for Utf8Args

source§

fn default() -> Utf8Args

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +}

Fields§

§nullable: bool

Trait Implementations§

§

impl<'a> Default for Utf8Args

§

fn default() -> Utf8Args

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8Builder.html b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8Builder.html index 217ef9d323..0fe9e54c98 100644 --- a/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8Builder.html +++ b/docs/rust/doc/vortex_dtype/flatbuffers/struct.Utf8Builder.html @@ -1,8 +1,8 @@ -Utf8Builder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Utf8Builder

source ·
pub struct Utf8Builder<'a, 'b, A>
where +Utf8Builder in vortex_dtype::flatbuffers - Rust

Struct vortex_dtype::flatbuffers::Utf8Builder

pub struct Utf8Builder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,
{ /* private fields */ }

Implementations§

source§

impl<'a, 'b, A> Utf8Builder<'a, 'b, A>
where + A: Allocator + 'a,
{ /* private fields */ }

Implementations§

§

impl<'a, 'b, A> Utf8Builder<'a, 'b, A>
where 'a: 'b, - A: Allocator + 'a,

source

pub fn add_nullable(&mut self, nullable: bool)

source

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> Utf8Builder<'a, 'b, A>

source

pub fn finish(self) -> WIPOffset<Utf8<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for Utf8Builder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for Utf8Builder<'a, 'b, A>
where + A: Allocator + 'a,

pub fn add_nullable(&mut self, nullable: bool)

pub fn new(_fbb: &'b mut FlatBufferBuilder<'a, A>) -> Utf8Builder<'a, 'b, A>

pub fn finish(self) -> WIPOffset<Utf8<'a>>

Auto Trait Implementations§

§

impl<'a, 'b, A> Freeze for Utf8Builder<'a, 'b, A>

§

impl<'a, 'b, A> RefUnwindSafe for Utf8Builder<'a, 'b, A>
where A: RefUnwindSafe,

§

impl<'a, 'b, A> Send for Utf8Builder<'a, 'b, A>
where A: Send,

§

impl<'a, 'b, A> Sync for Utf8Builder<'a, 'b, A>
where A: Sync,

§

impl<'a, 'b, A> Unpin for Utf8Builder<'a, 'b, A>

§

impl<'a, 'b, A> !UnwindSafe for Utf8Builder<'a, 'b, A>

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/d_type/enum.DtypeType.html b/docs/rust/doc/vortex_dtype/proto/dtype/d_type/enum.DtypeType.html index ce44b6837b..31f4681775 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/d_type/enum.DtypeType.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/d_type/enum.DtypeType.html @@ -1,4 +1,4 @@ -DtypeType in vortex_dtype::proto::dtype::d_type - Rust

Enum vortex_dtype::proto::dtype::d_type::DtypeType

source ·
pub enum DtypeType {
+DtypeType in vortex_dtype::proto::dtype::d_type - Rust

Enum vortex_dtype::proto::dtype::d_type::DtypeType

pub enum DtypeType {
     Null(Null),
     Bool(Bool),
     Primitive(Primitive),
@@ -8,17 +8,17 @@
     Struct(Struct),
     List(Box<List>),
     Extension(Box<Extension>),
-}

Variants§

§

Null(Null)

§

Bool(Bool)

§

Primitive(Primitive)

§

Decimal(Decimal)

§

Utf8(Utf8)

§

Binary(Binary)

§

Struct(Struct)

§

List(Box<List>)

§

Extension(Box<Extension>)

Implementations§

source§

impl DtypeType

source

pub fn encode(&self, buf: &mut impl BufMut)

Encodes the message to a buffer.

-
source

pub fn merge( +}

Variants§

§

Null(Null)

§

Bool(Bool)

§

Primitive(Primitive)

§

Decimal(Decimal)

§

Utf8(Utf8)

§

Binary(Binary)

§

Struct(Struct)

§

List(Box<List>)

§

Extension(Box<Extension>)

Implementations§

§

impl DtypeType

pub fn encode(&self, buf: &mut impl BufMut)

Encodes the message to a buffer.

+

pub fn merge( field: &mut Option<DtypeType>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>

Decodes an instance of the message from a buffer, and merges it into self.

-
source

pub fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.

-

Trait Implementations§

source§

impl Clone for DtypeType

source§

fn clone(&self) -> DtypeType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DtypeType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl PartialEq for DtypeType

source§

fn eq(&self, other: &DtypeType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl StructuralPartialEq for DtypeType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

pub fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.

+

Trait Implementations§

§

impl Clone for DtypeType

§

fn clone(&self) -> DtypeType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for DtypeType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl PartialEq for DtypeType

§

fn eq(&self, other: &DtypeType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl StructuralPartialEq for DtypeType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/d_type/index.html b/docs/rust/doc/vortex_dtype/proto/dtype/d_type/index.html index 979db48b4c..02461afbb9 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/d_type/index.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/d_type/index.html @@ -1,2 +1,2 @@ -vortex_dtype::proto::dtype::d_type - Rust

Module vortex_dtype::proto::dtype::d_type

source ·
Expand description

Nested message and enum types in DType.

+vortex_dtype::proto::dtype::d_type - Rust

Module vortex_dtype::proto::dtype::d_type

Expand description

Nested message and enum types in DType.

Enums§

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/enum.PType.html b/docs/rust/doc/vortex_dtype/proto/dtype/enum.PType.html index a761a03caf..4fed4406d1 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/enum.PType.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/enum.PType.html @@ -1,4 +1,4 @@ -PType in vortex_dtype::proto::dtype - Rust

Enum vortex_dtype::proto::dtype::PType

source ·
#[repr(i32)]
pub enum PType { +PType in vortex_dtype::proto::dtype - Rust

Enum vortex_dtype::proto::dtype::PType

#[repr(i32)]
pub enum PType { U8 = 0, U16 = 1, U32 = 2, @@ -10,23 +10,23 @@ F16 = 8, F32 = 9, F64 = 10, -}

Variants§

§

U8 = 0

§

U16 = 1

§

U32 = 2

§

U64 = 3

§

I8 = 4

§

I16 = 5

§

I32 = 6

§

I64 = 7

§

F16 = 8

§

F32 = 9

§

F64 = 10

Implementations§

source§

impl PType

source

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of PType.

-
source

pub fn from_i32(value: i32) -> Option<PType>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a PType, or None if value is not a valid variant.

-
source§

impl PType

source

pub fn as_str_name(&self) -> &'static str

String value of the enum field names used in the ProtoBuf definition.

+}

Variants§

§

U8 = 0

§

U16 = 1

§

U32 = 2

§

U64 = 3

§

I8 = 4

§

I16 = 5

§

I32 = 6

§

I64 = 7

§

F16 = 8

§

F32 = 9

§

F64 = 10

Implementations§

§

impl PType

pub fn is_valid(value: i32) -> bool

Returns true if value is a variant of PType.

+

pub fn from_i32(value: i32) -> Option<PType>

👎Deprecated: Use the TryFrom<i32> implementation instead

Converts an i32 to a PType, or None if value is not a valid variant.

+
§

impl PType

pub fn as_str_name(&self) -> &'static str

String value of the enum field names used in the ProtoBuf definition.

The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.

-
source

pub fn from_str_name(value: &str) -> Option<PType>

Creates an enum from field names used in the ProtoBuf definition.

-

Trait Implementations§

source§

impl Clone for PType

source§

fn clone(&self) -> PType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for PType

source§

fn default() -> PType

Returns the “default value” for a type. Read more
source§

impl From<PType> for PType

source§

fn from(value: PType) -> Self

Converts to this type from the input type.
source§

impl From<PType> for PType

source§

fn from(value: PType) -> Self

Converts to this type from the input type.
source§

impl Hash for PType

source§

fn hash<__H>(&self, state: &mut __H)
where +

pub fn from_str_name(value: &str) -> Option<PType>

Creates an enum from field names used in the ProtoBuf definition.

+

Trait Implementations§

§

impl Clone for PType

§

fn clone(&self) -> PType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for PType

§

fn default() -> PType

Returns the “default value” for a type. Read more
source§

impl From<PType> for PType

source§

fn from(value: PType) -> Self

Converts to this type from the input type.
source§

impl From<PType> for PType

source§

fn from(value: PType) -> Self

Converts to this type from the input type.
§

impl Hash for PType

§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for PType

source§

fn cmp(&self, other: &PType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for PType

§

fn cmp(&self, other: &PType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for PType

source§

fn eq(&self, other: &PType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl PartialOrd for PType

source§

fn partial_cmp(&self, other: &PType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the + Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more

§

impl PartialEq for PType

§

fn eq(&self, other: &PType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for PType

§

fn partial_cmp(&self, other: &PType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
source§

impl TryFrom<i32> for PType

source§

type Error = UnknownEnumValue

The type returned in the event of a conversion error.
source§

fn try_from(value: i32) -> Result<PType, UnknownEnumValue>

Performs the conversion.
source§

impl Copy for PType

source§

impl Eq for PType

source§

impl StructuralPartialEq for PType

Auto Trait Implementations§

§

impl Freeze for PType

§

impl RefUnwindSafe for PType

§

impl Send for PType

§

impl Sync for PType

§

impl Unpin for PType

§

impl UnwindSafe for PType

Blanket Implementations§

source§

impl<T> Any for T
where +the >= operator. Read more

§

impl TryFrom<i32> for PType

§

type Error = UnknownEnumValue

The type returned in the event of a conversion error.
§

fn try_from(value: i32) -> Result<PType, UnknownEnumValue>

Performs the conversion.
§

impl Copy for PType

§

impl Eq for PType

§

impl StructuralPartialEq for PType

Auto Trait Implementations§

§

impl Freeze for PType

§

impl RefUnwindSafe for PType

§

impl Send for PType

§

impl Sync for PType

§

impl Unpin for PType

§

impl UnwindSafe for PType

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/field/enum.FieldType.html b/docs/rust/doc/vortex_dtype/proto/dtype/field/enum.FieldType.html index b45ad98cef..24511e6a75 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/field/enum.FieldType.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/field/enum.FieldType.html @@ -1,17 +1,17 @@ -FieldType in vortex_dtype::proto::dtype::field - Rust

Enum vortex_dtype::proto::dtype::field::FieldType

source ·
pub enum FieldType {
+FieldType in vortex_dtype::proto::dtype::field - Rust

Enum vortex_dtype::proto::dtype::field::FieldType

pub enum FieldType {
     Name(String),
     Index(u64),
-}

Variants§

§

Name(String)

§

Index(u64)

Implementations§

source§

impl FieldType

source

pub fn encode(&self, buf: &mut impl BufMut)

Encodes the message to a buffer.

-
source

pub fn merge( +}

Variants§

§

Name(String)

§

Index(u64)

Implementations§

§

impl FieldType

pub fn encode(&self, buf: &mut impl BufMut)

Encodes the message to a buffer.

+

pub fn merge( field: &mut Option<FieldType>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>

Decodes an instance of the message from a buffer, and merges it into self.

-
source

pub fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.

-

Trait Implementations§

source§

impl Clone for FieldType

source§

fn clone(&self) -> FieldType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FieldType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl PartialEq for FieldType

source§

fn eq(&self, other: &FieldType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl StructuralPartialEq for FieldType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +

pub fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.

+

Trait Implementations§

§

impl Clone for FieldType

§

fn clone(&self) -> FieldType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for FieldType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl PartialEq for FieldType

§

fn eq(&self, other: &FieldType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl StructuralPartialEq for FieldType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/field/index.html b/docs/rust/doc/vortex_dtype/proto/dtype/field/index.html index 7a80fc9a97..1c017c4d7d 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/field/index.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/field/index.html @@ -1,2 +1,2 @@ -vortex_dtype::proto::dtype::field - Rust

Module vortex_dtype::proto::dtype::field

source ·
Expand description

Nested message and enum types in Field.

+vortex_dtype::proto::dtype::field - Rust

Module vortex_dtype::proto::dtype::field

Expand description

Nested message and enum types in Field.

Enums§

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/index.html b/docs/rust/doc/vortex_dtype/proto/dtype/index.html index ca1cf54d15..f0e6845d70 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/index.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/index.html @@ -1 +1 @@ -vortex_dtype::proto::dtype - Rust

Module vortex_dtype::proto::dtype

source ·

Modules§

  • Nested message and enum types in DType.
  • Nested message and enum types in Field.

Structs§

Enums§

\ No newline at end of file +vortex_dtype::proto::dtype - Rust

Module vortex_dtype::proto::dtype

Modules§

  • Nested message and enum types in DType.
  • Nested message and enum types in Field.

Structs§

Enums§

\ No newline at end of file diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Binary.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Binary.html index 66c0198d46..308d3c85b2 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Binary.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Binary.html @@ -1,6 +1,6 @@ -Binary in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Binary

source ·
pub struct Binary {
+Binary in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Binary

pub struct Binary {
     pub nullable: bool,
-}

Fields§

§nullable: bool

Trait Implementations§

source§

impl Clone for Binary

source§

fn clone(&self) -> Binary

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Binary

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Binary

source§

fn default() -> Binary

Returns the “default value” for a type. Read more
source§

impl Message for Binary

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +}

Fields§

§nullable: bool

Trait Implementations§

§

impl Clone for Binary

§

fn clone(&self) -> Binary

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Binary

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Binary

§

fn default() -> Binary

Returns the “default value” for a type. Read more
§

impl Message for Binary

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -12,8 +12,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.
source§

impl PartialEq for Binary

source§

fn eq(&self, other: &Binary) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Copy for Binary

source§

impl StructuralPartialEq for Binary

Auto Trait Implementations§

§

impl Freeze for Binary

§

impl RefUnwindSafe for Binary

§

impl Send for Binary

§

impl Sync for Binary

§

impl Unpin for Binary

§

impl UnwindSafe for Binary

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for Binary

§

fn eq(&self, other: &Binary) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Copy for Binary

§

impl StructuralPartialEq for Binary

Auto Trait Implementations§

§

impl Freeze for Binary

§

impl RefUnwindSafe for Binary

§

impl Send for Binary

§

impl Sync for Binary

§

impl Unpin for Binary

§

impl UnwindSafe for Binary

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Bool.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Bool.html index 98d98ec345..4fc7df6ff7 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Bool.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Bool.html @@ -1,6 +1,6 @@ -Bool in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Bool

source ·
pub struct Bool {
+Bool in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Bool

pub struct Bool {
     pub nullable: bool,
-}

Fields§

§nullable: bool

Trait Implementations§

source§

impl Clone for Bool

source§

fn clone(&self) -> Bool

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Bool

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Bool

source§

fn default() -> Bool

Returns the “default value” for a type. Read more
source§

impl Message for Bool

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +}

Fields§

§nullable: bool

Trait Implementations§

§

impl Clone for Bool

§

fn clone(&self) -> Bool

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Bool

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Bool

§

fn default() -> Bool

Returns the “default value” for a type. Read more
§

impl Message for Bool

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -12,8 +12,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.

source§

impl PartialEq for Bool

source§

fn eq(&self, other: &Bool) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Copy for Bool

source§

impl StructuralPartialEq for Bool

Auto Trait Implementations§

§

impl Freeze for Bool

§

impl RefUnwindSafe for Bool

§

impl Send for Bool

§

impl Sync for Bool

§

impl Unpin for Bool

§

impl UnwindSafe for Bool

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for Bool

§

fn eq(&self, other: &Bool) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Copy for Bool

§

impl StructuralPartialEq for Bool

Auto Trait Implementations§

§

impl Freeze for Bool

§

impl RefUnwindSafe for Bool

§

impl Send for Bool

§

impl Sync for Bool

§

impl Unpin for Bool

§

impl UnwindSafe for Bool

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.DType.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.DType.html index faf460d128..0c65bbb4f3 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.DType.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.DType.html @@ -1,6 +1,6 @@ -DType in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::DType

source ·
pub struct DType {
+DType in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::DType

pub struct DType {
     pub dtype_type: Option<DtypeType>,
-}

Fields§

§dtype_type: Option<DtypeType>

Trait Implementations§

source§

impl Clone for DType

source§

fn clone(&self) -> DType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for DType

source§

fn default() -> DType

Returns the “default value” for a type. Read more
source§

impl From<&DType> for DType

source§

fn from(value: &DType) -> Self

Converts to this type from the input type.
source§

impl Message for DType

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +}

Fields§

§dtype_type: Option<DtypeType>

Trait Implementations§

§

impl Clone for DType

§

fn clone(&self) -> DType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for DType

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for DType

§

fn default() -> DType

Returns the “default value” for a type. Read more
source§

impl From<&DType> for DType

source§

fn from(value: &DType) -> Self

Converts to this type from the input type.
§

impl Message for DType

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -12,8 +12,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.
source§

impl PartialEq for DType

source§

fn eq(&self, other: &DType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl TryFrom<&DType> for DType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &DType) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl StructuralPartialEq for DType

Auto Trait Implementations§

§

impl Freeze for DType

§

impl RefUnwindSafe for DType

§

impl Send for DType

§

impl Sync for DType

§

impl Unpin for DType

§

impl UnwindSafe for DType

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for DType

§

fn eq(&self, other: &DType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl TryFrom<&DType> for DType

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &DType) -> Result<Self, Self::Error>

Performs the conversion.
§

impl StructuralPartialEq for DType

Auto Trait Implementations§

§

impl Freeze for DType

§

impl RefUnwindSafe for DType

§

impl Send for DType

§

impl Sync for DType

§

impl Unpin for DType

§

impl UnwindSafe for DType

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Decimal.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Decimal.html index 8a14b14cec..77bffbd17c 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Decimal.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Decimal.html @@ -1,8 +1,8 @@ -Decimal in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Decimal

source ·
pub struct Decimal {
+Decimal in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Decimal

pub struct Decimal {
     pub precision: u32,
     pub scale: u32,
     pub nullable: bool,
-}

Fields§

§precision: u32§scale: u32§nullable: bool

Trait Implementations§

source§

impl Clone for Decimal

source§

fn clone(&self) -> Decimal

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Decimal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Decimal

source§

fn default() -> Decimal

Returns the “default value” for a type. Read more
source§

impl Message for Decimal

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +}

Fields§

§precision: u32§scale: u32§nullable: bool

Trait Implementations§

§

impl Clone for Decimal

§

fn clone(&self) -> Decimal

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Decimal

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Decimal

§

fn default() -> Decimal

Returns the “default value” for a type. Read more
§

impl Message for Decimal

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -14,8 +14,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.
source§

impl PartialEq for Decimal

source§

fn eq(&self, other: &Decimal) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Copy for Decimal

source§

impl StructuralPartialEq for Decimal

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for Decimal

§

fn eq(&self, other: &Decimal) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Copy for Decimal

§

impl StructuralPartialEq for Decimal

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Extension.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Extension.html index 8156d0917c..404226d392 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Extension.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Extension.html @@ -1,9 +1,9 @@ -Extension in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Extension

source ·
pub struct Extension {
+Extension in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Extension

pub struct Extension {
     pub id: String,
     pub storage_dtype: Option<Box<DType>>,
     pub metadata: Option<Vec<u8>>,
-}

Fields§

§id: String§storage_dtype: Option<Box<DType>>§metadata: Option<Vec<u8>>

Implementations§

source§

impl Extension

source

pub fn metadata(&self) -> &[u8]

Returns the value of metadata, or the default value if metadata is unset.

-

Trait Implementations§

source§

impl Clone for Extension

source§

fn clone(&self) -> Extension

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Extension

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Extension

source§

fn default() -> Extension

Returns the “default value” for a type. Read more
source§

impl Message for Extension

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +}

Fields§

§id: String§storage_dtype: Option<Box<DType>>§metadata: Option<Vec<u8>>

Implementations§

§

impl Extension

pub fn metadata(&self) -> &[u8]

Returns the value of metadata, or the default value if metadata is unset.

+

Trait Implementations§

§

impl Clone for Extension

§

fn clone(&self) -> Extension

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Extension

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Extension

§

fn default() -> Extension

Returns the “default value” for a type. Read more
§

impl Message for Extension

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -15,8 +15,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.
source§

impl PartialEq for Extension

source§

fn eq(&self, other: &Extension) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Extension

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for Extension

§

fn eq(&self, other: &Extension) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl StructuralPartialEq for Extension

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Field.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Field.html index 8bd7e40a70..2fa8dd0dad 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Field.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Field.html @@ -1,6 +1,6 @@ -Field in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Field

source ·
pub struct Field {
+Field in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Field

pub struct Field {
     pub field_type: Option<FieldType>,
-}

Fields§

§field_type: Option<FieldType>

Trait Implementations§

source§

impl Clone for Field

source§

fn clone(&self) -> Field

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Field

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Field

source§

fn default() -> Field

Returns the “default value” for a type. Read more
source§

impl Message for Field

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +}

Fields§

§field_type: Option<FieldType>

Trait Implementations§

§

impl Clone for Field

§

fn clone(&self) -> Field

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Field

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Field

§

fn default() -> Field

Returns the “default value” for a type. Read more
§

impl Message for Field

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -12,8 +12,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.
source§

impl PartialEq for Field

source§

fn eq(&self, other: &Field) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Field

Auto Trait Implementations§

§

impl Freeze for Field

§

impl RefUnwindSafe for Field

§

impl Send for Field

§

impl Sync for Field

§

impl Unpin for Field

§

impl UnwindSafe for Field

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for Field

§

fn eq(&self, other: &Field) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl StructuralPartialEq for Field

Auto Trait Implementations§

§

impl Freeze for Field

§

impl RefUnwindSafe for Field

§

impl Send for Field

§

impl Sync for Field

§

impl Unpin for Field

§

impl UnwindSafe for Field

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.FieldPath.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.FieldPath.html index 2acfc23d9e..26ce2e9754 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.FieldPath.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.FieldPath.html @@ -1,6 +1,6 @@ -FieldPath in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::FieldPath

source ·
pub struct FieldPath {
+FieldPath in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::FieldPath

pub struct FieldPath {
     pub path: Vec<Field>,
-}

Fields§

§path: Vec<Field>

Trait Implementations§

source§

impl Clone for FieldPath

source§

fn clone(&self) -> FieldPath

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FieldPath

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for FieldPath

source§

fn default() -> FieldPath

Returns the “default value” for a type. Read more
source§

impl Message for FieldPath

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +}

Fields§

§path: Vec<Field>

Trait Implementations§

§

impl Clone for FieldPath

§

fn clone(&self) -> FieldPath

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for FieldPath

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for FieldPath

§

fn default() -> FieldPath

Returns the “default value” for a type. Read more
§

impl Message for FieldPath

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -12,8 +12,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.
source§

impl PartialEq for FieldPath

source§

fn eq(&self, other: &FieldPath) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl TryFrom<&FieldPath> for FieldPath

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &FieldPath) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl StructuralPartialEq for FieldPath

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for FieldPath

§

fn eq(&self, other: &FieldPath) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl TryFrom<&FieldPath> for FieldPath

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(value: &FieldPath) -> Result<Self, Self::Error>

Performs the conversion.
§

impl StructuralPartialEq for FieldPath

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.List.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.List.html index dbb459c371..6ce362a4a0 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.List.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.List.html @@ -1,7 +1,7 @@ -List in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::List

source ·
pub struct List {
+List in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::List

pub struct List {
     pub element_type: Option<Box<DType>>,
     pub nullable: bool,
-}

Fields§

§element_type: Option<Box<DType>>§nullable: bool

Trait Implementations§

source§

impl Clone for List

source§

fn clone(&self) -> List

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for List

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for List

source§

fn default() -> List

Returns the “default value” for a type. Read more
source§

impl Message for List

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +}

Fields§

§element_type: Option<Box<DType>>§nullable: bool

Trait Implementations§

§

impl Clone for List

§

fn clone(&self) -> List

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for List

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for List

§

fn default() -> List

Returns the “default value” for a type. Read more
§

impl Message for List

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -13,8 +13,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.
source§

impl PartialEq for List

source§

fn eq(&self, other: &List) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl StructuralPartialEq for List

Auto Trait Implementations§

§

impl Freeze for List

§

impl RefUnwindSafe for List

§

impl Send for List

§

impl Sync for List

§

impl Unpin for List

§

impl UnwindSafe for List

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for List

§

fn eq(&self, other: &List) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl StructuralPartialEq for List

Auto Trait Implementations§

§

impl Freeze for List

§

impl RefUnwindSafe for List

§

impl Send for List

§

impl Sync for List

§

impl Unpin for List

§

impl UnwindSafe for List

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Null.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Null.html index 410e794c18..fd02dee8f9 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Null.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Null.html @@ -1,4 +1,4 @@ -Null in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Null

source ·
pub struct Null {}

Trait Implementations§

source§

impl Clone for Null

source§

fn clone(&self) -> Null

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Null

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Null

source§

fn default() -> Null

Returns the “default value” for a type. Read more
source§

impl Message for Null

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +Null in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Null

pub struct Null {}

Trait Implementations§

§

impl Clone for Null

§

fn clone(&self) -> Null

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Null

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Null

§

fn default() -> Null

Returns the “default value” for a type. Read more
§

impl Message for Null

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -10,8 +10,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.
source§

impl PartialEq for Null

source§

fn eq(&self, other: &Null) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Copy for Null

source§

impl StructuralPartialEq for Null

Auto Trait Implementations§

§

impl Freeze for Null

§

impl RefUnwindSafe for Null

§

impl Send for Null

§

impl Sync for Null

§

impl Unpin for Null

§

impl UnwindSafe for Null

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for Null

§

fn eq(&self, other: &Null) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Copy for Null

§

impl StructuralPartialEq for Null

Auto Trait Implementations§

§

impl Freeze for Null

§

impl RefUnwindSafe for Null

§

impl Send for Null

§

impl Sync for Null

§

impl Unpin for Null

§

impl UnwindSafe for Null

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Primitive.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Primitive.html index 860fea26bd..268009a9fb 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Primitive.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Primitive.html @@ -1,9 +1,9 @@ -Primitive in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Primitive

source ·
pub struct Primitive {
+Primitive in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Primitive

pub struct Primitive {
     pub type: i32,
     pub nullable: bool,
-}

Fields§

§type: i32§nullable: bool

Implementations§

source§

impl Primitive

source

pub fn type(&self) -> PType

Returns the enum value of type, or the default if the field is set to an invalid enum value.

-
source

pub fn set_type(&mut self, value: PType)

Sets type to the provided enum value.

-

Trait Implementations§

source§

impl Clone for Primitive

source§

fn clone(&self) -> Primitive

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Primitive

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Primitive

source§

fn default() -> Primitive

Returns the “default value” for a type. Read more
source§

impl Message for Primitive

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +}

Fields§

§type: i32§nullable: bool

Implementations§

§

impl Primitive

pub fn type(&self) -> PType

Returns the enum value of type, or the default if the field is set to an invalid enum value.

+

pub fn set_type(&mut self, value: PType)

Sets type to the provided enum value.

+

Trait Implementations§

§

impl Clone for Primitive

§

fn clone(&self) -> Primitive

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Primitive

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Primitive

§

fn default() -> Primitive

Returns the “default value” for a type. Read more
§

impl Message for Primitive

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -15,8 +15,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.
source§

impl PartialEq for Primitive

source§

fn eq(&self, other: &Primitive) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Copy for Primitive

source§

impl StructuralPartialEq for Primitive

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for Primitive

§

fn eq(&self, other: &Primitive) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Copy for Primitive

§

impl StructuralPartialEq for Primitive

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Struct.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Struct.html index 5b00109f71..3b21613e20 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Struct.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Struct.html @@ -1,8 +1,8 @@ -Struct in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Struct

source ·
pub struct Struct {
+Struct in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Struct

pub struct Struct {
     pub names: Vec<String>,
     pub dtypes: Vec<DType>,
     pub nullable: bool,
-}

Fields§

§names: Vec<String>§dtypes: Vec<DType>§nullable: bool

Trait Implementations§

source§

impl Clone for Struct

source§

fn clone(&self) -> Struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Struct

source§

fn default() -> Struct

Returns the “default value” for a type. Read more
source§

impl Message for Struct

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +}

Fields§

§names: Vec<String>§dtypes: Vec<DType>§nullable: bool

Trait Implementations§

§

impl Clone for Struct

§

fn clone(&self) -> Struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Struct

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Struct

§

fn default() -> Struct

Returns the “default value” for a type. Read more
§

impl Message for Struct

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -14,8 +14,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.
source§

impl PartialEq for Struct

source§

fn eq(&self, other: &Struct) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Struct

Auto Trait Implementations§

§

impl Freeze for Struct

§

impl RefUnwindSafe for Struct

§

impl Send for Struct

§

impl Sync for Struct

§

impl Unpin for Struct

§

impl UnwindSafe for Struct

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for Struct

§

fn eq(&self, other: &Struct) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl StructuralPartialEq for Struct

Auto Trait Implementations§

§

impl Freeze for Struct

§

impl RefUnwindSafe for Struct

§

impl Send for Struct

§

impl Sync for Struct

§

impl Unpin for Struct

§

impl UnwindSafe for Struct

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Utf8.html b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Utf8.html index 3a062df8b1..0b3e06eb91 100644 --- a/docs/rust/doc/vortex_dtype/proto/dtype/struct.Utf8.html +++ b/docs/rust/doc/vortex_dtype/proto/dtype/struct.Utf8.html @@ -1,6 +1,6 @@ -Utf8 in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Utf8

source ·
pub struct Utf8 {
+Utf8 in vortex_dtype::proto::dtype - Rust

Struct vortex_dtype::proto::dtype::Utf8

pub struct Utf8 {
     pub nullable: bool,
-}

Fields§

§nullable: bool

Trait Implementations§

source§

impl Clone for Utf8

source§

fn clone(&self) -> Utf8

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Utf8

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for Utf8

source§

fn default() -> Utf8

Returns the “default value” for a type. Read more
source§

impl Message for Utf8

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where +}

Fields§

§nullable: bool

Trait Implementations§

§

impl Clone for Utf8

§

fn clone(&self) -> Utf8

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Utf8

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Utf8

§

fn default() -> Utf8

Returns the “default value” for a type. Read more
§

impl Message for Utf8

§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited( &self, @@ -12,8 +12,8 @@ Self: Default,

Decodes a length-delimited instance of the message from the buffer.
source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and -merges it into self.
source§

impl PartialEq for Utf8

source§

fn eq(&self, other: &Utf8) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Copy for Utf8

source§

impl StructuralPartialEq for Utf8

Auto Trait Implementations§

§

impl Freeze for Utf8

§

impl RefUnwindSafe for Utf8

§

impl Send for Utf8

§

impl Sync for Utf8

§

impl Unpin for Utf8

§

impl UnwindSafe for Utf8

Blanket Implementations§

source§

impl<T> Any for T
where +merges it into self.

§

impl PartialEq for Utf8

§

fn eq(&self, other: &Utf8) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Copy for Utf8

§

impl StructuralPartialEq for Utf8

Auto Trait Implementations§

§

impl Freeze for Utf8

§

impl RefUnwindSafe for Utf8

§

impl Send for Utf8

§

impl Sync for Utf8

§

impl Unpin for Utf8

§

impl UnwindSafe for Utf8

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_dtype/struct.StructDType.html b/docs/rust/doc/vortex_dtype/struct.StructDType.html index b95ab8be42..8ce3399a5d 100644 --- a/docs/rust/doc/vortex_dtype/struct.StructDType.html +++ b/docs/rust/doc/vortex_dtype/struct.StructDType.html @@ -3,10 +3,10 @@

source

pub fn names(&self) -> &FieldNames

Get the names of the fields in the struct

source

pub fn find_name(&self, name: &str) -> Option<usize>

Find the index of a field by name Returns None if the field is not found

-
source

pub fn field_info(&self, field: &Field) -> VortexResult<FieldInfo<'_>>

Get information about the referenced field, either by name or index +

source

pub fn field_info(&self, field: &Field) -> VortexResult<FieldInfo<'_>>

Get information about the referenced field, either by name or index Returns an error if the field is not found

source

pub fn dtypes(&self) -> &Arc<[DType]>

Get the dtypes of the fields in the struct

-
source

pub fn project(&self, projection: &[Field]) -> VortexResult<Self>

Project a subset of fields from the struct +

source

pub fn project(&self, projection: &[Field]) -> VortexResult<Self>

Project a subset of fields from the struct Returns an error if any of the referenced fields are not found

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for StructDType

source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>

Generate an arbitrary value of Self from the given unstructured data. Read more
§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type diff --git a/docs/rust/doc/vortex_dtype/trait.TryFromBytes.html b/docs/rust/doc/vortex_dtype/trait.TryFromBytes.html index c46e33f864..d69c7b6e72 100644 --- a/docs/rust/doc/vortex_dtype/trait.TryFromBytes.html +++ b/docs/rust/doc/vortex_dtype/trait.TryFromBytes.html @@ -1,6 +1,6 @@ TryFromBytes in vortex_dtype - Rust

Trait vortex_dtype::TryFromBytes

source ·
pub trait TryFromBytes: Sized {
     // Required method
-    fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>;
+    fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>;
 }
Expand description

A trait for types that can be converted from a little-endian byte slice

-

Required Methods§

source

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

Attempts to convert a slice of bytes in little-endian order to this type

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TryFromBytes for f32

source§

impl TryFromBytes for f64

source§

impl TryFromBytes for i8

source§

impl TryFromBytes for i16

source§

impl TryFromBytes for i32

source§

impl TryFromBytes for i64

source§

impl TryFromBytes for u8

source§

impl TryFromBytes for u16

source§

impl TryFromBytes for u32

source§

impl TryFromBytes for u64

source§

impl TryFromBytes for f16

Implementors§

\ No newline at end of file +

Required Methods§

source

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

Attempts to convert a slice of bytes in little-endian order to this type

+

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TryFromBytes for f32

source§

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

source§

impl TryFromBytes for f64

source§

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

source§

impl TryFromBytes for i8

source§

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

source§

impl TryFromBytes for i16

source§

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

source§

impl TryFromBytes for i32

source§

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

source§

impl TryFromBytes for i64

source§

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

source§

impl TryFromBytes for u8

source§

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

source§

impl TryFromBytes for u16

source§

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

source§

impl TryFromBytes for u32

source§

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

source§

impl TryFromBytes for u64

source§

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

source§

impl TryFromBytes for f16

source§

fn try_from_le_bytes(bytes: &[u8]) -> VortexResult<Self>

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex_expr/enum.Operator.html b/docs/rust/doc/vortex_expr/enum.Operator.html index 6d26af757c..10dd7867ea 100644 --- a/docs/rust/doc/vortex_expr/enum.Operator.html +++ b/docs/rust/doc/vortex_expr/enum.Operator.html @@ -41,13 +41,13 @@ otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_expr/enum.Select.html b/docs/rust/doc/vortex_expr/enum.Select.html index 018a266676..9daf7387b8 100644 --- a/docs/rust/doc/vortex_expr/enum.Select.html +++ b/docs/rust/doc/vortex_expr/enum.Select.html @@ -3,7 +3,7 @@ Exclude(Vec<Field>), }

Variants§

§

Include(Vec<Field>)

§

Exclude(Vec<Field>)

Implementations§

source§

impl Select

source

pub fn include(columns: Vec<Field>) -> Self

source

pub fn exclude(columns: Vec<Field>) -> Self

Trait Implementations§

source§

impl Clone for Select

source§

fn clone(&self) -> Select

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Select

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Select

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<dyn Any> for Select

source§

fn eq(&self, other: &dyn Any) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq for Select

source§

fn eq(&self, other: &Select) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl VortexExpr for Select

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set
source§

impl Eq for Select

source§

impl StructuralPartialEq for Select

Auto Trait Implementations§

§

impl Freeze for Select

§

impl RefUnwindSafe for Select

§

impl Send for Select

§

impl Sync for Select

§

impl Unpin for Select

§

impl UnwindSafe for Select

Blanket Implementations§

source§

impl<T> Any for T
where +and should not be overridden without very good reason.

source§

impl VortexExpr for Select

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set
source§

impl Eq for Select

source§

impl StructuralPartialEq for Select

Auto Trait Implementations§

§

impl Freeze for Select

§

impl RefUnwindSafe for Select

§

impl Send for Select

§

impl Sync for Select

§

impl Unpin for Select

§

impl UnwindSafe for Select

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_expr/index.html b/docs/rust/doc/vortex_expr/index.html index 4aa4aab6ab..22ba39fd4e 100644 --- a/docs/rust/doc/vortex_expr/index.html +++ b/docs/rust/doc/vortex_expr/index.html @@ -1 +1 @@ -vortex_expr - Rust

Crate vortex_expr

source ·

Modules§

Structs§

Enums§

Traits§

Functions§

Type Aliases§

\ No newline at end of file +vortex_expr - Rust

Crate vortex_expr

source ·

Modules§

Structs§

Enums§

Traits§

  • Represents logical operation on [ArrayData]s

Functions§

Type Aliases§

\ No newline at end of file diff --git a/docs/rust/doc/vortex_expr/struct.BinaryExpr.html b/docs/rust/doc/vortex_expr/struct.BinaryExpr.html index 642bc8682c..f409f58c03 100644 --- a/docs/rust/doc/vortex_expr/struct.BinaryExpr.html +++ b/docs/rust/doc/vortex_expr/struct.BinaryExpr.html @@ -1,5 +1,5 @@ BinaryExpr in vortex_expr - Rust

Struct vortex_expr::BinaryExpr

source ·
pub struct BinaryExpr { /* private fields */ }

Implementations§

source§

impl BinaryExpr

source

pub fn new_expr(lhs: ExprRef, operator: Operator, rhs: ExprRef) -> ExprRef

source

pub fn lhs(&self) -> &ExprRef

source

pub fn rhs(&self) -> &ExprRef

source

pub fn op(&self) -> Operator

Trait Implementations§

source§

impl Clone for BinaryExpr

source§

fn clone(&self) -> BinaryExpr

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BinaryExpr

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for BinaryExpr

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<dyn Any> for BinaryExpr

source§

fn eq(&self, other: &dyn Any) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl VortexExpr for BinaryExpr

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +and should not be overridden without very good reason.

source§

impl VortexExpr for BinaryExpr

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_expr/struct.Column.html b/docs/rust/doc/vortex_expr/struct.Column.html index 7f198e4a1d..4ad46dcc27 100644 --- a/docs/rust/doc/vortex_expr/struct.Column.html +++ b/docs/rust/doc/vortex_expr/struct.Column.html @@ -2,7 +2,7 @@ H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<dyn Any> for Column

source§

fn eq(&self, other: &dyn Any) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq for Column

source§

fn eq(&self, other: &Column) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl VortexExpr for Column

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set
source§

impl Eq for Column

source§

impl StructuralPartialEq for Column

Auto Trait Implementations§

§

impl Freeze for Column

§

impl RefUnwindSafe for Column

§

impl Send for Column

§

impl Sync for Column

§

impl Unpin for Column

§

impl UnwindSafe for Column

Blanket Implementations§

source§

impl<T> Any for T
where +and should not be overridden without very good reason.

source§

impl VortexExpr for Column

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set
source§

impl Eq for Column

source§

impl StructuralPartialEq for Column

Auto Trait Implementations§

§

impl Freeze for Column

§

impl RefUnwindSafe for Column

§

impl Send for Column

§

impl Sync for Column

§

impl Unpin for Column

§

impl UnwindSafe for Column

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where diff --git a/docs/rust/doc/vortex_expr/struct.Identity.html b/docs/rust/doc/vortex_expr/struct.Identity.html index 5506546eb7..6c4d40bbe7 100644 --- a/docs/rust/doc/vortex_expr/struct.Identity.html +++ b/docs/rust/doc/vortex_expr/struct.Identity.html @@ -1,6 +1,6 @@ Identity in vortex_expr - Rust

Struct vortex_expr::Identity

source ·
pub struct Identity;

Implementations§

Trait Implementations§

source§

impl Debug for Identity

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Identity

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<dyn Any> for Identity

source§

fn eq(&self, other: &dyn Any) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq for Identity

source§

fn eq(&self, other: &Identity) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl VortexExpr for Identity

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, _references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set
source§

impl Eq for Identity

source§

impl StructuralPartialEq for Identity

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +and should not be overridden without very good reason.

source§

impl VortexExpr for Identity

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, _references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set
source§

impl Eq for Identity

source§

impl StructuralPartialEq for Identity

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where diff --git a/docs/rust/doc/vortex_expr/struct.Like.html b/docs/rust/doc/vortex_expr/struct.Like.html index bc652f819a..b830b2a012 100644 --- a/docs/rust/doc/vortex_expr/struct.Like.html +++ b/docs/rust/doc/vortex_expr/struct.Like.html @@ -4,7 +4,7 @@ negated: bool, case_insensitive: bool, ) -> ExprRef

source

pub fn child(&self) -> &ExprRef

source

pub fn pattern(&self) -> &ExprRef

source

pub fn negated(&self) -> bool

source

pub fn case_insensitive(&self) -> bool

Trait Implementations§

source§

impl Debug for Like

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Like

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<dyn Any> for Like

source§

fn eq(&self, other: &dyn Any) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl VortexExpr for Like

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set

Auto Trait Implementations§

§

impl Freeze for Like

§

impl !RefUnwindSafe for Like

§

impl Send for Like

§

impl Sync for Like

§

impl Unpin for Like

§

impl !UnwindSafe for Like

Blanket Implementations§

source§

impl<T> Any for T
where +and should not be overridden without very good reason.

source§

impl VortexExpr for Like

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set

Auto Trait Implementations§

§

impl Freeze for Like

§

impl !RefUnwindSafe for Like

§

impl Send for Like

§

impl Sync for Like

§

impl Unpin for Like

§

impl !UnwindSafe for Like

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_expr/struct.Literal.html b/docs/rust/doc/vortex_expr/struct.Literal.html index c666fda9a2..88f797030c 100644 --- a/docs/rust/doc/vortex_expr/struct.Literal.html +++ b/docs/rust/doc/vortex_expr/struct.Literal.html @@ -1,6 +1,6 @@ -Literal in vortex_expr - Rust

Struct vortex_expr::Literal

source ·
pub struct Literal { /* private fields */ }

Implementations§

source§

impl Literal

source

pub fn new_expr(value: Scalar) -> ExprRef

source

pub fn value(&self) -> &Scalar

Trait Implementations§

source§

impl Debug for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<dyn Any> for Literal

source§

fn eq(&self, other: &dyn Any) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +Literal in vortex_expr - Rust

Struct vortex_expr::Literal

source ·
pub struct Literal { /* private fields */ }

Implementations§

source§

impl Literal

source

pub fn new_expr(value: Scalar) -> ExprRef

source

pub fn value(&self) -> &Scalar

Trait Implementations§

source§

impl Debug for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Literal

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<dyn Any> for Literal

source§

fn eq(&self, other: &dyn Any) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq for Literal

source§

fn eq(&self, other: &Literal) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl VortexExpr for Literal

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, _references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set
source§

impl StructuralPartialEq for Literal

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +and should not be overridden without very good reason.

source§

impl VortexExpr for Literal

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, _references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set
source§

impl StructuralPartialEq for Literal

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_expr/struct.Not.html b/docs/rust/doc/vortex_expr/struct.Not.html index 9179c391f3..980ba2cd19 100644 --- a/docs/rust/doc/vortex_expr/struct.Not.html +++ b/docs/rust/doc/vortex_expr/struct.Not.html @@ -1,5 +1,5 @@ Not in vortex_expr - Rust

Struct vortex_expr::Not

source ·
pub struct Not { /* private fields */ }

Implementations§

source§

impl Not

source

pub fn new_expr(child: ExprRef) -> ExprRef

source

pub fn child(&self) -> &ExprRef

Trait Implementations§

source§

impl Debug for Not

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Not

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<dyn Any> for Not

source§

fn eq(&self, other: &dyn Any) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl VortexExpr for Not

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set

Auto Trait Implementations§

§

impl Freeze for Not

§

impl !RefUnwindSafe for Not

§

impl Send for Not

§

impl Sync for Not

§

impl Unpin for Not

§

impl !UnwindSafe for Not

Blanket Implementations§

source§

impl<T> Any for T
where +and should not be overridden without very good reason.

source§

impl VortexExpr for Not

source§

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type
source§

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch
source§

fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set
source§

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set

Auto Trait Implementations§

§

impl Freeze for Not

§

impl !RefUnwindSafe for Not

§

impl Send for Not

§

impl Sync for Not

§

impl Unpin for Not

§

impl !UnwindSafe for Not

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/docs/rust/doc/vortex_expr/trait.VortexExpr.html b/docs/rust/doc/vortex_expr/trait.VortexExpr.html index abce0d4a35..fd8fefb327 100644 --- a/docs/rust/doc/vortex_expr/trait.VortexExpr.html +++ b/docs/rust/doc/vortex_expr/trait.VortexExpr.html @@ -6,14 +6,14 @@ + Display { // Required methods fn as_any(&self) -> &dyn Any; - fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>; + fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>; // Provided methods - fn collect_references<'a>(&'a self, _references: &mut HashSet<&'a Field>) { ... } - fn references(&self) -> HashSet<&Field> { ... } -}
Expand description

Represents logical operation on ArrayDatas

+ fn collect_references<'a>(&'a self, _references: &mut HashSet<&'a Field>) { ... } + fn references(&self) -> HashSet<&Field> { ... } +}
Expand description

Represents logical operation on [ArrayData]s

Required Methods§

source

fn as_any(&self) -> &dyn Any

Convert expression reference to reference of Any type

-
source

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch

-

Provided Methods§

source

fn collect_references<'a>(&'a self, _references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set

-
source

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set

+
source

fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

Compute result of expression on given batch producing a new batch

+

Provided Methods§

source

fn collect_references<'a>(&'a self, _references: &mut HashSet<&'a Field>)

Accumulate all field references from this expression and its children in the provided set

+
source

fn references(&self) -> HashSet<&Field>

Accumulate all field references from this expression and its children in a new set

Implementors§

\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/fn.bitpack.html b/docs/rust/doc/vortex_fastlanes/fn.bitpack.html index ae6ad11b48..d344c4ef3b 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.bitpack.html +++ b/docs/rust/doc/vortex_fastlanes/fn.bitpack.html @@ -1,3 +1,3 @@ -bitpack in vortex_fastlanes - Rust

Function vortex_fastlanes::bitpack

source ·
pub fn bitpack(parray: &PrimitiveArray, bit_width: u8) -> VortexResult<Buffer>
Expand description

Bitpack a PrimitiveArray to the given width.

+bitpack in vortex_fastlanes - Rust

Function vortex_fastlanes::bitpack

source ·
pub fn bitpack(parray: &PrimitiveArray, bit_width: u8) -> VortexResult<Buffer>
Expand description

Bitpack a [PrimitiveArray] to the given width.

On success, returns a [Buffer] containing the packed data.

\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/fn.bitpack_encode.html b/docs/rust/doc/vortex_fastlanes/fn.bitpack_encode.html index c6fdabb472..bfa27f7d1d 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.bitpack_encode.html +++ b/docs/rust/doc/vortex_fastlanes/fn.bitpack_encode.html @@ -1,4 +1,4 @@ bitpack_encode in vortex_fastlanes - Rust

Function vortex_fastlanes::bitpack_encode

source ·
pub fn bitpack_encode(
-    array: PrimitiveArray,
+    array: PrimitiveArray,
     bit_width: u8,
 ) -> VortexResult<BitPackedArray>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/fn.bitpack_encode_unchecked.html b/docs/rust/doc/vortex_fastlanes/fn.bitpack_encode_unchecked.html index c738eb2711..debfac8381 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.bitpack_encode_unchecked.html +++ b/docs/rust/doc/vortex_fastlanes/fn.bitpack_encode_unchecked.html @@ -1,5 +1,5 @@ bitpack_encode_unchecked in vortex_fastlanes - Rust

Function vortex_fastlanes::bitpack_encode_unchecked

source ·
pub unsafe fn bitpack_encode_unchecked(
-    array: PrimitiveArray,
+    array: PrimitiveArray,
     bit_width: u8,
 ) -> VortexResult<BitPackedArray>
Expand description

Bitpack an array into the specified bit-width without checking statistics.

§Safety

diff --git a/docs/rust/doc/vortex_fastlanes/fn.decompress.html b/docs/rust/doc/vortex_fastlanes/fn.decompress.html index 51c8bee26c..97c35698d1 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.decompress.html +++ b/docs/rust/doc/vortex_fastlanes/fn.decompress.html @@ -1 +1 @@ -decompress in vortex_fastlanes - Rust

Function vortex_fastlanes::decompress

source ·
pub fn decompress(array: FoRArray) -> VortexResult<PrimitiveArray>
\ No newline at end of file +decompress in vortex_fastlanes - Rust

Function vortex_fastlanes::decompress

source ·
pub fn decompress(array: FoRArray) -> VortexResult<PrimitiveArray>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/fn.delta_compress.html b/docs/rust/doc/vortex_fastlanes/fn.delta_compress.html index 7deef83345..33535d272a 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.delta_compress.html +++ b/docs/rust/doc/vortex_fastlanes/fn.delta_compress.html @@ -1,3 +1,3 @@ delta_compress in vortex_fastlanes - Rust

Function vortex_fastlanes::delta_compress

source ·
pub fn delta_compress(
-    array: &PrimitiveArray,
-) -> VortexResult<(PrimitiveArray, PrimitiveArray)>
\ No newline at end of file + array: &PrimitiveArray, +) -> VortexResult<(PrimitiveArray, PrimitiveArray)>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/fn.delta_decompress.html b/docs/rust/doc/vortex_fastlanes/fn.delta_decompress.html index 888583b9c1..ba00680089 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.delta_decompress.html +++ b/docs/rust/doc/vortex_fastlanes/fn.delta_decompress.html @@ -1 +1 @@ -delta_decompress in vortex_fastlanes - Rust

Function vortex_fastlanes::delta_decompress

source ·
pub fn delta_decompress(array: DeltaArray) -> VortexResult<PrimitiveArray>
\ No newline at end of file +delta_decompress in vortex_fastlanes - Rust

Function vortex_fastlanes::delta_decompress

source ·
pub fn delta_decompress(array: DeltaArray) -> VortexResult<PrimitiveArray>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/fn.find_best_bit_width.html b/docs/rust/doc/vortex_fastlanes/fn.find_best_bit_width.html index 71f3c7e53b..4f9a2f545a 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.find_best_bit_width.html +++ b/docs/rust/doc/vortex_fastlanes/fn.find_best_bit_width.html @@ -1 +1 @@ -find_best_bit_width in vortex_fastlanes - Rust

Function vortex_fastlanes::find_best_bit_width

source ·
pub fn find_best_bit_width(array: &PrimitiveArray) -> VortexResult<u8>
\ No newline at end of file +find_best_bit_width in vortex_fastlanes - Rust

Function vortex_fastlanes::find_best_bit_width

source ·
pub fn find_best_bit_width(array: &PrimitiveArray) -> VortexResult<u8>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/fn.find_min_patchless_bit_width.html b/docs/rust/doc/vortex_fastlanes/fn.find_min_patchless_bit_width.html index 02cef54f9d..5488cb2970 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.find_min_patchless_bit_width.html +++ b/docs/rust/doc/vortex_fastlanes/fn.find_min_patchless_bit_width.html @@ -1 +1 @@ -find_min_patchless_bit_width in vortex_fastlanes - Rust

Function vortex_fastlanes::find_min_patchless_bit_width

source ·
pub fn find_min_patchless_bit_width(array: &PrimitiveArray) -> VortexResult<u8>
\ No newline at end of file +find_min_patchless_bit_width in vortex_fastlanes - Rust

Function vortex_fastlanes::find_min_patchless_bit_width

source ·
pub fn find_min_patchless_bit_width(array: &PrimitiveArray) -> VortexResult<u8>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/fn.for_compress.html b/docs/rust/doc/vortex_fastlanes/fn.for_compress.html index 40eef3dc6d..09e51bf63a 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.for_compress.html +++ b/docs/rust/doc/vortex_fastlanes/fn.for_compress.html @@ -1 +1 @@ -for_compress in vortex_fastlanes - Rust

Function vortex_fastlanes::for_compress

source ·
pub fn for_compress(array: &PrimitiveArray) -> VortexResult<FoRArray>
\ No newline at end of file +for_compress in vortex_fastlanes - Rust

Function vortex_fastlanes::for_compress

source ·
pub fn for_compress(array: &PrimitiveArray) -> VortexResult<FoRArray>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/fn.gather_patches.html b/docs/rust/doc/vortex_fastlanes/fn.gather_patches.html index a700a4be02..c9cf8d861d 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.gather_patches.html +++ b/docs/rust/doc/vortex_fastlanes/fn.gather_patches.html @@ -1,5 +1,5 @@ gather_patches in vortex_fastlanes - Rust

Function vortex_fastlanes::gather_patches

source ·
pub fn gather_patches(
-    parray: &PrimitiveArray,
+    parray: &PrimitiveArray,
     bit_width: u8,
     num_exceptions_hint: usize,
-) -> Option<Patches>
\ No newline at end of file +) -> Option<Patches>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/fn.unpack.html b/docs/rust/doc/vortex_fastlanes/fn.unpack.html index 4df3c43b84..401289bf21 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.unpack.html +++ b/docs/rust/doc/vortex_fastlanes/fn.unpack.html @@ -1 +1 @@ -unpack in vortex_fastlanes - Rust

Function vortex_fastlanes::unpack

source ·
pub fn unpack(array: BitPackedArray) -> VortexResult<PrimitiveArray>
\ No newline at end of file +unpack in vortex_fastlanes - Rust

Function vortex_fastlanes::unpack

source ·
pub fn unpack(array: BitPackedArray) -> VortexResult<PrimitiveArray>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/fn.unpack_single.html b/docs/rust/doc/vortex_fastlanes/fn.unpack_single.html index e997572701..15fc9d2d35 100644 --- a/docs/rust/doc/vortex_fastlanes/fn.unpack_single.html +++ b/docs/rust/doc/vortex_fastlanes/fn.unpack_single.html @@ -1,4 +1,4 @@ unpack_single in vortex_fastlanes - Rust

Function vortex_fastlanes::unpack_single

source ·
pub fn unpack_single(
     array: &BitPackedArray,
     index: usize,
-) -> VortexResult<Scalar>
\ No newline at end of file +) -> VortexResult<Scalar>
\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/index.html b/docs/rust/doc/vortex_fastlanes/index.html index fd7f787c9c..fa1123d5c9 100644 --- a/docs/rust/doc/vortex_fastlanes/index.html +++ b/docs/rust/doc/vortex_fastlanes/index.html @@ -1 +1 @@ -vortex_fastlanes - Rust

Crate vortex_fastlanes

source ·

Structs§

Functions§

\ No newline at end of file +vortex_fastlanes - Rust

Crate vortex_fastlanes

source ·

Structs§

Functions§

\ No newline at end of file diff --git a/docs/rust/doc/vortex_fastlanes/struct.BitPackedArray.html b/docs/rust/doc/vortex_fastlanes/struct.BitPackedArray.html index 508e159daf..0c695786b0 100644 --- a/docs/rust/doc/vortex_fastlanes/struct.BitPackedArray.html +++ b/docs/rust/doc/vortex_fastlanes/struct.BitPackedArray.html @@ -1,95 +1,95 @@ -BitPackedArray in vortex_fastlanes - Rust

Struct vortex_fastlanes::BitPackedArray

source ·
pub struct BitPackedArray(/* private fields */);

Implementations§

source§

impl BitPackedArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

+BitPackedArray in vortex_fastlanes - Rust

Struct vortex_fastlanes::BitPackedArray

source ·
pub struct BitPackedArray(/* private fields */);

Implementations§

source§

impl BitPackedArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

source§

impl BitPackedArray

NB: All non-null values in the patches array are considered patches

source

pub fn try_new( packed: Buffer, ptype: PType, - validity: Validity, - patches: Option<Patches>, + validity: Validity, + patches: Option<Patches>, bit_width: u8, len: usize, ) -> VortexResult<Self>

Create a new bitpacked array using a buffer of packed data.

The packed data should be interpreted as a sequence of values with size bit_width.

source

pub fn packed(&self) -> &Buffer

source

pub fn packed_slice<T: NativePType + BitPacking>(&self) -> &[T]

Access the slice of packed values as an array of T

-
source

pub fn bit_width(&self) -> u8

source

pub fn patches(&self) -> Option<Patches>

Access the patches array.

+
source

pub fn bit_width(&self) -> u8

source

pub fn patches(&self) -> Option<Patches>

Access the patches array.

If present, patches MUST be a SparseArray with equal-length to this array, and whose indices indicate the locations of patches. The indices must have non-zero length.

-
source

pub fn offset(&self) -> u16

source

pub fn validity(&self) -> Validity

source

pub fn encode(array: &ArrayData, bit_width: u8) -> VortexResult<Self>

source

pub fn max_packed_value(&self) -> usize

Trait Implementations§

source§

impl AsRef<ArrayData> for BitPackedArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for BitPackedArray

source§

fn clone(&self) -> BitPackedArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BitPackedArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FilterFn<BitPackedArray> for BitPackedEncoding

source

pub fn offset(&self) -> u16

source

pub fn validity(&self) -> Validity

source

pub fn encode(array: &ArrayData, bit_width: u8) -> VortexResult<Self>

source

pub fn max_packed_value(&self) -> usize

Trait Implementations§

source§

impl AsRef<ArrayData> for BitPackedArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for BitPackedArray

source§

fn clone(&self) -> BitPackedArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BitPackedArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FilterFn<BitPackedArray> for BitPackedEncoding

source§

fn filter( &self, array: &BitPackedArray, - mask: FilterMask, -) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for BitPackedArray

source§

impl IntoCanonical for BitPackedArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl PrimitiveArrayTrait for BitPackedArray

source§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<BitPackedArray> for BitPackedEncoding

source§

fn scalar_at( + mask: FilterMask, +) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for BitPackedArray

source§

fn into_array(self) -> ArrayData

source§

impl IntoCanonical for BitPackedArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

source§

impl PrimitiveArrayTrait for BitPackedArray

§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<BitPackedArray> for BitPackedEncoding

source§

fn scalar_at( &self, array: &BitPackedArray, index: usize, -) -> VortexResult<Scalar>

source§

impl SearchSortedFn<BitPackedArray> for BitPackedEncoding

source§

fn search_sorted( +) -> VortexResult<Scalar>

source§

impl SearchSortedFn<BitPackedArray> for BitPackedEncoding

source§

fn search_sorted( &self, array: &BitPackedArray, - value: &Scalar, - side: SearchSortedSide, -) -> VortexResult<SearchResult>

source§

fn search_sorted_many( + value: &Scalar, + side: SearchSortedSide, +) -> VortexResult<SearchResult>

source§

fn search_sorted_many( &self, array: &BitPackedArray, - values: &[Scalar], - side: SearchSortedSide, -) -> VortexResult<Vec<SearchResult>>

Bulk search for many values.
source§

impl SearchSortedUsizeFn<BitPackedArray> for BitPackedEncoding

source§

fn search_sorted_usize( + values: &[Scalar], + side: SearchSortedSide, +) -> VortexResult<Vec<SearchResult>>

Bulk search for many values.
source§

impl SearchSortedUsizeFn<BitPackedArray> for BitPackedEncoding

source§

fn search_sorted_usize( &self, array: &BitPackedArray, value: usize, - side: SearchSortedSide, -) -> VortexResult<SearchResult>

source§

fn search_sorted_usize_many( + side: SearchSortedSide, +) -> VortexResult<SearchResult>

source§

fn search_sorted_usize_many( &self, array: &BitPackedArray, values: &[usize], - side: SearchSortedSide, -) -> VortexResult<Vec<SearchResult>>

source§

impl SliceFn<BitPackedArray> for BitPackedEncoding

source§

fn slice( + side: SearchSortedSide, +) -> VortexResult<Vec<SearchResult>>

source§

impl SliceFn<BitPackedArray> for BitPackedEncoding

source§

fn slice( &self, array: &BitPackedArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<BitPackedArray> for BitPackedEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<BitPackedArray> for BitPackedEncoding

§

fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<BitPackedArray> for BitPackedEncoding

source§

fn take( + _stat: Stat, +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<BitPackedArray> for BitPackedEncoding

source§

fn take( &self, array: &BitPackedArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a BitPackedArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for BitPackedArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<BitPackedArray> for BitPackedEncoding

source§

impl VariantsVTable<BitPackedArray> for BitPackedEncoding

source§

fn as_primitive_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a BitPackedArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for BitPackedArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<BitPackedArray> for BitPackedEncoding

source§

fn is_valid(&self, array: &BitPackedArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &BitPackedArray) -> LogicalValidity

source§

impl VariantsVTable<BitPackedArray> for BitPackedEncoding

source§

fn as_primitive_array<'a>( &self, array: &'a BitPackedArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<BitPackedArray> for BitPackedEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<BitPackedArray> for BitPackedEncoding

source§

fn accept( &self, array: &BitPackedArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

source§

impl ArrayTrait for BitPackedArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+ visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
source§

impl ArrayTrait for BitPackedArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -100,16 +100,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex_fastlanes/struct.BitPackedEncoding.html b/docs/rust/doc/vortex_fastlanes/struct.BitPackedEncoding.html index 78359a2ff9..bcd703bef4 100644 --- a/docs/rust/doc/vortex_fastlanes/struct.BitPackedEncoding.html +++ b/docs/rust/doc/vortex_fastlanes/struct.BitPackedEncoding.html @@ -1,70 +1,70 @@ BitPackedEncoding in vortex_fastlanes - Rust

Struct vortex_fastlanes::BitPackedEncoding

source ·
pub struct BitPackedEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for BitPackedEncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for BitPackedEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for BitPackedEncoding

source§

impl EncodingVTable for BitPackedEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<BitPackedArray> for BitPackedEncoding

Trait Implementations§

source§

impl ComputeVTable for BitPackedEncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for BitPackedEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for BitPackedEncoding

source§

impl EncodingVTable for BitPackedEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<BitPackedArray> for BitPackedEncoding

source§

fn filter( &self, array: &BitPackedArray, - mask: FilterMask, -) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<BitPackedArray> for BitPackedEncoding

source§

fn scalar_at( + mask: FilterMask, +) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<BitPackedArray> for BitPackedEncoding

source§

fn scalar_at( &self, array: &BitPackedArray, index: usize, -) -> VortexResult<Scalar>

source§

impl SearchSortedFn<BitPackedArray> for BitPackedEncoding

source§

fn search_sorted( +) -> VortexResult<Scalar>

source§

impl SearchSortedFn<BitPackedArray> for BitPackedEncoding

source§

fn search_sorted( &self, array: &BitPackedArray, - value: &Scalar, - side: SearchSortedSide, -) -> VortexResult<SearchResult>

source§

fn search_sorted_many( + value: &Scalar, + side: SearchSortedSide, +) -> VortexResult<SearchResult>

source§

fn search_sorted_many( &self, array: &BitPackedArray, - values: &[Scalar], - side: SearchSortedSide, -) -> VortexResult<Vec<SearchResult>>

Bulk search for many values.
source§

impl SearchSortedUsizeFn<BitPackedArray> for BitPackedEncoding

source§

fn search_sorted_usize( + values: &[Scalar], + side: SearchSortedSide, +) -> VortexResult<Vec<SearchResult>>

Bulk search for many values.
source§

impl SearchSortedUsizeFn<BitPackedArray> for BitPackedEncoding

source§

fn search_sorted_usize( &self, array: &BitPackedArray, value: usize, - side: SearchSortedSide, -) -> VortexResult<SearchResult>

source§

fn search_sorted_usize_many( + side: SearchSortedSide, +) -> VortexResult<SearchResult>

source§

fn search_sorted_usize_many( &self, array: &BitPackedArray, values: &[usize], - side: SearchSortedSide, -) -> VortexResult<Vec<SearchResult>>

source§

impl SliceFn<BitPackedArray> for BitPackedEncoding

source§

fn slice( + side: SearchSortedSide, +) -> VortexResult<Vec<SearchResult>>

source§

impl SliceFn<BitPackedArray> for BitPackedEncoding

source§

fn slice( &self, array: &BitPackedArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<BitPackedArray> for BitPackedEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<BitPackedArray> for BitPackedEncoding

§

fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<BitPackedArray> for BitPackedEncoding

source§

fn take( + _stat: Stat, +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<BitPackedArray> for BitPackedEncoding

source§

fn take( &self, array: &BitPackedArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<BitPackedArray> for BitPackedEncoding

source§

impl VariantsVTable<BitPackedArray> for BitPackedEncoding

source§

fn as_primitive_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl ValidityVTable<BitPackedArray> for BitPackedEncoding

source§

fn is_valid(&self, array: &BitPackedArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &BitPackedArray) -> LogicalValidity

source§

impl VariantsVTable<BitPackedArray> for BitPackedEncoding

source§

fn as_primitive_array<'a>( &self, array: &'a BitPackedArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<BitPackedArray> for BitPackedEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<BitPackedArray> for BitPackedEncoding

source§

fn accept( &self, array: &BitPackedArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -82,12 +82,12 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

impl<E> MetadataVTable for E
where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/docs/rust/doc/vortex_fastlanes/struct.BitPackedMetadata.html b/docs/rust/doc/vortex_fastlanes/struct.BitPackedMetadata.html index f5f48fd8e0..45016171a4 100644 --- a/docs/rust/doc/vortex_fastlanes/struct.BitPackedMetadata.html +++ b/docs/rust/doc/vortex_fastlanes/struct.BitPackedMetadata.html @@ -1,5 +1,5 @@ -BitPackedMetadata in vortex_fastlanes - Rust

Struct vortex_fastlanes::BitPackedMetadata

source ·
pub struct BitPackedMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for BitPackedMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for BitPackedMetadata

source§

fn clone(&self) -> BitPackedMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BitPackedMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BitPackedMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where +BitPackedMetadata in vortex_fastlanes - Rust

Struct vortex_fastlanes::BitPackedMetadata

source ·
pub struct BitPackedMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for BitPackedMetadata

Implement ArrayMetadata

+
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for BitPackedMetadata

source§

fn clone(&self) -> BitPackedMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BitPackedMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for BitPackedMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BitPackedMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for BitPackedMetadata

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where @@ -22,13 +22,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_fastlanes/struct.DeltaArray.html b/docs/rust/doc/vortex_fastlanes/struct.DeltaArray.html index 6283f31619..d3dd25af4f 100644 --- a/docs/rust/doc/vortex_fastlanes/struct.DeltaArray.html +++ b/docs/rust/doc/vortex_fastlanes/struct.DeltaArray.html @@ -1,4 +1,4 @@ -DeltaArray in vortex_fastlanes - Rust

Struct vortex_fastlanes::DeltaArray

source ·
pub struct DeltaArray(/* private fields */);

Implementations§

source§

impl DeltaArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

+DeltaArray in vortex_fastlanes - Rust

Struct vortex_fastlanes::DeltaArray

source ·
pub struct DeltaArray(/* private fields */);

Implementations§

source§

impl DeltaArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

source§

impl DeltaArray

A FastLanes-style delta-encoded array of primitive values.

@@ -23,54 +23,54 @@

§Details

values into one contiguous sub-sequence per-lane, thus permitting delta encoding.

If the chunk physically has fewer than 1,024 values, then it is stored as a traditional, non-SIMD-amenable, delta-encoded vector.

-
source

pub fn try_from_vec<T: NativePType>(vec: Vec<T>) -> VortexResult<Self>

source

pub fn try_from_primitive_array(array: &PrimitiveArray) -> VortexResult<Self>

source

pub fn try_from_delta_compress_parts( - bases: ArrayData, - deltas: ArrayData, - validity: Validity, +

source

pub fn try_from_vec<T: NativePType>(vec: Vec<T>) -> VortexResult<Self>

source

pub fn try_from_primitive_array(array: &PrimitiveArray) -> VortexResult<Self>

source

pub fn try_from_delta_compress_parts( + bases: ArrayData, + deltas: ArrayData, + validity: Validity, ) -> VortexResult<Self>

source

pub fn try_new( - bases: ArrayData, - deltas: ArrayData, - validity: Validity, + bases: ArrayData, + deltas: ArrayData, + validity: Validity, offset: usize, logical_len: usize, -) -> VortexResult<Self>

source

pub fn bases(&self) -> ArrayData

source

pub fn deltas(&self) -> ArrayData

source

pub fn offset(&self) -> usize

The logical offset into the first chunk of Self::deltas.

-
source

pub fn validity(&self) -> Validity

Trait Implementations§

source§

impl AsRef<ArrayData> for DeltaArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for DeltaArray

source§

fn clone(&self) -> DeltaArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeltaArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoArrayData for DeltaArray

source§

impl IntoCanonical for DeltaArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl PrimitiveArrayTrait for DeltaArray

source§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<DeltaArray> for DeltaEncoding

source§

fn scalar_at(&self, array: &DeltaArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<DeltaArray> for DeltaEncoding

source§

fn slice( +) -> VortexResult<Self>

source

pub fn bases(&self) -> ArrayData

source

pub fn deltas(&self) -> ArrayData

source

pub fn offset(&self) -> usize

The logical offset into the first chunk of Self::deltas.

+
source

pub fn validity(&self) -> Validity

Trait Implementations§

source§

impl AsRef<ArrayData> for DeltaArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for DeltaArray

source§

fn clone(&self) -> DeltaArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeltaArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IntoArrayData for DeltaArray

source§

fn into_array(self) -> ArrayData

source§

impl IntoCanonical for DeltaArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

source§

impl PrimitiveArrayTrait for DeltaArray

§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<DeltaArray> for DeltaEncoding

source§

fn scalar_at(&self, array: &DeltaArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<DeltaArray> for DeltaEncoding

source§

fn slice( &self, array: &DeltaArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<DeltaArray> for DeltaEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<DeltaArray> for DeltaEncoding

§

fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a DeltaArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for DeltaArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<DeltaArray> for DeltaEncoding

source§

fn is_valid(&self, array: &DeltaArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &DeltaArray) -> LogicalValidity

source§

impl VariantsVTable<DeltaArray> for DeltaEncoding

source§

fn as_primitive_array<'a>( + _stat: Stat, +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl<'a> TryFrom<&'a ArrayData> for &'a DeltaArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for DeltaArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<DeltaArray> for DeltaEncoding

source§

fn is_valid(&self, array: &DeltaArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &DeltaArray) -> LogicalValidity

source§

impl VariantsVTable<DeltaArray> for DeltaEncoding

source§

fn as_primitive_array<'a>( &self, array: &'a DeltaArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<DeltaArray> for DeltaEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<DeltaArray> for DeltaEncoding

source§

fn accept( &self, array: &DeltaArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

source§

impl ArrayTrait for DeltaArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+ visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
source§

impl ArrayTrait for DeltaArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -81,16 +81,16 @@

§Details

U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex_fastlanes/struct.DeltaEncoding.html b/docs/rust/doc/vortex_fastlanes/struct.DeltaEncoding.html index eb8263e005..41003bd36f 100644 --- a/docs/rust/doc/vortex_fastlanes/struct.DeltaEncoding.html +++ b/docs/rust/doc/vortex_fastlanes/struct.DeltaEncoding.html @@ -1,32 +1,32 @@ DeltaEncoding in vortex_fastlanes - Rust

Struct vortex_fastlanes::DeltaEncoding

source ·
pub struct DeltaEncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for DeltaEncoding

source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

impl Debug for DeltaEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for DeltaEncoding

source§

impl EncodingVTable for DeltaEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl ScalarAtFn<DeltaArray> for DeltaEncoding

source§

fn scalar_at(&self, array: &DeltaArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<DeltaArray> for DeltaEncoding

Trait Implementations§

source§

impl ComputeVTable for DeltaEncoding

source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
source§

impl Debug for DeltaEncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for DeltaEncoding

source§

impl EncodingVTable for DeltaEncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl ScalarAtFn<DeltaArray> for DeltaEncoding

source§

fn scalar_at(&self, array: &DeltaArray, index: usize) -> VortexResult<Scalar>

source§

impl SliceFn<DeltaArray> for DeltaEncoding

source§

fn slice( &self, array: &DeltaArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<DeltaArray> for DeltaEncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<DeltaArray> for DeltaEncoding

§

fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl ValidityVTable<DeltaArray> for DeltaEncoding

source§

fn is_valid(&self, array: &DeltaArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &DeltaArray) -> LogicalValidity

source§

impl VariantsVTable<DeltaArray> for DeltaEncoding

source§

fn as_primitive_array<'a>( + _stat: Stat, +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl ValidityVTable<DeltaArray> for DeltaEncoding

source§

fn is_valid(&self, array: &DeltaArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &DeltaArray) -> LogicalValidity

source§

impl VariantsVTable<DeltaArray> for DeltaEncoding

source§

fn as_primitive_array<'a>( &self, array: &'a DeltaArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<DeltaArray> for DeltaEncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<DeltaArray> for DeltaEncoding

source§

fn accept( &self, array: &DeltaArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -44,12 +44,12 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

impl<E> MetadataVTable for E
where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/docs/rust/doc/vortex_fastlanes/struct.DeltaMetadata.html b/docs/rust/doc/vortex_fastlanes/struct.DeltaMetadata.html index f340caaeae..3c81f103f5 100644 --- a/docs/rust/doc/vortex_fastlanes/struct.DeltaMetadata.html +++ b/docs/rust/doc/vortex_fastlanes/struct.DeltaMetadata.html @@ -1,5 +1,5 @@ -DeltaMetadata in vortex_fastlanes - Rust

Struct vortex_fastlanes::DeltaMetadata

source ·
pub struct DeltaMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for DeltaMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for DeltaMetadata

source§

fn clone(&self) -> DeltaMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeltaMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DeltaMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where +DeltaMetadata in vortex_fastlanes - Rust

Struct vortex_fastlanes::DeltaMetadata

source ·
pub struct DeltaMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for DeltaMetadata

Implement ArrayMetadata

+
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for DeltaMetadata

source§

fn clone(&self) -> DeltaMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeltaMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for DeltaMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DeltaMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for DeltaMetadata

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where @@ -22,13 +22,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_fastlanes/struct.FoRArray.html b/docs/rust/doc/vortex_fastlanes/struct.FoRArray.html index ae6c3b6693..c0380e102c 100644 --- a/docs/rust/doc/vortex_fastlanes/struct.FoRArray.html +++ b/docs/rust/doc/vortex_fastlanes/struct.FoRArray.html @@ -1,63 +1,63 @@ -FoRArray in vortex_fastlanes - Rust

Struct vortex_fastlanes::FoRArray

source ·
pub struct FoRArray(/* private fields */);

Implementations§

source§

impl FoRArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

+FoRArray in vortex_fastlanes - Rust

Struct vortex_fastlanes::FoRArray

source ·
pub struct FoRArray(/* private fields */);

Implementations§

source§

impl FoRArray

source

pub fn maybe_from(data: ArrayData) -> Option<Self>

Optionally downcast an ArrayData instance to a specific encoding.

Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

source§

impl FoRArray

source

pub fn try_new( - child: ArrayData, - reference: Scalar, + child: ArrayData, + reference: Scalar, shift: u8, -) -> VortexResult<Self>

source

pub fn encoded(&self) -> ArrayData

source

pub fn reference_scalar(&self) -> Scalar

source

pub fn shift(&self) -> u8

Trait Implementations§

source§

impl AsRef<ArrayData> for FoRArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for FoRArray

source§

fn clone(&self) -> FoRArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FoRArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FilterFn<FoRArray> for FoREncoding

source§

fn filter(&self, array: &FoRArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for FoRArray

source§

impl IntoCanonical for FoRArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

source§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where - Self: Sized,

source§

impl PrimitiveArrayTrait for FoRArray

source§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<FoRArray> for FoREncoding

source§

fn scalar_at(&self, array: &FoRArray, index: usize) -> VortexResult<Scalar>

source§

impl SearchSortedFn<FoRArray> for FoREncoding

source§

fn search_sorted( +) -> VortexResult<Self>

source

pub fn encoded(&self) -> ArrayData

source

pub fn reference_scalar(&self) -> Scalar

source

pub fn shift(&self) -> u8

Trait Implementations§

source§

impl AsRef<ArrayData> for FoRArray

source§

fn as_ref(&self) -> &ArrayData

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for FoRArray

source§

fn clone(&self) -> FoRArray

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FoRArray

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FilterFn<FoRArray> for FoREncoding

source§

fn filter(&self, array: &FoRArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl IntoArrayData for FoRArray

source§

fn into_array(self) -> ArrayData

source§

impl IntoCanonical for FoRArray

source§

fn into_canonical(self) -> VortexResult<Canonical>

§

fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
where + Self: Sized,

source§

impl PrimitiveArrayTrait for FoRArray

§

fn ptype(&self) -> PType

source§

impl ScalarAtFn<FoRArray> for FoREncoding

source§

fn scalar_at(&self, array: &FoRArray, index: usize) -> VortexResult<Scalar>

source§

impl SearchSortedFn<FoRArray> for FoREncoding

source§

fn search_sorted( &self, array: &FoRArray, - value: &Scalar, - side: SearchSortedSide, -) -> VortexResult<SearchResult>

source§

fn search_sorted_many( + value: &Scalar, + side: SearchSortedSide, +) -> VortexResult<SearchResult>

§

fn search_sorted_many( &self, array: &Array, - values: &[Scalar], - side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
source§

impl SliceFn<FoRArray> for FoREncoding

source§

fn slice( + values: &[Scalar], + side: SearchSortedSide, +) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
source§

impl SliceFn<FoRArray> for FoREncoding

source§

fn slice( &self, array: &FoRArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<FoRArray> for FoREncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<FoRArray> for FoREncoding

§

fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<FoRArray> for FoREncoding

source§

fn take(&self, array: &FoRArray, indices: &ArrayData) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + _stat: Stat, +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<FoRArray> for FoREncoding

source§

fn take(&self, array: &FoRArray, indices: &ArrayData) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a FoRArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for FoRArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<FoRArray> for FoREncoding

source§

fn is_valid(&self, array: &FoRArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &FoRArray) -> LogicalValidity

source§

impl VariantsVTable<FoRArray> for FoREncoding

source§

fn as_primitive_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl<'a> TryFrom<&'a ArrayData> for &'a FoRArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: &'a ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl TryFrom<ArrayData> for FoRArray

source§

type Error = VortexError

The type returned in the event of a conversion error.
source§

fn try_from(data: ArrayData) -> VortexResult<Self>

Performs the conversion.
source§

impl ValidityVTable<FoRArray> for FoREncoding

source§

fn is_valid(&self, array: &FoRArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &FoRArray) -> LogicalValidity

source§

impl VariantsVTable<FoRArray> for FoREncoding

source§

fn as_primitive_array<'a>( &self, array: &'a FoRArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<FoRArray> for FoREncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<FoRArray> for FoREncoding

source§

fn accept( &self, array: &FoRArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

source§

impl ArrayTrait for FoRArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> ArrayDType for T
where - T: AsRef<ArrayData>,

source§

fn dtype(&self) -> &DType

source§

impl<T> ArrayEncodingRef for T
where - T: AsRef<ArrayData>,

source§

fn encoding(&self) -> &'static dyn EncodingVTable

source§

impl<T> ArrayLen for T
where - T: AsRef<ArrayData>,

source§

fn len(&self) -> usize

source§

fn is_empty(&self) -> bool

source§

impl<A> ArrayNBytes for A
where - A: AsRef<ArrayData>,

source§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
source§

impl<T> ArrayStatistics for T
where - T: AsRef<ArrayData>,

source§

fn statistics(&self) -> &dyn Statistics

source§

fn inherit_statistics(&self, parent: &dyn Statistics)

source§

impl<A> ArrayValidity for A
where - A: AsRef<ArrayData>,

source§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

-
source§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

+ visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
source§

impl ArrayTrait for FoRArray

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArrayDType for T
where + T: AsRef<ArrayData>,

§

fn dtype(&self) -> &DType

§

impl<T> ArrayEncodingRef for T
where + T: AsRef<ArrayData>,

§

fn encoding(&self) -> &'static dyn EncodingVTable

§

impl<T> ArrayLen for T
where + T: AsRef<ArrayData>,

§

fn len(&self) -> usize

§

fn is_empty(&self) -> bool

§

impl<A> ArrayNBytes for A
where + A: AsRef<ArrayData>,

§

fn nbytes(&self) -> usize

Total size of the array in bytes, including all children and buffers.
§

impl<T> ArrayStatistics for T
where + T: AsRef<ArrayData>,

§

fn statistics(&self) -> &dyn Statistics

§

fn inherit_statistics(&self, parent: &dyn Statistics)

§

impl<A> ArrayValidity for A
where + A: AsRef<ArrayData>,

§

fn is_valid(&self, index: usize) -> bool

Return whether the element at the given index is valid (true) or null (false).

+
§

fn logical_validity(&self) -> LogicalValidity

Return the logical validity of the array.

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -68,16 +68,16 @@ U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
source§

impl<T> IntoArrayVariant for T
where - T: IntoCanonical,

source§

fn into_null(self) -> Result<NullArray, VortexError>

source§

fn into_bool(self) -> Result<BoolArray, VortexError>

source§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

source§

fn into_struct(self) -> Result<StructArray, VortexError>

source§

fn into_list(self) -> Result<ListArray, VortexError>

source§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

source§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +
§

impl<T> IntoArrayVariant for T
where + T: IntoCanonical,

§

fn into_null(self) -> Result<NullArray, VortexError>

§

fn into_bool(self) -> Result<BoolArray, VortexError>

§

fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

§

fn into_struct(self) -> Result<StructArray, VortexError>

§

fn into_list(self) -> Result<ListArray, VortexError>

§

fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

§

fn into_extension(self) -> Result<ExtensionArray, VortexError>

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<A> ToArrayData for A
where - A: AsRef<ArrayData>,

source§

impl<T> ToOwned for T
where +otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
§

impl<A> ToArrayData for A
where + A: AsRef<ArrayData>,

§

fn to_array(&self) -> ArrayData

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where diff --git a/docs/rust/doc/vortex_fastlanes/struct.FoREncoding.html b/docs/rust/doc/vortex_fastlanes/struct.FoREncoding.html index 1cd63f23bc..4ba507445b 100644 --- a/docs/rust/doc/vortex_fastlanes/struct.FoREncoding.html +++ b/docs/rust/doc/vortex_fastlanes/struct.FoREncoding.html @@ -1,48 +1,48 @@ FoREncoding in vortex_fastlanes - Rust

Struct vortex_fastlanes::FoREncoding

source ·
pub struct FoREncoding;
Expand description

The array encoding

-

Trait Implementations§

source§

impl ComputeVTable for FoREncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
source§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
source§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
source§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
source§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
source§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
source§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
source§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
source§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for FoREncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for FoREncoding

source§

impl EncodingVTable for FoREncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<FoRArray> for FoREncoding

source§

fn filter(&self, array: &FoRArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<FoRArray> for FoREncoding

source§

fn scalar_at(&self, array: &FoRArray, index: usize) -> VortexResult<Scalar>

source§

impl SearchSortedFn<FoRArray> for FoREncoding

Trait Implementations§

source§

impl ComputeVTable for FoREncoding

source§

fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

Filter an array with a given mask. Read more
source§

fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

Single item indexing on Vortex arrays. Read more
source§

fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

Perform a search over an ordered array. Read more
source§

fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

Perform zero-copy slicing of an array. Read more
source§

fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
§

fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

Implementation of binary boolean logic operations. Read more
§

fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

Implemented for arrays that can be casted to different types. Read more
§

fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

Binary operator implementation for arrays against other arrays. Read more
§

fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
§

fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

Fill null values with given desired value. Resulting array is NonNullable Read more
§

fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
§

fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

Perform a SQL LIKE operation on two arrays. Read more
§

fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

Perform a search over an ordered array. Read more
§

fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

Broadcast subtraction of scalar from Vortex array. Read more
source§

impl Debug for FoREncoding

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Encoding for FoREncoding

source§

impl EncodingVTable for FoREncoding

source§

fn id(&self) -> EncodingId

source§

fn as_any(&self) -> &dyn Any

source§

impl FilterFn<FoRArray> for FoREncoding

source§

fn filter(&self, array: &FoRArray, mask: FilterMask) -> VortexResult<ArrayData>

Filter an array by the provided predicate.
source§

impl ScalarAtFn<FoRArray> for FoREncoding

source§

fn scalar_at(&self, array: &FoRArray, index: usize) -> VortexResult<Scalar>

source§

impl SearchSortedFn<FoRArray> for FoREncoding

source§

fn search_sorted( &self, array: &FoRArray, - value: &Scalar, - side: SearchSortedSide, -) -> VortexResult<SearchResult>

source§

fn search_sorted_many( + value: &Scalar, + side: SearchSortedSide, +) -> VortexResult<SearchResult>

§

fn search_sorted_many( &self, array: &Array, - values: &[Scalar], - side: SearchSortedSide, -) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
source§

impl SliceFn<FoRArray> for FoREncoding

source§

fn slice( + values: &[Scalar], + side: SearchSortedSide, +) -> Result<Vec<SearchResult>, VortexError>

Bulk search for many values.
source§

impl SliceFn<FoRArray> for FoREncoding

source§

fn slice( &self, array: &FoRArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
source§

impl StatisticsVTable<FoRArray> for FoREncoding

source§

fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

source§

impl StatisticsVTable<FoRArray> for FoREncoding

§

fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<FoRArray> for FoREncoding

source§

fn take(&self, array: &FoRArray, indices: &ArrayData) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the -given indices. Read more
source§

unsafe fn take_unchecked( + _stat: Stat, +) -> Result<StatsSet, VortexError>

Compute the requested statistic. Can return additional stats.
source§

impl TakeFn<FoRArray> for FoREncoding

source§

fn take(&self, array: &FoRArray, indices: &ArrayData) -> VortexResult<ArrayData>

Create a new array by taking the values from the array at the +given indices. Read more
§

unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the -given indices. Read more
source§

impl ValidityVTable<FoRArray> for FoREncoding

source§

fn is_valid(&self, array: &FoRArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &FoRArray) -> LogicalValidity

source§

impl VariantsVTable<FoRArray> for FoREncoding

source§

fn as_primitive_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

Create a new array by taking the values from the array at the +given indices. Read more
source§

impl ValidityVTable<FoRArray> for FoREncoding

source§

fn is_valid(&self, array: &FoRArray, index: usize) -> bool

source§

fn logical_validity(&self, array: &FoRArray) -> LogicalValidity

source§

impl VariantsVTable<FoRArray> for FoREncoding

source§

fn as_primitive_array<'a>( &self, array: &'a FoRArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

source§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

source§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

source§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

source§

fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

§

fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

§

fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

§

fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

§

fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

source§

fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

§

fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

source§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

source§

fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

§

fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

§

fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<FoRArray> for FoREncoding

source§

fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

source§

impl VisitorVTable<FoRArray> for FoREncoding

source§

fn accept( &self, array: &FoRArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where @@ -60,12 +60,12 @@ F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
source§

impl<E> MetadataVTable for E
where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

impl<E> MetadataVTable for E
where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

§

fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where diff --git a/docs/rust/doc/vortex_fastlanes/struct.FoRMetadata.html b/docs/rust/doc/vortex_fastlanes/struct.FoRMetadata.html index 3cd893f6ab..944469074b 100644 --- a/docs/rust/doc/vortex_fastlanes/struct.FoRMetadata.html +++ b/docs/rust/doc/vortex_fastlanes/struct.FoRMetadata.html @@ -1,5 +1,5 @@ -FoRMetadata in vortex_fastlanes - Rust

Struct vortex_fastlanes::FoRMetadata

source ·
pub struct FoRMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for FoRMetadata

Implement ArrayMetadata

-
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for FoRMetadata

source§

fn clone(&self) -> FoRMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FoRMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FoRMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where +FoRMetadata in vortex_fastlanes - Rust

Struct vortex_fastlanes::FoRMetadata

source ·
pub struct FoRMetadata { /* private fields */ }

Trait Implementations§

source§

impl ArrayMetadata for FoRMetadata

Implement ArrayMetadata

+
source§

fn as_any(&self) -> &dyn Any

source§

fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

source§

impl Clone for FoRMetadata

source§

fn clone(&self) -> FoRMetadata

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FoRMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for FoRMetadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for FoRMetadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for FoRMetadata

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where @@ -22,13 +22,13 @@ otherwise. Read more

source§

impl<T> Same for T

source§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> ToRawKvValue for T
where T: Serialize,

§

fn raw_kv_value(&self) -> Result<JsValue, KvError>

source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where - M: Deserialize<'de>,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
§

impl<'de, M> TryDeserializeArrayMetadata<'de> for M
where + M: Deserialize<'de>,

§

fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<M> TrySerializeArrayMetadata for M
where - M: Serialize,

source§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<M> TrySerializeArrayMetadata for M
where + M: Serialize,

§

fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_file/builder/struct.VortexReadBuilder.html b/docs/rust/doc/vortex_file/builder/struct.VortexReadBuilder.html index 226bdb746f..ec8a3899c8 100644 --- a/docs/rust/doc/vortex_file/builder/struct.VortexReadBuilder.html +++ b/docs/rust/doc/vortex_file/builder/struct.VortexReadBuilder.html @@ -39,7 +39,7 @@

│(Version, Postscript Length,│ │ Magic Bytes) │ └────────────────────────────┘ -

Implementations§

source§

impl<R: VortexReadAt + Unpin> VortexReadBuilder<R>

source

pub fn new(read_at: R, layout_serde: LayoutDeserializer) -> Self

source

pub fn with_file_size(self, size: u64) -> Self

source

pub fn with_projection(self, projection: Projection) -> Self

source

pub fn with_indices(self, array: ArrayData) -> Self

source

pub fn with_row_filter(self, row_filter: RowFilter) -> Self

source

pub fn with_io_dispatcher(self, dispatcher: Arc<IoDispatcher>) -> Self

source

pub fn with_initial_read(self, initial_read: InitialRead) -> Self

source

pub async fn build(self) -> VortexResult<VortexFileArrayStream<R>>

Auto Trait Implementations§

§

impl<R> !Freeze for VortexReadBuilder<R>

§

impl<R> !RefUnwindSafe for VortexReadBuilder<R>

§

impl<R> Send for VortexReadBuilder<R>
where +

Implementations§

source§

impl<R: VortexReadAt + Unpin> VortexReadBuilder<R>

source

pub fn new(read_at: R, layout_serde: LayoutDeserializer) -> Self

source

pub fn with_file_size(self, size: u64) -> Self

source

pub fn with_projection(self, projection: Projection) -> Self

source

pub fn with_indices(self, array: ArrayData) -> Self

source

pub fn with_row_filter(self, row_filter: RowFilter) -> Self

source

pub fn with_io_dispatcher(self, dispatcher: Arc<IoDispatcher>) -> Self

source

pub fn with_initial_read(self, initial_read: InitialRead) -> Self

source

pub async fn build(self) -> VortexResult<VortexFileArrayStream<R>>

Auto Trait Implementations§

§

impl<R> !Freeze for VortexReadBuilder<R>

§

impl<R> !RefUnwindSafe for VortexReadBuilder<R>

§

impl<R> Send for VortexReadBuilder<R>
where R: Send,

§

impl<R> Sync for VortexReadBuilder<R>
where R: Sync,

§

impl<R> Unpin for VortexReadBuilder<R>
where R: Unpin,

§

impl<R> !UnwindSafe for VortexReadBuilder<R>

Blanket Implementations§

source§

impl<T> Any for T
where diff --git a/docs/rust/doc/vortex_file/index.html b/docs/rust/doc/vortex_file/index.html index 0ad7c95291..d0bc7622ff 100644 --- a/docs/rust/doc/vortex_file/index.html +++ b/docs/rust/doc/vortex_file/index.html @@ -8,12 +8,12 @@
  • The ColumnarLayout. Each column of a -StructArray is sequentially laid out at known offsets. +[StructArray][vortex_array::array::StructArray] is sequentially laid out at known offsets. This permits reading a subset of columns in time linear in the number of kept columns.

  • The ChunkedLayout. Each chunk of a -ChunkedArray is sequentially laid out at known +ChunkedArray is sequentially laid out at known offsets. This permits reading a subset of rows in time linear in the number of kept rows.

  • @@ -57,4 +57,4 @@

    §Apache Ar

    If you ultimately seek Arrow arrays, VortexRecordBatchReader converts a VortexFileArrayStream into a RecordBatchReader.

    Modules§

    Structs§

    Enums§

    Constants§

    Traits§

    Functions§

    Type Aliases§

    \ No newline at end of file +the message contents.
  • A RowMask captures a set of selected rows offset by a range.
  • Operation to apply to data returned by the layout
  • An asynchronous Vortex file that returns a [Stream] of [ArrayData]s.
  • Builder for reading Vortex files.
  • Enums§

    Constants§

    Traits§

    Functions§

    Type Aliases§

    \ No newline at end of file diff --git a/docs/rust/doc/vortex_file/metadata/fn.fetch_metadata.html b/docs/rust/doc/vortex_file/metadata/fn.fetch_metadata.html index db87f1d6b2..86ae47fd23 100644 --- a/docs/rust/doc/vortex_file/metadata/fn.fetch_metadata.html +++ b/docs/rust/doc/vortex_file/metadata/fn.fetch_metadata.html @@ -3,4 +3,4 @@ dispatcher: Arc<IoDispatcher>, root_layout: Box<dyn LayoutReader>, layout_cache: Arc<RwLock<LayoutMessageCache>>, -) -> VortexResult<Option<Vec<Option<ArrayData>>>>
    \ No newline at end of file +) -> VortexResult<Option<Vec<Option<ArrayData>>>>
    \ No newline at end of file diff --git a/docs/rust/doc/vortex_file/struct.LayoutContext.html b/docs/rust/doc/vortex_file/struct.LayoutContext.html index f906b508c0..2d08364537 100644 --- a/docs/rust/doc/vortex_file/struct.LayoutContext.html +++ b/docs/rust/doc/vortex_file/struct.LayoutContext.html @@ -1,4 +1,4 @@ -LayoutContext in vortex_file - Rust

    Struct vortex_file::LayoutContext

    source ·
    pub struct LayoutContext { /* private fields */ }

    Implementations§

    source§

    impl LayoutContext

    source

    pub fn new(layout_refs: HashMap<LayoutId, LayoutRef>) -> Self

    source

    pub fn lookup_layout(&self, id: &LayoutId) -> Option<LayoutRef>

    Trait Implementations§

    source§

    impl Clone for LayoutContext

    source§

    fn clone(&self) -> LayoutContext

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LayoutContext

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for LayoutContext

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +LayoutContext in vortex_file - Rust

    Struct vortex_file::LayoutContext

    source ·
    pub struct LayoutContext { /* private fields */ }

    Implementations§

    source§

    impl LayoutContext

    source

    pub fn new(layout_refs: HashMap<LayoutId, LayoutRef>) -> Self

    source

    pub fn lookup_layout(&self, id: &LayoutId) -> Option<LayoutRef>

    Trait Implementations§

    source§

    impl Clone for LayoutContext

    source§

    fn clone(&self) -> LayoutContext

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LayoutContext

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for LayoutContext

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where diff --git a/docs/rust/doc/vortex_file/struct.LayoutDeserializer.html b/docs/rust/doc/vortex_file/struct.LayoutDeserializer.html index 029e57c8f2..dbc2fda7eb 100644 --- a/docs/rust/doc/vortex_file/struct.LayoutDeserializer.html +++ b/docs/rust/doc/vortex_file/struct.LayoutDeserializer.html @@ -1,4 +1,4 @@ -LayoutDeserializer in vortex_file - Rust

    Struct vortex_file::LayoutDeserializer

    source ·
    pub struct LayoutDeserializer { /* private fields */ }

    Implementations§

    source§

    impl LayoutDeserializer

    source

    pub fn new(ctx: Arc<Context>, layout_ctx: Arc<LayoutContext>) -> Self

    source

    pub fn read_layout( +LayoutDeserializer in vortex_file - Rust

    Struct vortex_file::LayoutDeserializer

    source ·
    pub struct LayoutDeserializer { /* private fields */ }

    Implementations§

    source§

    impl LayoutDeserializer

    source

    pub fn new(ctx: Arc<Context>, layout_ctx: Arc<LayoutContext>) -> Self

    source

    pub fn read_layout( &self, layout: Layout<'_>, scan: Scan, diff --git a/docs/rust/doc/vortex_file/struct.RowFilter.html b/docs/rust/doc/vortex_file/struct.RowFilter.html index b149af14e3..d496ae7188 100644 --- a/docs/rust/doc/vortex_file/struct.RowFilter.html +++ b/docs/rust/doc/vortex_file/struct.RowFilter.html @@ -2,7 +2,7 @@

    source

    pub fn from_conjunction_expr(conjunction: Vec<ExprRef>) -> ExprRef

    Create a new row filter from a conjunction. The conjunction must have length > 0.

    source

    pub fn only_fields(&self, fields: &[Field]) -> Option<ExprRef>

    Trait Implementations§

    source§

    impl Clone for RowFilter

    source§

    fn clone(&self) -> RowFilter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RowFilter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for RowFilter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq<dyn Any> for RowFilter

    source§

    fn eq(&self, other: &dyn Any) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PartialEq for RowFilter

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl VortexExpr for RowFilter

    source§

    fn as_any(&self) -> &dyn Any

    Convert expression reference to reference of Any type
    source§

    fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

    Compute result of expression on given batch producing a new batch
    source§

    fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

    Accumulate all field references from this expression and its children in the provided set
    §

    fn references(&self) -> HashSet<&Field>

    Accumulate all field references from this expression and its children in a new set

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +and should not be overridden without very good reason.

    source§

    impl VortexExpr for RowFilter

    source§

    fn as_any(&self) -> &dyn Any

    Convert expression reference to reference of Any type
    source§

    fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>

    Compute result of expression on given batch producing a new batch
    source§

    fn collect_references<'a>(&'a self, references: &mut HashSet<&'a Field>)

    Accumulate all field references from this expression and its children in the provided set
    §

    fn references(&self) -> HashSet<&Field>

    Accumulate all field references from this expression and its children in a new set

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where diff --git a/docs/rust/doc/vortex_file/struct.RowMask.html b/docs/rust/doc/vortex_file/struct.RowMask.html index 4add8fded3..dd986d8b1b 100644 --- a/docs/rust/doc/vortex_file/struct.RowMask.html +++ b/docs/rust/doc/vortex_file/struct.RowMask.html @@ -1,25 +1,25 @@ RowMask in vortex_file - Rust

    Struct vortex_file::RowMask

    source ·
    pub struct RowMask { /* private fields */ }
    Expand description

    A RowMask captures a set of selected rows offset by a range.

    i.e., row zero of the inner FilterMask represents the offset row of the RowMask.

    -

    Implementations§

    source§

    impl RowMask

    source

    pub fn try_new(mask: FilterMask, begin: usize, end: usize) -> VortexResult<Self>

    source

    pub fn new_valid_between(begin: usize, end: usize) -> Self

    Construct a RowMask which is valid in the given range.

    +

    Implementations§

    source§

    impl RowMask

    source

    pub fn try_new(mask: FilterMask, begin: usize, end: usize) -> VortexResult<Self>

    source

    pub fn new_valid_between(begin: usize, end: usize) -> Self

    Construct a RowMask which is valid in the given range.

    source

    pub fn new_invalid_between(begin: usize, end: usize) -> Self

    Construct a RowMask which is invalid everywhere in the given range.

    source

    pub fn from_mask_array( - array: &ArrayData, + array: &ArrayData, begin: usize, end: usize, ) -> VortexResult<Self>

    Construct a RowMask from a Boolean typed array.

    True-valued positions are kept by the returned mask.

    source

    pub fn from_index_array( - array: &ArrayData, + array: &ArrayData, begin: usize, end: usize, ) -> VortexResult<Self>

    Construct a RowMask from an integral array.

    The array values are interpreted as indices and those indices are kept by the returned mask.

    -
    source

    pub fn and_bitmask(&self, bitmask: ArrayData) -> VortexResult<Self>

    Combine the RowMask with bitmask values resulting in new RowMask containing only values true in the bitmask

    +
    source

    pub fn and_bitmask(&self, bitmask: ArrayData) -> VortexResult<Self>

    Combine the RowMask with bitmask values resulting in new RowMask containing only values true in the bitmask

    source

    pub fn is_all_false(&self) -> bool

    source

    pub fn begin(&self) -> usize

    source

    pub fn end(&self) -> usize

    source

    pub fn len(&self) -> usize

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn slice(&self, begin: usize, end: usize) -> VortexResult<Self>

    Limit mask to [begin..end) range

    source

    pub fn filter_array( &self, - array: impl AsRef<ArrayData>, -) -> VortexResult<Option<ArrayData>>

    Filter array with this RowMask.

    + array: impl AsRef<ArrayData>, +) -> VortexResult<Option<ArrayData>>

    Filter array with this RowMask.

    This function assumes that Array is no longer than the mask length and that the mask starts on same offset as the array, i.e. the beginning of the array corresponds to the beginning of the mask with begin = 0

    source

    pub fn shift(self, offset: usize) -> VortexResult<RowMask>

    Trait Implementations§

    source§

    impl Clone for RowMask

    source§

    fn clone(&self) -> RowMask

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RowMask

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for RowMask

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where diff --git a/docs/rust/doc/vortex_file/struct.VortexFileArrayStream.html b/docs/rust/doc/vortex_file/struct.VortexFileArrayStream.html index 144cb87db0..e17b1e8ac8 100644 --- a/docs/rust/doc/vortex_file/struct.VortexFileArrayStream.html +++ b/docs/rust/doc/vortex_file/struct.VortexFileArrayStream.html @@ -1,9 +1,9 @@ -VortexFileArrayStream in vortex_file - Rust

    Struct vortex_file::VortexFileArrayStream

    source ·
    pub struct VortexFileArrayStream<R> { /* private fields */ }
    Expand description

    An asynchronous Vortex file that returns a [Stream] of ArrayDatas.

    +VortexFileArrayStream in vortex_file - Rust

    Struct vortex_file::VortexFileArrayStream

    source ·
    pub struct VortexFileArrayStream<R> { /* private fields */ }
    Expand description

    An asynchronous Vortex file that returns a [Stream] of [ArrayData]s.

    The file may be read from any source implementing [VortexReadAt], such as memory, disk, and object storage.

    Use VortexReadBuilder to build one from a reader.

    -

    Implementations§

    source§

    impl<R: VortexReadAt + Unpin> VortexFileArrayStream<R>

    source

    pub fn dtype(&self) -> &DType

    source

    pub fn row_count(&self) -> u64

    source§

    impl<R: VortexReadAt + Unpin> VortexFileArrayStream<R>

    source

    pub async fn read_all(self) -> VortexResult<ArrayData>

    Trait Implementations§

    source§

    impl<R: VortexReadAt + Unpin> Stream for VortexFileArrayStream<R>

    source§

    type Item = Result<ArrayData, VortexError>

    Values yielded by the stream.
    source§

    fn poll_next( +

    Implementations§

    source§

    impl<R: VortexReadAt + Unpin> VortexFileArrayStream<R>

    source

    pub fn dtype(&self) -> &DType

    source

    pub fn row_count(&self) -> u64

    source§

    impl<R: VortexReadAt + Unpin> VortexFileArrayStream<R>

    source

    pub async fn read_all(self) -> VortexResult<ArrayData>

    Trait Implementations§

    source§

    impl<R: VortexReadAt + Unpin> Stream for VortexFileArrayStream<R>

    source§

    type Item = Result<ArrayData, VortexError>

    Values yielded by the stream.
    source§

    fn poll_next( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Option<Self::Item>>

    Attempt to pull out the next value of this stream, registering the diff --git a/docs/rust/doc/vortex_file/struct.VortexFileWriter.html b/docs/rust/doc/vortex_file/struct.VortexFileWriter.html index db0775370b..747dfff128 100644 --- a/docs/rust/doc/vortex_file/struct.VortexFileWriter.html +++ b/docs/rust/doc/vortex_file/struct.VortexFileWriter.html @@ -1,4 +1,4 @@ -VortexFileWriter in vortex_file - Rust

    Struct vortex_file::VortexFileWriter

    source ·
    pub struct VortexFileWriter<W> { /* private fields */ }

    Implementations§

    source§

    impl<W: VortexWrite> VortexFileWriter<W>

    source

    pub fn new(write: W) -> Self

    source

    pub async fn write_array_columns(self, array: ArrayData) -> VortexResult<Self>

    source

    pub async fn write_array_columns_stream<S: ArrayStream + Unpin>( +VortexFileWriter in vortex_file - Rust

    Struct vortex_file::VortexFileWriter

    source ·
    pub struct VortexFileWriter<W> { /* private fields */ }

    Implementations§

    source§

    impl<W: VortexWrite> VortexFileWriter<W>

    source

    pub fn new(write: W) -> Self

    source

    pub async fn write_array_columns(self, array: ArrayData) -> VortexResult<Self>

    source

    pub async fn write_array_columns_stream<S: ArrayStream + Unpin>( self, array_stream: S, ) -> VortexResult<Self>

    source

    pub async fn finalize(self) -> VortexResult<W>

    Auto Trait Implementations§

    §

    impl<W> Freeze for VortexFileWriter<W>
    where diff --git a/docs/rust/doc/vortex_file/struct.VortexReadBuilder.html b/docs/rust/doc/vortex_file/struct.VortexReadBuilder.html index 49789da084..02a946948d 100644 --- a/docs/rust/doc/vortex_file/struct.VortexReadBuilder.html +++ b/docs/rust/doc/vortex_file/struct.VortexReadBuilder.html @@ -39,7 +39,7 @@

    │(Version, Postscript Length,│ │ Magic Bytes) │ └────────────────────────────┘ -

    Implementations§

    source§

    impl<R: VortexReadAt + Unpin> VortexReadBuilder<R>

    source

    pub fn new(read_at: R, layout_serde: LayoutDeserializer) -> Self

    source

    pub fn with_file_size(self, size: u64) -> Self

    source

    pub fn with_projection(self, projection: Projection) -> Self

    source

    pub fn with_indices(self, array: ArrayData) -> Self

    source

    pub fn with_row_filter(self, row_filter: RowFilter) -> Self

    source

    pub fn with_io_dispatcher(self, dispatcher: Arc<IoDispatcher>) -> Self

    source

    pub fn with_initial_read(self, initial_read: InitialRead) -> Self

    source

    pub async fn build(self) -> VortexResult<VortexFileArrayStream<R>>

    Auto Trait Implementations§

    §

    impl<R> !Freeze for VortexReadBuilder<R>

    §

    impl<R> !RefUnwindSafe for VortexReadBuilder<R>

    §

    impl<R> Send for VortexReadBuilder<R>
    where +

    Implementations§

    source§

    impl<R: VortexReadAt + Unpin> VortexReadBuilder<R>

    source

    pub fn new(read_at: R, layout_serde: LayoutDeserializer) -> Self

    source

    pub fn with_file_size(self, size: u64) -> Self

    source

    pub fn with_projection(self, projection: Projection) -> Self

    source

    pub fn with_indices(self, array: ArrayData) -> Self

    source

    pub fn with_row_filter(self, row_filter: RowFilter) -> Self

    source

    pub fn with_io_dispatcher(self, dispatcher: Arc<IoDispatcher>) -> Self

    source

    pub fn with_initial_read(self, initial_read: InitialRead) -> Self

    source

    pub async fn build(self) -> VortexResult<VortexFileArrayStream<R>>

    Auto Trait Implementations§

    §

    impl<R> !Freeze for VortexReadBuilder<R>

    §

    impl<R> !RefUnwindSafe for VortexReadBuilder<R>

    §

    impl<R> Send for VortexReadBuilder<R>
    where R: Send,

    §

    impl<R> Sync for VortexReadBuilder<R>
    where R: Sync,

    §

    impl<R> Unpin for VortexReadBuilder<R>
    where R: Unpin,

    §

    impl<R> !UnwindSafe for VortexReadBuilder<R>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where diff --git a/docs/rust/doc/vortex_file/trait.LayoutReader.html b/docs/rust/doc/vortex_file/trait.LayoutReader.html index 463542be24..4678d1e5bb 100644 --- a/docs/rust/doc/vortex_file/trait.LayoutReader.html +++ b/docs/rust/doc/vortex_file/trait.LayoutReader.html @@ -8,12 +8,12 @@ fn poll_read( &self, selector: &RowMask, - ) -> VortexResult<Option<PollRead<ArrayData>>>; + ) -> VortexResult<Option<PollRead<ArrayData>>>; // Provided methods fn poll_metadata( &self, - ) -> VortexResult<Option<PollRead<Vec<Option<ArrayData>>>>> { ... } + ) -> VortexResult<Option<PollRead<Vec<Option<ArrayData>>>>> { ... } fn poll_prune( &self, _begin: usize, @@ -39,7 +39,7 @@

    §S

    source

    fn poll_read( &self, selector: &RowMask, -) -> VortexResult<Option<PollRead<ArrayData>>>

    Reads the data from the underlying layout within given selection

    +) -> VortexResult<Option<PollRead<ArrayData>>>

    Reads the data from the underlying layout within given selection

    Layout is required to return all data for given selection in one batch. Layout can either return a batch of data (i.e., an Array) or ask for more layout messages to be read. When requesting messages to be read the caller should populate the message cache used when @@ -47,7 +47,7 @@

    §S

    The layout is finished producing data for selection when it returns None

    Provided Methods§

    source

    fn poll_metadata( &self, -) -> VortexResult<Option<PollRead<Vec<Option<ArrayData>>>>>

    Reads the metadata of the layout, if it exists.

    +) -> VortexResult<Option<PollRead<Vec<Option<ArrayData>>>>>

    Reads the metadata of the layout, if it exists.

    LayoutReaders can override the default behavior, which is to return no metadata.

    source

    fn poll_prune( &self, diff --git a/docs/rust/doc/vortex_fsst/fn.fsst_compress.html b/docs/rust/doc/vortex_fsst/fn.fsst_compress.html index ed1a28ec07..5405e42314 100644 --- a/docs/rust/doc/vortex_fsst/fn.fsst_compress.html +++ b/docs/rust/doc/vortex_fsst/fn.fsst_compress.html @@ -1,7 +1,7 @@ fsst_compress in vortex_fsst - Rust

    Function vortex_fsst::fsst_compress

    source ·
    pub fn fsst_compress(
    -    strings: &ArrayData,
    +    strings: &ArrayData,
         compressor: &Compressor,
     ) -> VortexResult<FSSTArray>
    Expand description

    Compress an array using FSST.

    §Panics

    -

    If the strings array is not encoded as either VarBinArray or VarBinViewArray.

    +

    If the strings array is not encoded as either [VarBinArray] or [VarBinViewArray].

    \ No newline at end of file diff --git a/docs/rust/doc/vortex_fsst/fn.fsst_train_compressor.html b/docs/rust/doc/vortex_fsst/fn.fsst_train_compressor.html index 35427a91f7..b49aa208ae 100644 --- a/docs/rust/doc/vortex_fsst/fn.fsst_train_compressor.html +++ b/docs/rust/doc/vortex_fsst/fn.fsst_train_compressor.html @@ -1,4 +1,4 @@ -fsst_train_compressor in vortex_fsst - Rust

    Function vortex_fsst::fsst_train_compressor

    source ·
    pub fn fsst_train_compressor(array: &ArrayData) -> VortexResult<Compressor>
    Expand description

    Train a compressor from an array.

    +fsst_train_compressor in vortex_fsst - Rust

    Function vortex_fsst::fsst_train_compressor

    source ·
    pub fn fsst_train_compressor(array: &ArrayData) -> VortexResult<Compressor>
    Expand description

    Train a compressor from an array.

    §Panics

    If the provided array is not FSST compressible.

    \ No newline at end of file diff --git a/docs/rust/doc/vortex_fsst/struct.FSSTArray.html b/docs/rust/doc/vortex_fsst/struct.FSSTArray.html index ac53c9bab0..eb6c3bb910 100644 --- a/docs/rust/doc/vortex_fsst/struct.FSSTArray.html +++ b/docs/rust/doc/vortex_fsst/struct.FSSTArray.html @@ -1,81 +1,81 @@ -FSSTArray in vortex_fsst - Rust

    Struct vortex_fsst::FSSTArray

    source ·
    pub struct FSSTArray(/* private fields */);

    Implementations§

    source§

    impl FSSTArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    +FSSTArray in vortex_fsst - Rust

    Struct vortex_fsst::FSSTArray

    source ·
    pub struct FSSTArray(/* private fields */);

    Implementations§

    source§

    impl FSSTArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

    source§

    impl FSSTArray

    source

    pub fn try_new( dtype: DType, - symbols: ArrayData, - symbol_lengths: ArrayData, - codes: ArrayData, - uncompressed_lengths: ArrayData, + symbols: ArrayData, + symbol_lengths: ArrayData, + codes: ArrayData, + uncompressed_lengths: ArrayData, ) -> VortexResult<Self>

    Build an FSST array from a set of symbols and codes.

    Symbols are 8-bytes and can represent short strings, each of which is assigned a code.

    The codes array is a Binary array where each binary datum is a sequence of 8-bit codes. Each code corresponds either to a symbol, or to the “escape code”, which tells the decoder to emit the following byte without doing a table lookup.

    -
    source

    pub fn symbols(&self) -> ArrayData

    Access the symbol table array

    -
    source

    pub fn symbol_lengths(&self) -> ArrayData

    Access the symbol table array

    -
    source

    pub fn codes(&self) -> ArrayData

    Access the codes array

    +
    source

    pub fn symbols(&self) -> ArrayData

    Access the symbol table array

    +
    source

    pub fn symbol_lengths(&self) -> ArrayData

    Access the symbol table array

    +
    source

    pub fn codes(&self) -> ArrayData

    Access the codes array

    source

    pub fn codes_dtype(&self) -> DType

    Get the DType of the codes array

    -
    source

    pub fn uncompressed_lengths(&self) -> ArrayData

    Get the uncompressed length for each element in the array.

    +
    source

    pub fn uncompressed_lengths(&self) -> ArrayData

    Get the uncompressed length for each element in the array.

    source

    pub fn uncompressed_lengths_dtype(&self) -> DType

    Get the DType of the uncompressed lengths array

    -
    source

    pub fn validity(&self) -> Validity

    Get the validity for this array.

    -

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for FSSTArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for FSSTArray

    source§

    fn clone(&self) -> FSSTArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl CompareFn<FSSTArray> for FSSTEncoding

    source

    pub fn validity(&self) -> Validity

    Get the validity for this array.

    +

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for FSSTArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for FSSTArray

    source§

    fn clone(&self) -> FSSTArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl CompareFn<FSSTArray> for FSSTEncoding

    source§

    fn compare( &self, lhs: &FSSTArray, - rhs: &ArrayData, - operator: Operator, -) -> VortexResult<Option<ArrayData>>

    Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
    source§

    impl Debug for FSSTArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl FilterFn<FSSTArray> for FSSTEncoding

    source§

    fn filter(&self, array: &FSSTArray, mask: FilterMask) -> VortexResult<ArrayData>

    Filter an array by the provided predicate.
    source§

    impl IntoArrayData for FSSTArray

    source§

    impl IntoCanonical for FSSTArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    source§

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where - Self: Sized,

    source§

    impl ScalarAtFn<FSSTArray> for FSSTEncoding

    source§

    fn scalar_at(&self, array: &FSSTArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<FSSTArray> for FSSTEncoding

    source§

    fn slice( + rhs: &ArrayData, + operator: Operator, +) -> VortexResult<Option<ArrayData>>

    Compares two arrays and returns a new boolean array with the result of the comparison. +Or, returns None if comparison is not supported for these arrays.
    source§

    impl Debug for FSSTArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl FilterFn<FSSTArray> for FSSTEncoding

    source§

    fn filter(&self, array: &FSSTArray, mask: FilterMask) -> VortexResult<ArrayData>

    Filter an array by the provided predicate.
    source§

    impl IntoArrayData for FSSTArray

    source§

    fn into_array(self) -> ArrayData

    source§

    impl IntoCanonical for FSSTArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    §

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where + Self: Sized,

    source§

    impl ScalarAtFn<FSSTArray> for FSSTEncoding

    source§

    fn scalar_at(&self, array: &FSSTArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<FSSTArray> for FSSTEncoding

    source§

    fn slice( &self, array: &FSSTArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
    source§

    impl StatisticsVTable<FSSTArray> for FSSTEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<FSSTArray> for FSSTEncoding

    §

    fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<FSSTArray> for FSSTEncoding

    source§

    fn take( + _stat: Stat, +) -> Result<StatsSet, VortexError>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<FSSTArray> for FSSTEncoding

    source§

    fn take( &self, array: &FSSTArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the +given indices. Read more
    §

    unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a FSSTArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for FSSTArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<FSSTArray> for FSSTEncoding

    source§

    fn is_valid(&self, array: &FSSTArray, index: usize) -> bool

    source§

    fn logical_validity(&self, array: &FSSTArray) -> LogicalValidity

    source§

    impl VariantsVTable<FSSTArray> for FSSTEncoding

    source§

    fn as_utf8_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the +given indices. Read more
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a FSSTArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for FSSTArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<FSSTArray> for FSSTEncoding

    source§

    fn is_valid(&self, array: &FSSTArray, index: usize) -> bool

    source§

    fn logical_validity(&self, array: &FSSTArray) -> LogicalValidity

    source§

    impl VariantsVTable<FSSTArray> for FSSTEncoding

    source§

    fn as_utf8_array<'a>( &self, array: &'a FSSTArray, -) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( &self, array: &'a FSSTArray, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_primitive_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    §

    fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<FSSTArray> for FSSTEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<FSSTArray> for FSSTEncoding

    source§

    fn accept( &self, array: &FSSTArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

    source§

    impl ArrayTrait for FSSTArray

    source§

    impl BinaryArrayTrait for FSSTArray

    source§

    impl Utf8ArrayTrait for FSSTArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> ArrayDType for T
    where - T: AsRef<ArrayData>,

    source§

    fn dtype(&self) -> &DType

    source§

    impl<T> ArrayEncodingRef for T
    where - T: AsRef<ArrayData>,

    source§

    fn encoding(&self) -> &'static dyn EncodingVTable

    source§

    impl<T> ArrayLen for T
    where - T: AsRef<ArrayData>,

    source§

    fn len(&self) -> usize

    source§

    fn is_empty(&self) -> bool

    source§

    impl<A> ArrayNBytes for A
    where - A: AsRef<ArrayData>,

    source§

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    source§

    impl<T> ArrayStatistics for T
    where - T: AsRef<ArrayData>,

    source§

    fn statistics(&self) -> &dyn Statistics

    source§

    fn inherit_statistics(&self, parent: &dyn Statistics)

    source§

    impl<A> ArrayValidity for A
    where - A: AsRef<ArrayData>,

    source§

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    -
    source§

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    + visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
    source§

    impl ArrayTrait for FSSTArray

    source§

    impl BinaryArrayTrait for FSSTArray

    source§

    impl Utf8ArrayTrait for FSSTArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArrayDType for T
    where + T: AsRef<ArrayData>,

    §

    fn dtype(&self) -> &DType

    §

    impl<T> ArrayEncodingRef for T
    where + T: AsRef<ArrayData>,

    §

    fn encoding(&self) -> &'static dyn EncodingVTable

    §

    impl<T> ArrayLen for T
    where + T: AsRef<ArrayData>,

    §

    fn len(&self) -> usize

    §

    fn is_empty(&self) -> bool

    §

    impl<A> ArrayNBytes for A
    where + A: AsRef<ArrayData>,

    §

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    §

    impl<T> ArrayStatistics for T
    where + T: AsRef<ArrayData>,

    §

    fn statistics(&self) -> &dyn Statistics

    §

    fn inherit_statistics(&self, parent: &dyn Statistics)

    §

    impl<A> ArrayValidity for A
    where + A: AsRef<ArrayData>,

    §

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    +
    §

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where @@ -86,16 +86,16 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    source§

    impl<T> IntoArrayVariant for T
    where - T: IntoCanonical,

    source§

    fn into_null(self) -> Result<NullArray, VortexError>

    source§

    fn into_bool(self) -> Result<BoolArray, VortexError>

    source§

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    source§

    fn into_struct(self) -> Result<StructArray, VortexError>

    source§

    fn into_list(self) -> Result<ListArray, VortexError>

    source§

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    source§

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +
    §

    impl<T> IntoArrayVariant for T
    where + T: IntoCanonical,

    §

    fn into_null(self) -> Result<NullArray, VortexError>

    §

    fn into_bool(self) -> Result<BoolArray, VortexError>

    §

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    §

    fn into_struct(self) -> Result<StructArray, VortexError>

    §

    fn into_list(self) -> Result<ListArray, VortexError>

    §

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    §

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<A> ToArrayData for A
    where - A: AsRef<ArrayData>,

    source§

    impl<T> ToOwned for T
    where +otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    §

    impl<A> ToArrayData for A
    where + A: AsRef<ArrayData>,

    §

    fn to_array(&self) -> ArrayData

    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where diff --git a/docs/rust/doc/vortex_fsst/struct.FSSTEncoding.html b/docs/rust/doc/vortex_fsst/struct.FSSTEncoding.html index 96021d9916..431bb838ca 100644 --- a/docs/rust/doc/vortex_fsst/struct.FSSTEncoding.html +++ b/docs/rust/doc/vortex_fsst/struct.FSSTEncoding.html @@ -1,51 +1,51 @@ FSSTEncoding in vortex_fsst - Rust

    Struct vortex_fsst::FSSTEncoding

    source ·
    pub struct FSSTEncoding;
    Expand description

    The array encoding

    -

    Trait Implementations§

    source§

    impl CompareFn<FSSTArray> for FSSTEncoding

    Trait Implementations§

    source§

    impl CompareFn<FSSTArray> for FSSTEncoding

    source§

    fn compare( &self, lhs: &FSSTArray, - rhs: &ArrayData, - operator: Operator, -) -> VortexResult<Option<ArrayData>>

    Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
    source§

    impl ComputeVTable for FSSTEncoding

    source§

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    source§

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    source§

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
    source§

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    source§

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    source§

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    source§

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    source§

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    source§

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    source§

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    source§

    impl Debug for FSSTEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for FSSTEncoding

    source§

    impl EncodingVTable for FSSTEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl FilterFn<FSSTArray> for FSSTEncoding

    source§

    fn filter(&self, array: &FSSTArray, mask: FilterMask) -> VortexResult<ArrayData>

    Filter an array by the provided predicate.
    source§

    impl ScalarAtFn<FSSTArray> for FSSTEncoding

    source§

    fn scalar_at(&self, array: &FSSTArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<FSSTArray> for FSSTEncoding

    source§

    fn slice( + rhs: &ArrayData, + operator: Operator, +) -> VortexResult<Option<ArrayData>>

    Compares two arrays and returns a new boolean array with the result of the comparison. +Or, returns None if comparison is not supported for these arrays.
    source§

    impl ComputeVTable for FSSTEncoding

    source§

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    source§

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    source§

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
    §

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    §

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    §

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    §

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    §

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    §

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    §

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    source§

    impl Debug for FSSTEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for FSSTEncoding

    source§

    impl EncodingVTable for FSSTEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl FilterFn<FSSTArray> for FSSTEncoding

    source§

    fn filter(&self, array: &FSSTArray, mask: FilterMask) -> VortexResult<ArrayData>

    Filter an array by the provided predicate.
    source§

    impl ScalarAtFn<FSSTArray> for FSSTEncoding

    source§

    fn scalar_at(&self, array: &FSSTArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<FSSTArray> for FSSTEncoding

    source§

    fn slice( &self, array: &FSSTArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
    source§

    impl StatisticsVTable<FSSTArray> for FSSTEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<FSSTArray> for FSSTEncoding

    §

    fn compute_statistics( &self, _array: &Array, - _stat: Stat, -) -> Result<StatsSet, VortexError>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<FSSTArray> for FSSTEncoding

    source§

    fn take( + _stat: Stat, +) -> Result<StatsSet, VortexError>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<FSSTArray> for FSSTEncoding

    source§

    fn take( &self, array: &FSSTArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the +given indices. Read more
    §

    unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    impl ValidityVTable<FSSTArray> for FSSTEncoding

    source§

    fn is_valid(&self, array: &FSSTArray, index: usize) -> bool

    source§

    fn logical_validity(&self, array: &FSSTArray) -> LogicalValidity

    source§

    impl VariantsVTable<FSSTArray> for FSSTEncoding

    source§

    fn as_utf8_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the +given indices. Read more
    source§

    impl ValidityVTable<FSSTArray> for FSSTEncoding

    source§

    fn is_valid(&self, array: &FSSTArray, index: usize) -> bool

    source§

    fn logical_validity(&self, array: &FSSTArray) -> LogicalValidity

    source§

    impl VariantsVTable<FSSTArray> for FSSTEncoding

    source§

    fn as_utf8_array<'a>( &self, array: &'a FSSTArray, -) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( &self, array: &'a FSSTArray, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_primitive_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    §

    fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<FSSTArray> for FSSTEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<FSSTArray> for FSSTEncoding

    source§

    fn accept( &self, array: &FSSTArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where @@ -63,12 +63,12 @@ F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<E> MetadataVTable for E
    where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    impl<E> MetadataVTable for E
    where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where diff --git a/docs/rust/doc/vortex_fsst/struct.FSSTMetadata.html b/docs/rust/doc/vortex_fsst/struct.FSSTMetadata.html index 48e8aad40c..e93c0dbe75 100644 --- a/docs/rust/doc/vortex_fsst/struct.FSSTMetadata.html +++ b/docs/rust/doc/vortex_fsst/struct.FSSTMetadata.html @@ -1,5 +1,5 @@ -FSSTMetadata in vortex_fsst - Rust

    Struct vortex_fsst::FSSTMetadata

    source ·
    pub struct FSSTMetadata { /* private fields */ }

    Trait Implementations§

    source§

    impl ArrayMetadata for FSSTMetadata

    Implement ArrayMetadata

    -
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for FSSTMetadata

    source§

    fn clone(&self) -> FSSTMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FSSTMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for FSSTMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +FSSTMetadata in vortex_fsst - Rust

    Struct vortex_fsst::FSSTMetadata

    source ·
    pub struct FSSTMetadata { /* private fields */ }

    Trait Implementations§

    source§

    impl ArrayMetadata for FSSTMetadata

    Implement ArrayMetadata

    +
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for FSSTMetadata

    source§

    fn clone(&self) -> FSSTMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FSSTMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for FSSTMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for FSSTMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Serialize for FSSTMetadata

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -22,13 +22,13 @@ otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    §

    impl<T> ToRawKvValue for T
    where T: Serialize,

    §

    fn raw_kv_value(&self) -> Result<JsValue, KvError>

    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where - M: Deserialize<'de>,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    §

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where + M: Deserialize<'de>,

    §

    fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<M> TrySerializeArrayMetadata for M
    where - M: Serialize,

    source§

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<M> TrySerializeArrayMetadata for M
    where + M: Serialize,

    §

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_fuzz/enum.Action.html b/docs/rust/doc/vortex_fuzz/enum.Action.html index 7616a55a73..ca5c7a9ab1 100644 --- a/docs/rust/doc/vortex_fuzz/enum.Action.html +++ b/docs/rust/doc/vortex_fuzz/enum.Action.html @@ -1,10 +1,10 @@ Action in vortex_fuzz - Rust

    Enum vortex_fuzz::Action

    source ·
    pub enum Action {
    -    Compress(SamplingCompressor<'static>),
    +    Compress(SamplingCompressor<'static>),
         Slice(Range<usize>),
         Take(ArrayData),
         SearchSorted(Scalar, SearchSortedSide),
         Filter(FilterMask),
    -}

    Variants§

    §

    Compress(SamplingCompressor<'static>)

    §

    Slice(Range<usize>)

    §

    Take(ArrayData)

    §

    SearchSorted(Scalar, SearchSortedSide)

    §

    Filter(FilterMask)

    Trait Implementations§

    source§

    impl Debug for Action

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl !Freeze for Action

    §

    impl !RefUnwindSafe for Action

    §

    impl Send for Action

    §

    impl Sync for Action

    §

    impl Unpin for Action

    §

    impl !UnwindSafe for Action

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    §

    Compress(SamplingCompressor<'static>)

    §

    Slice(Range<usize>)

    §

    Take(ArrayData)

    §

    SearchSorted(Scalar, SearchSortedSide)

    §

    Filter(FilterMask)

    Trait Implementations§

    source§

    impl Debug for Action

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl !Freeze for Action

    §

    impl !RefUnwindSafe for Action

    §

    impl Send for Action

    §

    impl Sync for Action

    §

    impl Unpin for Action

    §

    impl !UnwindSafe for Action

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_ipc/messages/reader/struct.ArrayMessageReader.html b/docs/rust/doc/vortex_ipc/messages/reader/struct.ArrayMessageReader.html index 166701c2f8..b09a0d7813 100644 --- a/docs/rust/doc/vortex_ipc/messages/reader/struct.ArrayMessageReader.html +++ b/docs/rust/doc/vortex_ipc/messages/reader/struct.ArrayMessageReader.html @@ -1,8 +1,8 @@ ArrayMessageReader in vortex_ipc::messages::reader - Rust

    Struct vortex_ipc::messages::reader::ArrayMessageReader

    source ·
    pub struct ArrayMessageReader { /* private fields */ }

    Implementations§

    source§

    impl ArrayMessageReader

    source

    pub fn new() -> Self

    source

    pub fn from_fb_bytes(fb_bytes: Buffer) -> Self

    source

    pub fn read(&mut self, bytes: Bytes) -> VortexResult<Option<usize>>

    source

    pub fn into_array( self, - ctx: Arc<Context>, + ctx: Arc<Context>, dtype: DType, -) -> VortexResult<ArrayData>

    Produce the array buffered in the reader

    +) -> VortexResult<ArrayData>

    Produce the array buffered in the reader

    Trait Implementations§

    source§

    impl Default for ArrayMessageReader

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/docs/rust/doc/vortex_ipc/messages/reader/struct.MessageReader.html b/docs/rust/doc/vortex_ipc/messages/reader/struct.MessageReader.html index 396b341b1d..f4e5c41c16 100644 --- a/docs/rust/doc/vortex_ipc/messages/reader/struct.MessageReader.html +++ b/docs/rust/doc/vortex_ipc/messages/reader/struct.MessageReader.html @@ -1,17 +1,17 @@ MessageReader in vortex_ipc::messages::reader - Rust

    Struct vortex_ipc::messages::reader::MessageReader

    source ·
    pub struct MessageReader<R> { /* private fields */ }
    Expand description

    A stateful reader of [Messages][fb::Message] from a stream.

    Implementations§

    source§

    impl<R: VortexReadAt> MessageReader<R>

    source

    pub async fn try_new(read: VortexBufReader<R>) -> VortexResult<Self>

    source

    pub async fn read_dtype(&mut self) -> VortexResult<DType>

    source

    pub async fn maybe_read_chunk( &mut self, - ctx: Arc<Context>, + ctx: Arc<Context>, dtype: DType, -) -> VortexResult<Option<ArrayData>>

    source

    pub fn array_stream( +) -> VortexResult<Option<ArrayData>>

    source

    pub fn array_stream( &mut self, - ctx: Arc<Context>, + ctx: Arc<Context>, dtype: DType, -) -> impl ArrayStream + '_

    source

    pub fn into_array_stream( +) -> impl ArrayStream + '_

    source

    pub fn into_array_stream( self, - ctx: Arc<Context>, + ctx: Arc<Context>, dtype: DType, -) -> impl ArrayStream

    source

    pub async fn maybe_read_page(&mut self) -> VortexResult<Option<Buffer>>

    source

    pub fn into_inner(self) -> VortexBufReader<R>

    Auto Trait Implementations§

    §

    impl<R> !Freeze for MessageReader<R>

    §

    impl<R> RefUnwindSafe for MessageReader<R>
    where +) -> impl ArrayStream

    source

    pub async fn maybe_read_page(&mut self) -> VortexResult<Option<Buffer>>

    source

    pub fn into_inner(self) -> VortexBufReader<R>

    Auto Trait Implementations§

    §

    impl<R> !Freeze for MessageReader<R>

    §

    impl<R> RefUnwindSafe for MessageReader<R>
    where R: RefUnwindSafe,

    §

    impl<R> Send for MessageReader<R>
    where R: Send,

    §

    impl<R> Sync for MessageReader<R>
    where R: Sync,

    §

    impl<R> Unpin for MessageReader<R>
    where diff --git a/docs/rust/doc/vortex_ipc/messages/struct.IPCArray.html b/docs/rust/doc/vortex_ipc/messages/struct.IPCArray.html index 226f677ce8..b6056f9f45 100644 --- a/docs/rust/doc/vortex_ipc/messages/struct.IPCArray.html +++ b/docs/rust/doc/vortex_ipc/messages/struct.IPCArray.html @@ -1,4 +1,4 @@ -IPCArray in vortex_ipc::messages - Rust

    Struct vortex_ipc::messages::IPCArray

    source ·
    pub struct IPCArray<'a>(pub &'a ArrayData, _);

    Tuple Fields§

    §0: &'a ArrayData

    Trait Implementations§

    source§

    impl WriteFlatBuffer for IPCArray<'_>

    source§

    type Target<'t> = Array<'t>

    source§

    fn write_flatbuffer<'fb>( +IPCArray in vortex_ipc::messages - Rust

    Struct vortex_ipc::messages::IPCArray

    source ·
    pub struct IPCArray<'a>(pub &'a ArrayData, _);

    Tuple Fields§

    §0: &'a ArrayData

    Trait Implementations§

    source§

    impl WriteFlatBuffer for IPCArray<'_>

    source§

    type Target<'t> = Array<'t>

    source§

    fn write_flatbuffer<'fb>( &self, fbb: &mut FlatBufferBuilder<'fb>, ) -> WIPOffset<Self::Target<'fb>>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for IPCArray<'a>

    §

    impl<'a> !RefUnwindSafe for IPCArray<'a>

    §

    impl<'a> Send for IPCArray<'a>

    §

    impl<'a> Sync for IPCArray<'a>

    §

    impl<'a> Unpin for IPCArray<'a>

    §

    impl<'a> !UnwindSafe for IPCArray<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where diff --git a/docs/rust/doc/vortex_ipc/messages/struct.IPCBatch.html b/docs/rust/doc/vortex_ipc/messages/struct.IPCBatch.html index dd3b3b0ac7..e89cd8fca9 100644 --- a/docs/rust/doc/vortex_ipc/messages/struct.IPCBatch.html +++ b/docs/rust/doc/vortex_ipc/messages/struct.IPCBatch.html @@ -1,4 +1,4 @@ -IPCBatch in vortex_ipc::messages - Rust

    Struct vortex_ipc::messages::IPCBatch

    source ·
    pub struct IPCBatch<'a>(pub &'a ArrayData);

    Tuple Fields§

    §0: &'a ArrayData

    Trait Implementations§

    source§

    impl WriteFlatBuffer for IPCBatch<'_>

    source§

    type Target<'t> = Batch<'t>

    source§

    fn write_flatbuffer<'fb>( +IPCBatch in vortex_ipc::messages - Rust

    Struct vortex_ipc::messages::IPCBatch

    source ·
    pub struct IPCBatch<'a>(pub &'a ArrayData);

    Tuple Fields§

    §0: &'a ArrayData

    Trait Implementations§

    source§

    impl WriteFlatBuffer for IPCBatch<'_>

    source§

    type Target<'t> = Batch<'t>

    source§

    fn write_flatbuffer<'fb>( &self, fbb: &mut FlatBufferBuilder<'fb>, ) -> WIPOffset<Self::Target<'fb>>

    Auto Trait Implementations§

    §

    impl<'a> Freeze for IPCBatch<'a>

    §

    impl<'a> !RefUnwindSafe for IPCBatch<'a>

    §

    impl<'a> Send for IPCBatch<'a>

    §

    impl<'a> Sync for IPCBatch<'a>

    §

    impl<'a> Unpin for IPCBatch<'a>

    §

    impl<'a> !UnwindSafe for IPCBatch<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where diff --git a/docs/rust/doc/vortex_ipc/messages/writer/struct.MessageWriter.html b/docs/rust/doc/vortex_ipc/messages/writer/struct.MessageWriter.html index ea5c54da8b..24470b1b60 100644 --- a/docs/rust/doc/vortex_ipc/messages/writer/struct.MessageWriter.html +++ b/docs/rust/doc/vortex_ipc/messages/writer/struct.MessageWriter.html @@ -1,5 +1,5 @@ MessageWriter in vortex_ipc::messages::writer - Rust

    Struct vortex_ipc::messages::writer::MessageWriter

    source ·
    pub struct MessageWriter<W> { /* private fields */ }

    Implementations§

    source§

    impl<W: VortexWrite> MessageWriter<W>

    source

    pub fn new(write: W) -> Self

    source

    pub fn into_inner(self) -> W

    source

    pub fn tell(&self) -> u64

    Returns the current position in the stream.

    -
    source

    pub async fn write_dtype_raw(&mut self, dtype: &DType) -> Result<()>

    source

    pub async fn write_dtype(&mut self, dtype: &DType) -> Result<()>

    source

    pub async fn write_batch(&mut self, chunk: ArrayData) -> Result<()>

    source

    pub async fn write_page(&mut self, buffer: Buffer) -> Result<()>

    source

    pub async fn write_message<F: WriteFlatBuffer>( +

    source

    pub async fn write_dtype_raw(&mut self, dtype: &DType) -> Result<()>

    source

    pub async fn write_dtype(&mut self, dtype: &DType) -> Result<()>

    source

    pub async fn write_batch(&mut self, chunk: ArrayData) -> Result<()>

    source

    pub async fn write_page(&mut self, buffer: Buffer) -> Result<()>

    source

    pub async fn write_message<F: WriteFlatBuffer>( &mut self, flatbuffer: F, ) -> Result<()>

    Trait Implementations§

    source§

    impl<W: Debug> Debug for MessageWriter<W>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<W> Freeze for MessageWriter<W>
    where diff --git a/docs/rust/doc/vortex_ipc/stream_reader/struct.StreamArrayReader.html b/docs/rust/doc/vortex_ipc/stream_reader/struct.StreamArrayReader.html index 6fedfdb0ad..ba6eeb9c20 100644 --- a/docs/rust/doc/vortex_ipc/stream_reader/struct.StreamArrayReader.html +++ b/docs/rust/doc/vortex_ipc/stream_reader/struct.StreamArrayReader.html @@ -1,8 +1,8 @@ StreamArrayReader in vortex_ipc::stream_reader - Rust

    Struct vortex_ipc::stream_reader::StreamArrayReader

    source ·
    pub struct StreamArrayReader<R: VortexReadAt> { /* private fields */ }

    Implementations§

    source§

    impl<R: VortexReadAt> StreamArrayReader<R>

    source

    pub async fn try_new( read: VortexBufReader<R>, - ctx: Arc<Context>, -) -> VortexResult<Self>

    source

    pub fn with_dtype(self, dtype: Arc<DType>) -> Self

    source

    pub async fn load_dtype(self) -> VortexResult<Self>

    source

    pub fn array_stream(&mut self) -> impl ArrayStream + '_

    Reads a single array from the stream.

    -
    source

    pub fn into_array_stream(self) -> impl ArrayStream

    source

    pub async fn next_page(&mut self) -> VortexResult<Option<Buffer>>

    Reads a single page from the stream.

    + ctx: Arc<Context>, +) -> VortexResult<Self>

    source

    pub fn with_dtype(self, dtype: Arc<DType>) -> Self

    source

    pub async fn load_dtype(self) -> VortexResult<Self>

    source

    pub fn array_stream(&mut self) -> impl ArrayStream + '_

    Reads a single array from the stream.

    +
    source

    pub fn into_array_stream(self) -> impl ArrayStream

    source

    pub async fn next_page(&mut self) -> VortexResult<Option<Buffer>>

    Reads a single page from the stream.

    source

    pub async fn page_stream( &mut self, ) -> impl Stream<Item = VortexResult<Buffer>> + '_

    Reads consecutive pages from the stream until the message type changes.

    diff --git a/docs/rust/doc/vortex_ipc/stream_writer/struct.StreamArrayWriter.html b/docs/rust/doc/vortex_ipc/stream_writer/struct.StreamArrayWriter.html index e887f634be..782c7cb6af 100644 --- a/docs/rust/doc/vortex_ipc/stream_writer/struct.StreamArrayWriter.html +++ b/docs/rust/doc/vortex_ipc/stream_writer/struct.StreamArrayWriter.html @@ -1,7 +1,7 @@ -StreamArrayWriter in vortex_ipc::stream_writer - Rust

    Struct vortex_ipc::stream_writer::StreamArrayWriter

    source ·
    pub struct StreamArrayWriter<W: VortexWrite> { /* private fields */ }

    Implementations§

    source§

    impl<W: VortexWrite> StreamArrayWriter<W>

    source

    pub fn new(write: W) -> Self

    source

    pub fn array_layouts(&self) -> &[ArrayLayout]

    source

    pub fn page_ranges(&self) -> &[ByteRange]

    source

    pub fn into_inner(self) -> W

    source

    pub async fn write_array_stream<S: ArrayStream + Unpin>( +StreamArrayWriter in vortex_ipc::stream_writer - Rust

    Struct vortex_ipc::stream_writer::StreamArrayWriter

    source ·
    pub struct StreamArrayWriter<W: VortexWrite> { /* private fields */ }

    Implementations§

    source§

    impl<W: VortexWrite> StreamArrayWriter<W>

    source

    pub fn new(write: W) -> Self

    source

    pub fn array_layouts(&self) -> &[ArrayLayout]

    source

    pub fn page_ranges(&self) -> &[ByteRange]

    source

    pub fn into_inner(self) -> W

    source

    pub async fn write_array_stream<S: ArrayStream + Unpin>( self, array_stream: S, -) -> VortexResult<Self>

    source

    pub async fn write_array(self, array: ArrayData) -> VortexResult<Self>

    source

    pub async fn write_page(self, buffer: Buffer) -> VortexResult<Self>

    Auto Trait Implementations§

    §

    impl<W> Freeze for StreamArrayWriter<W>
    where +) -> VortexResult<Self>

    source

    pub async fn write_array(self, array: ArrayData) -> VortexResult<Self>

    source

    pub async fn write_page(self, buffer: Buffer) -> VortexResult<Self>

    Auto Trait Implementations§

    §

    impl<W> Freeze for StreamArrayWriter<W>
    where W: Freeze,

    §

    impl<W> RefUnwindSafe for StreamArrayWriter<W>
    where W: RefUnwindSafe,

    §

    impl<W> Send for StreamArrayWriter<W>
    where W: Send,

    §

    impl<W> Sync for StreamArrayWriter<W>
    where diff --git a/docs/rust/doc/vortex_roaring/fn.roaring_bool_encode.html b/docs/rust/doc/vortex_roaring/fn.roaring_bool_encode.html index 04afe94d5d..440c981ba5 100644 --- a/docs/rust/doc/vortex_roaring/fn.roaring_bool_encode.html +++ b/docs/rust/doc/vortex_roaring/fn.roaring_bool_encode.html @@ -1,3 +1,3 @@ roaring_bool_encode in vortex_roaring - Rust

    Function vortex_roaring::roaring_bool_encode

    source ·
    pub fn roaring_bool_encode(
    -    bool_array: BoolArray,
    +    bool_array: BoolArray,
     ) -> VortexResult<RoaringBoolArray>
    \ No newline at end of file diff --git a/docs/rust/doc/vortex_roaring/fn.roaring_int_encode.html b/docs/rust/doc/vortex_roaring/fn.roaring_int_encode.html index 173fd86e47..3fe465a0e6 100644 --- a/docs/rust/doc/vortex_roaring/fn.roaring_int_encode.html +++ b/docs/rust/doc/vortex_roaring/fn.roaring_int_encode.html @@ -1,3 +1,3 @@ roaring_int_encode in vortex_roaring - Rust

    Function vortex_roaring::roaring_int_encode

    source ·
    pub fn roaring_int_encode(
    -    parray: PrimitiveArray,
    +    parray: PrimitiveArray,
     ) -> VortexResult<RoaringIntArray>
    \ No newline at end of file diff --git a/docs/rust/doc/vortex_roaring/struct.RoaringBoolArray.html b/docs/rust/doc/vortex_roaring/struct.RoaringBoolArray.html index 0ada852eec..114b68dbba 100644 --- a/docs/rust/doc/vortex_roaring/struct.RoaringBoolArray.html +++ b/docs/rust/doc/vortex_roaring/struct.RoaringBoolArray.html @@ -1,50 +1,50 @@ -RoaringBoolArray in vortex_roaring - Rust

    Struct vortex_roaring::RoaringBoolArray

    source ·
    pub struct RoaringBoolArray(/* private fields */);

    Implementations§

    source§

    impl RoaringBoolArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    +RoaringBoolArray in vortex_roaring - Rust

    Struct vortex_roaring::RoaringBoolArray

    source ·
    pub struct RoaringBoolArray(/* private fields */);

    Implementations§

    source§

    impl RoaringBoolArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

    -
    source§

    impl RoaringBoolArray

    source

    pub fn try_new(bitmap: Bitmap, length: usize) -> VortexResult<Self>

    source

    pub fn bitmap(&self) -> Bitmap

    source

    pub fn encode(array: ArrayData) -> VortexResult<ArrayData>

    source

    pub fn buffer(&self) -> &Buffer

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for RoaringBoolArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for RoaringBoolArray

    source§

    fn clone(&self) -> RoaringBoolArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RoaringBoolArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoArrayData for RoaringBoolArray

    source§

    impl IntoCanonical for RoaringBoolArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    source§

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where - Self: Sized,

    source§

    impl InvertFn<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn invert(&self, array: &RoaringBoolArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl ScalarAtFn<RoaringBoolArray> for RoaringBoolEncoding

    source§

    impl RoaringBoolArray

    source

    pub fn try_new(bitmap: Bitmap, length: usize) -> VortexResult<Self>

    source

    pub fn bitmap(&self) -> Bitmap

    source

    pub fn encode(array: ArrayData) -> VortexResult<ArrayData>

    source

    pub fn buffer(&self) -> &Buffer

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for RoaringBoolArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for RoaringBoolArray

    source§

    fn clone(&self) -> RoaringBoolArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RoaringBoolArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoArrayData for RoaringBoolArray

    source§

    fn into_array(self) -> ArrayData

    source§

    impl IntoCanonical for RoaringBoolArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    §

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where + Self: Sized,

    source§

    impl InvertFn<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn invert(&self, array: &RoaringBoolArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl ScalarAtFn<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn scalar_at( &self, array: &RoaringBoolArray, index: usize, -) -> VortexResult<Scalar>

    source§

    impl SliceFn<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn slice( +) -> VortexResult<Scalar>

    source§

    impl SliceFn<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn slice( &self, array: &RoaringBoolArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn compute_statistics( &self, array: &RoaringBoolArray, - stat: Stat, -) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a RoaringBoolArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for RoaringBoolArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    impl VariantsVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn as_bool_array<'a>( + stat: Stat, +) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a RoaringBoolArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for RoaringBoolArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn is_valid(&self, _array: &RoaringBoolArray, _index: usize) -> bool

    source§

    fn logical_validity(&self, array: &RoaringBoolArray) -> LogicalValidity

    source§

    impl VariantsVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn as_bool_array<'a>( &self, array: &'a RoaringBoolArray, -) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    §

    fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn accept( &self, array: &RoaringBoolArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

    source§

    impl ArrayTrait for RoaringBoolArray

    source§

    impl BoolArrayTrait for RoaringBoolArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> ArrayDType for T
    where - T: AsRef<ArrayData>,

    source§

    fn dtype(&self) -> &DType

    source§

    impl<T> ArrayEncodingRef for T
    where - T: AsRef<ArrayData>,

    source§

    fn encoding(&self) -> &'static dyn EncodingVTable

    source§

    impl<T> ArrayLen for T
    where - T: AsRef<ArrayData>,

    source§

    fn len(&self) -> usize

    source§

    fn is_empty(&self) -> bool

    source§

    impl<A> ArrayNBytes for A
    where - A: AsRef<ArrayData>,

    source§

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    source§

    impl<T> ArrayStatistics for T
    where - T: AsRef<ArrayData>,

    source§

    fn statistics(&self) -> &dyn Statistics

    source§

    fn inherit_statistics(&self, parent: &dyn Statistics)

    source§

    impl<A> ArrayValidity for A
    where - A: AsRef<ArrayData>,

    source§

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    -
    source§

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    + visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
    source§

    impl ArrayTrait for RoaringBoolArray

    source§

    impl BoolArrayTrait for RoaringBoolArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArrayDType for T
    where + T: AsRef<ArrayData>,

    §

    fn dtype(&self) -> &DType

    §

    impl<T> ArrayEncodingRef for T
    where + T: AsRef<ArrayData>,

    §

    fn encoding(&self) -> &'static dyn EncodingVTable

    §

    impl<T> ArrayLen for T
    where + T: AsRef<ArrayData>,

    §

    fn len(&self) -> usize

    §

    fn is_empty(&self) -> bool

    §

    impl<A> ArrayNBytes for A
    where + A: AsRef<ArrayData>,

    §

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    §

    impl<T> ArrayStatistics for T
    where + T: AsRef<ArrayData>,

    §

    fn statistics(&self) -> &dyn Statistics

    §

    fn inherit_statistics(&self, parent: &dyn Statistics)

    §

    impl<A> ArrayValidity for A
    where + A: AsRef<ArrayData>,

    §

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    +
    §

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where @@ -55,16 +55,16 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    source§

    impl<T> IntoArrayVariant for T
    where - T: IntoCanonical,

    source§

    fn into_null(self) -> Result<NullArray, VortexError>

    source§

    fn into_bool(self) -> Result<BoolArray, VortexError>

    source§

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    source§

    fn into_struct(self) -> Result<StructArray, VortexError>

    source§

    fn into_list(self) -> Result<ListArray, VortexError>

    source§

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    source§

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +
    §

    impl<T> IntoArrayVariant for T
    where + T: IntoCanonical,

    §

    fn into_null(self) -> Result<NullArray, VortexError>

    §

    fn into_bool(self) -> Result<BoolArray, VortexError>

    §

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    §

    fn into_struct(self) -> Result<StructArray, VortexError>

    §

    fn into_list(self) -> Result<ListArray, VortexError>

    §

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    §

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<A> ToArrayData for A
    where - A: AsRef<ArrayData>,

    source§

    impl<T> ToOwned for T
    where +otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    §

    impl<A> ToArrayData for A
    where + A: AsRef<ArrayData>,

    §

    fn to_array(&self) -> ArrayData

    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where diff --git a/docs/rust/doc/vortex_roaring/struct.RoaringBoolEncoding.html b/docs/rust/doc/vortex_roaring/struct.RoaringBoolEncoding.html index 56b4a15d29..a96ca82456 100644 --- a/docs/rust/doc/vortex_roaring/struct.RoaringBoolEncoding.html +++ b/docs/rust/doc/vortex_roaring/struct.RoaringBoolEncoding.html @@ -1,39 +1,39 @@ RoaringBoolEncoding in vortex_roaring - Rust

    Struct vortex_roaring::RoaringBoolEncoding

    source ·
    pub struct RoaringBoolEncoding;
    Expand description

    The array encoding

    -

    Trait Implementations§

    source§

    impl ComputeVTable for RoaringBoolEncoding

    source§

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    source§

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    source§

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    source§

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    source§

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    source§

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    source§

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    source§

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    source§

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    source§

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
    source§

    impl Debug for RoaringBoolEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for RoaringBoolEncoding

    source§

    impl EncodingVTable for RoaringBoolEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl InvertFn<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn invert(&self, array: &RoaringBoolArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl ScalarAtFn<RoaringBoolArray> for RoaringBoolEncoding

    Trait Implementations§

    source§

    impl ComputeVTable for RoaringBoolEncoding

    source§

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    §

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    §

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    §

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    §

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    §

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    §

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    §

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    §

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    §

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
    source§

    impl Debug for RoaringBoolEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for RoaringBoolEncoding

    source§

    impl EncodingVTable for RoaringBoolEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl InvertFn<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn invert(&self, array: &RoaringBoolArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl ScalarAtFn<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn scalar_at( &self, array: &RoaringBoolArray, index: usize, -) -> VortexResult<Scalar>

    source§

    impl SliceFn<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn slice( +) -> VortexResult<Scalar>

    source§

    impl SliceFn<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn slice( &self, array: &RoaringBoolArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
    source§

    impl StatisticsVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn compute_statistics( &self, array: &RoaringBoolArray, - stat: Stat, -) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl ValidityVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    impl VariantsVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn as_bool_array<'a>( + stat: Stat, +) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl ValidityVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn is_valid(&self, _array: &RoaringBoolArray, _index: usize) -> bool

    source§

    fn logical_validity(&self, array: &RoaringBoolArray) -> LogicalValidity

    source§

    impl VariantsVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn as_bool_array<'a>( &self, array: &'a RoaringBoolArray, -) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    §

    fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RoaringBoolArray> for RoaringBoolEncoding

    source§

    fn accept( &self, array: &RoaringBoolArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where @@ -51,12 +51,12 @@ F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<E> MetadataVTable for E
    where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    impl<E> MetadataVTable for E
    where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where diff --git a/docs/rust/doc/vortex_roaring/struct.RoaringBoolMetadata.html b/docs/rust/doc/vortex_roaring/struct.RoaringBoolMetadata.html index 0e19902a96..367431a5cb 100644 --- a/docs/rust/doc/vortex_roaring/struct.RoaringBoolMetadata.html +++ b/docs/rust/doc/vortex_roaring/struct.RoaringBoolMetadata.html @@ -1,5 +1,5 @@ -RoaringBoolMetadata in vortex_roaring - Rust

    Struct vortex_roaring::RoaringBoolMetadata

    source ·
    pub struct RoaringBoolMetadata;

    Trait Implementations§

    source§

    impl ArrayMetadata for RoaringBoolMetadata

    Implement ArrayMetadata

    -
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for RoaringBoolMetadata

    source§

    fn clone(&self) -> RoaringBoolMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RoaringBoolMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RoaringBoolMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +RoaringBoolMetadata in vortex_roaring - Rust

    Struct vortex_roaring::RoaringBoolMetadata

    source ·
    pub struct RoaringBoolMetadata;

    Trait Implementations§

    source§

    impl ArrayMetadata for RoaringBoolMetadata

    Implement ArrayMetadata

    +
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for RoaringBoolMetadata

    source§

    fn clone(&self) -> RoaringBoolMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RoaringBoolMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RoaringBoolMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RoaringBoolMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Serialize for RoaringBoolMetadata

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -22,13 +22,13 @@ otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    §

    impl<T> ToRawKvValue for T
    where T: Serialize,

    §

    fn raw_kv_value(&self) -> Result<JsValue, KvError>

    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where - M: Deserialize<'de>,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    §

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where + M: Deserialize<'de>,

    §

    fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<M> TrySerializeArrayMetadata for M
    where - M: Serialize,

    source§

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<M> TrySerializeArrayMetadata for M
    where + M: Serialize,

    §

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_roaring/struct.RoaringIntArray.html b/docs/rust/doc/vortex_roaring/struct.RoaringIntArray.html index 704cf506ff..4962d79542 100644 --- a/docs/rust/doc/vortex_roaring/struct.RoaringIntArray.html +++ b/docs/rust/doc/vortex_roaring/struct.RoaringIntArray.html @@ -1,47 +1,47 @@ -RoaringIntArray in vortex_roaring - Rust

    Struct vortex_roaring::RoaringIntArray

    source ·
    pub struct RoaringIntArray(/* private fields */);

    Implementations§

    source§

    impl RoaringIntArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    +RoaringIntArray in vortex_roaring - Rust

    Struct vortex_roaring::RoaringIntArray

    source ·
    pub struct RoaringIntArray(/* private fields */);

    Implementations§

    source§

    impl RoaringIntArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

    -
    source§

    impl RoaringIntArray

    source

    pub fn try_new(bitmap: Bitmap, ptype: PType) -> VortexResult<Self>

    source

    pub fn owned_bitmap(&self) -> Bitmap

    source

    pub fn cached_ptype(&self) -> PType

    source

    pub fn encode(array: ArrayData) -> VortexResult<ArrayData>

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for RoaringIntArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for RoaringIntArray

    source§

    fn clone(&self) -> RoaringIntArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RoaringIntArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoArrayData for RoaringIntArray

    source§

    impl IntoCanonical for RoaringIntArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    source§

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where - Self: Sized,

    source§

    impl PrimitiveArrayTrait for RoaringIntArray

    source§

    fn ptype(&self) -> PType

    source§

    impl ScalarAtFn<RoaringIntArray> for RoaringIntEncoding

    source§

    impl RoaringIntArray

    source

    pub fn try_new(bitmap: Bitmap, ptype: PType) -> VortexResult<Self>

    source

    pub fn owned_bitmap(&self) -> Bitmap

    source

    pub fn cached_ptype(&self) -> PType

    source

    pub fn encode(array: ArrayData) -> VortexResult<ArrayData>

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for RoaringIntArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for RoaringIntArray

    source§

    fn clone(&self) -> RoaringIntArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RoaringIntArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoArrayData for RoaringIntArray

    source§

    fn into_array(self) -> ArrayData

    source§

    impl IntoCanonical for RoaringIntArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    §

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where + Self: Sized,

    source§

    impl PrimitiveArrayTrait for RoaringIntArray

    §

    fn ptype(&self) -> PType

    source§

    impl ScalarAtFn<RoaringIntArray> for RoaringIntEncoding

    source§

    fn scalar_at( &self, array: &RoaringIntArray, index: usize, -) -> VortexResult<Scalar>

    source§

    impl SliceFn<RoaringIntArray> for RoaringIntEncoding

    source§

    fn slice( +) -> VortexResult<Scalar>

    source§

    impl SliceFn<RoaringIntArray> for RoaringIntEncoding

    source§

    fn slice( &self, array: &RoaringIntArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
    source§

    impl StatisticsVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn compute_statistics( &self, array: &RoaringIntArray, - stat: Stat, -) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a RoaringIntArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for RoaringIntArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    impl VariantsVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn as_primitive_array<'a>( + stat: Stat, +) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a RoaringIntArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for RoaringIntArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn is_valid(&self, _array: &RoaringIntArray, _index: usize) -> bool

    source§

    fn logical_validity(&self, array: &RoaringIntArray) -> LogicalValidity

    source§

    impl VariantsVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn as_primitive_array<'a>( &self, array: &'a RoaringIntArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    §

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    §

    fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn accept( &self, array: &RoaringIntArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

    source§

    impl ArrayTrait for RoaringIntArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> ArrayDType for T
    where - T: AsRef<ArrayData>,

    source§

    fn dtype(&self) -> &DType

    source§

    impl<T> ArrayEncodingRef for T
    where - T: AsRef<ArrayData>,

    source§

    fn encoding(&self) -> &'static dyn EncodingVTable

    source§

    impl<T> ArrayLen for T
    where - T: AsRef<ArrayData>,

    source§

    fn len(&self) -> usize

    source§

    fn is_empty(&self) -> bool

    source§

    impl<A> ArrayNBytes for A
    where - A: AsRef<ArrayData>,

    source§

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    source§

    impl<T> ArrayStatistics for T
    where - T: AsRef<ArrayData>,

    source§

    fn statistics(&self) -> &dyn Statistics

    source§

    fn inherit_statistics(&self, parent: &dyn Statistics)

    source§

    impl<A> ArrayValidity for A
    where - A: AsRef<ArrayData>,

    source§

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    -
    source§

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    + visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
    source§

    impl ArrayTrait for RoaringIntArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArrayDType for T
    where + T: AsRef<ArrayData>,

    §

    fn dtype(&self) -> &DType

    §

    impl<T> ArrayEncodingRef for T
    where + T: AsRef<ArrayData>,

    §

    fn encoding(&self) -> &'static dyn EncodingVTable

    §

    impl<T> ArrayLen for T
    where + T: AsRef<ArrayData>,

    §

    fn len(&self) -> usize

    §

    fn is_empty(&self) -> bool

    §

    impl<A> ArrayNBytes for A
    where + A: AsRef<ArrayData>,

    §

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    §

    impl<T> ArrayStatistics for T
    where + T: AsRef<ArrayData>,

    §

    fn statistics(&self) -> &dyn Statistics

    §

    fn inherit_statistics(&self, parent: &dyn Statistics)

    §

    impl<A> ArrayValidity for A
    where + A: AsRef<ArrayData>,

    §

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    +
    §

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where @@ -52,16 +52,16 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    source§

    impl<T> IntoArrayVariant for T
    where - T: IntoCanonical,

    source§

    fn into_null(self) -> Result<NullArray, VortexError>

    source§

    fn into_bool(self) -> Result<BoolArray, VortexError>

    source§

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    source§

    fn into_struct(self) -> Result<StructArray, VortexError>

    source§

    fn into_list(self) -> Result<ListArray, VortexError>

    source§

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    source§

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +
    §

    impl<T> IntoArrayVariant for T
    where + T: IntoCanonical,

    §

    fn into_null(self) -> Result<NullArray, VortexError>

    §

    fn into_bool(self) -> Result<BoolArray, VortexError>

    §

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    §

    fn into_struct(self) -> Result<StructArray, VortexError>

    §

    fn into_list(self) -> Result<ListArray, VortexError>

    §

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    §

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<A> ToArrayData for A
    where - A: AsRef<ArrayData>,

    source§

    impl<T> ToOwned for T
    where +otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    §

    impl<A> ToArrayData for A
    where + A: AsRef<ArrayData>,

    §

    fn to_array(&self) -> ArrayData

    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where diff --git a/docs/rust/doc/vortex_roaring/struct.RoaringIntEncoding.html b/docs/rust/doc/vortex_roaring/struct.RoaringIntEncoding.html index 0b5e556b5d..c062408ae1 100644 --- a/docs/rust/doc/vortex_roaring/struct.RoaringIntEncoding.html +++ b/docs/rust/doc/vortex_roaring/struct.RoaringIntEncoding.html @@ -1,36 +1,36 @@ RoaringIntEncoding in vortex_roaring - Rust

    Struct vortex_roaring::RoaringIntEncoding

    source ·
    pub struct RoaringIntEncoding;
    Expand description

    The array encoding

    -

    Trait Implementations§

    source§

    impl ComputeVTable for RoaringIntEncoding

    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    source§

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    source§

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    source§

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    source§

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    source§

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    source§

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    source§

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    source§

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    source§

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    source§

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
    source§

    impl Debug for RoaringIntEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for RoaringIntEncoding

    source§

    impl EncodingVTable for RoaringIntEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl ScalarAtFn<RoaringIntArray> for RoaringIntEncoding

    Trait Implementations§

    source§

    impl ComputeVTable for RoaringIntEncoding

    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    §

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    §

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    §

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    §

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    §

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    §

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    §

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    §

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    §

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    §

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
    source§

    impl Debug for RoaringIntEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for RoaringIntEncoding

    source§

    impl EncodingVTable for RoaringIntEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl ScalarAtFn<RoaringIntArray> for RoaringIntEncoding

    source§

    fn scalar_at( &self, array: &RoaringIntArray, index: usize, -) -> VortexResult<Scalar>

    source§

    impl SliceFn<RoaringIntArray> for RoaringIntEncoding

    source§

    fn slice( +) -> VortexResult<Scalar>

    source§

    impl SliceFn<RoaringIntArray> for RoaringIntEncoding

    source§

    fn slice( &self, array: &RoaringIntArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
    source§

    impl StatisticsVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn compute_statistics( &self, array: &RoaringIntArray, - stat: Stat, -) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl ValidityVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    impl VariantsVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn as_primitive_array<'a>( + stat: Stat, +) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl ValidityVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn is_valid(&self, _array: &RoaringIntArray, _index: usize) -> bool

    source§

    fn logical_validity(&self, array: &RoaringIntArray) -> LogicalValidity

    source§

    impl VariantsVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn as_primitive_array<'a>( &self, array: &'a RoaringIntArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    §

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    §

    fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RoaringIntArray> for RoaringIntEncoding

    source§

    fn accept( &self, array: &RoaringIntArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where @@ -48,12 +48,12 @@ F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<E> MetadataVTable for E
    where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    impl<E> MetadataVTable for E
    where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where diff --git a/docs/rust/doc/vortex_roaring/struct.RoaringIntMetadata.html b/docs/rust/doc/vortex_roaring/struct.RoaringIntMetadata.html index 1c02896523..338edebfdd 100644 --- a/docs/rust/doc/vortex_roaring/struct.RoaringIntMetadata.html +++ b/docs/rust/doc/vortex_roaring/struct.RoaringIntMetadata.html @@ -1,5 +1,5 @@ -RoaringIntMetadata in vortex_roaring - Rust

    Struct vortex_roaring::RoaringIntMetadata

    source ·
    pub struct RoaringIntMetadata { /* private fields */ }

    Trait Implementations§

    source§

    impl ArrayMetadata for RoaringIntMetadata

    Implement ArrayMetadata

    -
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for RoaringIntMetadata

    source§

    fn clone(&self) -> RoaringIntMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RoaringIntMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RoaringIntMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +RoaringIntMetadata in vortex_roaring - Rust

    Struct vortex_roaring::RoaringIntMetadata

    source ·
    pub struct RoaringIntMetadata { /* private fields */ }

    Trait Implementations§

    source§

    impl ArrayMetadata for RoaringIntMetadata

    Implement ArrayMetadata

    +
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for RoaringIntMetadata

    source§

    fn clone(&self) -> RoaringIntMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RoaringIntMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RoaringIntMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RoaringIntMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Serialize for RoaringIntMetadata

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -22,13 +22,13 @@ otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    §

    impl<T> ToRawKvValue for T
    where T: Serialize,

    §

    fn raw_kv_value(&self) -> Result<JsValue, KvError>

    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where - M: Deserialize<'de>,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    §

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where + M: Deserialize<'de>,

    §

    fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<M> TrySerializeArrayMetadata for M
    where - M: Serialize,

    source§

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<M> TrySerializeArrayMetadata for M
    where + M: Serialize,

    §

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_runend/compress/fn.runend_decode_bools.html b/docs/rust/doc/vortex_runend/compress/fn.runend_decode_bools.html index e58601a15b..ed556762cf 100644 --- a/docs/rust/doc/vortex_runend/compress/fn.runend_decode_bools.html +++ b/docs/rust/doc/vortex_runend/compress/fn.runend_decode_bools.html @@ -1,6 +1,6 @@ runend_decode_bools in vortex_runend::compress - Rust

    Function vortex_runend::compress::runend_decode_bools

    source ·
    pub fn runend_decode_bools(
    -    ends: PrimitiveArray,
    -    values: BoolArray,
    +    ends: PrimitiveArray,
    +    values: BoolArray,
         offset: usize,
         length: usize,
    -) -> VortexResult<BoolArray>
    \ No newline at end of file +) -> VortexResult<BoolArray>
    \ No newline at end of file diff --git a/docs/rust/doc/vortex_runend/compress/fn.runend_decode_primitive.html b/docs/rust/doc/vortex_runend/compress/fn.runend_decode_primitive.html index a4de2d5461..13d7eceeb2 100644 --- a/docs/rust/doc/vortex_runend/compress/fn.runend_decode_primitive.html +++ b/docs/rust/doc/vortex_runend/compress/fn.runend_decode_primitive.html @@ -1,6 +1,6 @@ runend_decode_primitive in vortex_runend::compress - Rust

    Function vortex_runend::compress::runend_decode_primitive

    source ·
    pub fn runend_decode_primitive(
    -    ends: PrimitiveArray,
    -    values: PrimitiveArray,
    +    ends: PrimitiveArray,
    +    values: PrimitiveArray,
         offset: usize,
         length: usize,
    -) -> VortexResult<PrimitiveArray>
    \ No newline at end of file +) -> VortexResult<PrimitiveArray>
    \ No newline at end of file diff --git a/docs/rust/doc/vortex_runend/compress/fn.runend_decode_typed_bool.html b/docs/rust/doc/vortex_runend/compress/fn.runend_decode_typed_bool.html index 2a39f4bc77..cf4430496a 100644 --- a/docs/rust/doc/vortex_runend/compress/fn.runend_decode_typed_bool.html +++ b/docs/rust/doc/vortex_runend/compress/fn.runend_decode_typed_bool.html @@ -1,7 +1,7 @@ runend_decode_typed_bool in vortex_runend::compress - Rust

    Function vortex_runend::compress::runend_decode_typed_bool

    source ·
    pub fn runend_decode_typed_bool(
         run_ends: impl Iterator<Item = usize>,
         values: BooleanBuffer,
    -    values_validity: LogicalValidity,
    +    values_validity: LogicalValidity,
         values_nullability: Nullability,
         length: usize,
    -) -> VortexResult<BoolArray>
    \ No newline at end of file +) -> VortexResult<BoolArray>
    \ No newline at end of file diff --git a/docs/rust/doc/vortex_runend/compress/fn.runend_decode_typed_primitive.html b/docs/rust/doc/vortex_runend/compress/fn.runend_decode_typed_primitive.html index 48e9ee930b..8cf97c017f 100644 --- a/docs/rust/doc/vortex_runend/compress/fn.runend_decode_typed_primitive.html +++ b/docs/rust/doc/vortex_runend/compress/fn.runend_decode_typed_primitive.html @@ -1,7 +1,7 @@ runend_decode_typed_primitive in vortex_runend::compress - Rust
    pub fn runend_decode_typed_primitive<T: NativePType>(
         run_ends: impl Iterator<Item = usize>,
         values: &[T],
    -    values_validity: LogicalValidity,
    +    values_validity: LogicalValidity,
         values_nullability: Nullability,
         length: usize,
    -) -> VortexResult<PrimitiveArray>
    \ No newline at end of file +) -> VortexResult<PrimitiveArray>
    \ No newline at end of file diff --git a/docs/rust/doc/vortex_runend/compress/fn.runend_encode.html b/docs/rust/doc/vortex_runend/compress/fn.runend_encode.html index c59e1ca255..8966f5844d 100644 --- a/docs/rust/doc/vortex_runend/compress/fn.runend_encode.html +++ b/docs/rust/doc/vortex_runend/compress/fn.runend_encode.html @@ -1,3 +1,3 @@ runend_encode in vortex_runend::compress - Rust

    Function vortex_runend::compress::runend_encode

    source ·
    pub fn runend_encode(
    -    array: &PrimitiveArray,
    -) -> VortexResult<(PrimitiveArray, ArrayData)>
    \ No newline at end of file + array: &PrimitiveArray, +) -> VortexResult<(PrimitiveArray, ArrayData)> \ No newline at end of file diff --git a/docs/rust/doc/vortex_runend/struct.RunEndArray.html b/docs/rust/doc/vortex_runend/struct.RunEndArray.html index c0f9a53f62..2bb1fa317d 100644 --- a/docs/rust/doc/vortex_runend/struct.RunEndArray.html +++ b/docs/rust/doc/vortex_runend/struct.RunEndArray.html @@ -1,86 +1,86 @@ -RunEndArray in vortex_runend - Rust

    Struct vortex_runend::RunEndArray

    source ·
    pub struct RunEndArray(/* private fields */);

    Implementations§

    source§

    impl RunEndArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    +RunEndArray in vortex_runend - Rust

    Struct vortex_runend::RunEndArray

    source ·
    pub struct RunEndArray(/* private fields */);

    Implementations§

    source§

    impl RunEndArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

    -
    source§

    impl RunEndArray

    source

    pub fn try_new(ends: ArrayData, values: ArrayData) -> VortexResult<Self>

    source

    pub fn find_physical_index(&self, index: usize) -> VortexResult<usize>

    Convert the given logical index to an index into the values array

    +
    source§

    impl RunEndArray

    source

    pub fn try_new(ends: ArrayData, values: ArrayData) -> VortexResult<Self>

    source

    pub fn find_physical_index(&self, index: usize) -> VortexResult<usize>

    Convert the given logical index to an index into the values array

    source

    pub fn find_physical_indices( &self, indices: &[usize], ) -> VortexResult<Vec<usize>>

    Convert a batch of logical indices into an index for the values. Expects indices to be adjusted by offset unlike Self::find_physical_index

    See: find_physical_index.

    -
    source

    pub fn encode(array: ArrayData) -> VortexResult<Self>

    Run the array through run-end encoding.

    +
    source

    pub fn encode(array: ArrayData) -> VortexResult<Self>

    Run the array through run-end encoding.

    source

    pub fn offset(&self) -> usize

    The offset that the ends is relative to.

    This is generally zero for a “new” array, and non-zero after a slicing operation.

    -
    source

    pub fn ends(&self) -> ArrayData

    The encoded “ends” of value runs.

    +
    source

    pub fn ends(&self) -> ArrayData

    The encoded “ends” of value runs.

    The i-th element indicates that there is a run of the same value, beginning at ends[i] (inclusive) and terminating at ends[i+1] (exclusive).

    -
    source

    pub fn values(&self) -> ArrayData

    The scalar values.

    +
    source

    pub fn values(&self) -> ArrayData

    The scalar values.

    The i-th element is the scalar value for the i-th repeated run. The run begins at ends[i] (inclusive) and terminates at ends[i+1] (exclusive).

    -

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for RunEndArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for RunEndArray

    source§

    fn clone(&self) -> RunEndArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl CompareFn<RunEndArray> for RunEndEncoding

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for RunEndArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for RunEndArray

    source§

    fn clone(&self) -> RunEndArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl CompareFn<RunEndArray> for RunEndEncoding

    source§

    fn compare( &self, lhs: &RunEndArray, - rhs: &ArrayData, - operator: Operator, -) -> VortexResult<Option<ArrayData>>

    Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
    source§

    impl Debug for RunEndArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl FillNullFn<RunEndArray> for RunEndEncoding

    source§

    fn fill_null( + rhs: &ArrayData, + operator: Operator, +) -> VortexResult<Option<ArrayData>>

    Compares two arrays and returns a new boolean array with the result of the comparison. +Or, returns None if comparison is not supported for these arrays.
    source§

    impl Debug for RunEndArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl FillNullFn<RunEndArray> for RunEndEncoding

    source§

    fn fill_null( &self, array: &RunEndArray, - fill_value: Scalar, -) -> VortexResult<ArrayData>

    source§

    impl FilterFn<RunEndArray> for RunEndEncoding

    source§

    fn filter( + fill_value: Scalar, +) -> VortexResult<ArrayData>

    source§

    impl FilterFn<RunEndArray> for RunEndEncoding

    source§

    fn filter( &self, array: &RunEndArray, - mask: FilterMask, -) -> VortexResult<ArrayData>

    Filter an array by the provided predicate.
    source§

    impl IntoArrayData for RunEndArray

    source§

    impl IntoCanonical for RunEndArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    source§

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where - Self: Sized,

    source§

    impl InvertFn<RunEndArray> for RunEndEncoding

    source§

    fn invert(&self, array: &RunEndArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl PrimitiveArrayTrait for RunEndArray

    source§

    fn ptype(&self) -> PType

    source§

    impl ScalarAtFn<RunEndArray> for RunEndEncoding

    source§

    fn scalar_at(&self, array: &RunEndArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<RunEndArray> for RunEndEncoding

    source§

    fn slice( + mask: FilterMask, +) -> VortexResult<ArrayData>

    Filter an array by the provided predicate.
    source§

    impl IntoArrayData for RunEndArray

    source§

    fn into_array(self) -> ArrayData

    source§

    impl IntoCanonical for RunEndArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    §

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where + Self: Sized,

    source§

    impl InvertFn<RunEndArray> for RunEndEncoding

    source§

    fn invert(&self, array: &RunEndArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl PrimitiveArrayTrait for RunEndArray

    §

    fn ptype(&self) -> PType

    source§

    impl ScalarAtFn<RunEndArray> for RunEndEncoding

    source§

    fn scalar_at(&self, array: &RunEndArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<RunEndArray> for RunEndEncoding

    source§

    fn slice( &self, array: &RunEndArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
    source§

    impl StatisticsVTable<RunEndArray> for RunEndEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<RunEndArray> for RunEndEncoding

    source§

    fn compute_statistics( &self, array: &RunEndArray, - stat: Stat, -) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<RunEndArray> for RunEndEncoding

    source§

    fn take( + stat: Stat, +) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<RunEndArray> for RunEndEncoding

    source§

    fn take( &self, array: &RunEndArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the +given indices. Read more
    §

    unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a RunEndArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for RunEndArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<RunEndArray> for RunEndEncoding

    source§

    impl VariantsVTable<RunEndArray> for RunEndEncoding

    source§

    fn as_bool_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the +given indices. Read more
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a RunEndArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for RunEndArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<RunEndArray> for RunEndEncoding

    source§

    fn is_valid(&self, array: &RunEndArray, index: usize) -> bool

    source§

    fn logical_validity(&self, array: &RunEndArray) -> LogicalValidity

    source§

    impl VariantsVTable<RunEndArray> for RunEndEncoding

    source§

    fn as_bool_array<'a>( &self, array: &'a RunEndArray, -) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_primitive_array<'a>( &self, array: &'a RunEndArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    §

    fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RunEndArray> for RunEndEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RunEndArray> for RunEndEncoding

    source§

    fn accept( &self, array: &RunEndArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

    source§

    impl ArrayTrait for RunEndArray

    source§

    impl BoolArrayTrait for RunEndArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> ArrayDType for T
    where - T: AsRef<ArrayData>,

    source§

    fn dtype(&self) -> &DType

    source§

    impl<T> ArrayEncodingRef for T
    where - T: AsRef<ArrayData>,

    source§

    fn encoding(&self) -> &'static dyn EncodingVTable

    source§

    impl<T> ArrayLen for T
    where - T: AsRef<ArrayData>,

    source§

    fn len(&self) -> usize

    source§

    fn is_empty(&self) -> bool

    source§

    impl<A> ArrayNBytes for A
    where - A: AsRef<ArrayData>,

    source§

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    source§

    impl<T> ArrayStatistics for T
    where - T: AsRef<ArrayData>,

    source§

    fn statistics(&self) -> &dyn Statistics

    source§

    fn inherit_statistics(&self, parent: &dyn Statistics)

    source§

    impl<A> ArrayValidity for A
    where - A: AsRef<ArrayData>,

    source§

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    -
    source§

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    + visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
    source§

    impl ArrayTrait for RunEndArray

    source§

    impl BoolArrayTrait for RunEndArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArrayDType for T
    where + T: AsRef<ArrayData>,

    §

    fn dtype(&self) -> &DType

    §

    impl<T> ArrayEncodingRef for T
    where + T: AsRef<ArrayData>,

    §

    fn encoding(&self) -> &'static dyn EncodingVTable

    §

    impl<T> ArrayLen for T
    where + T: AsRef<ArrayData>,

    §

    fn len(&self) -> usize

    §

    fn is_empty(&self) -> bool

    §

    impl<A> ArrayNBytes for A
    where + A: AsRef<ArrayData>,

    §

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    §

    impl<T> ArrayStatistics for T
    where + T: AsRef<ArrayData>,

    §

    fn statistics(&self) -> &dyn Statistics

    §

    fn inherit_statistics(&self, parent: &dyn Statistics)

    §

    impl<A> ArrayValidity for A
    where + A: AsRef<ArrayData>,

    §

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    +
    §

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where @@ -91,16 +91,16 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    source§

    impl<T> IntoArrayVariant for T
    where - T: IntoCanonical,

    source§

    fn into_null(self) -> Result<NullArray, VortexError>

    source§

    fn into_bool(self) -> Result<BoolArray, VortexError>

    source§

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    source§

    fn into_struct(self) -> Result<StructArray, VortexError>

    source§

    fn into_list(self) -> Result<ListArray, VortexError>

    source§

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    source§

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +
    §

    impl<T> IntoArrayVariant for T
    where + T: IntoCanonical,

    §

    fn into_null(self) -> Result<NullArray, VortexError>

    §

    fn into_bool(self) -> Result<BoolArray, VortexError>

    §

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    §

    fn into_struct(self) -> Result<StructArray, VortexError>

    §

    fn into_list(self) -> Result<ListArray, VortexError>

    §

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    §

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<A> ToArrayData for A
    where - A: AsRef<ArrayData>,

    source§

    impl<T> ToOwned for T
    where +otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    §

    impl<A> ToArrayData for A
    where + A: AsRef<ArrayData>,

    §

    fn to_array(&self) -> ArrayData

    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where diff --git a/docs/rust/doc/vortex_runend/struct.RunEndEncoding.html b/docs/rust/doc/vortex_runend/struct.RunEndEncoding.html index 5d3fa4cdbf..560c390ee0 100644 --- a/docs/rust/doc/vortex_runend/struct.RunEndEncoding.html +++ b/docs/rust/doc/vortex_runend/struct.RunEndEncoding.html @@ -1,59 +1,59 @@ RunEndEncoding in vortex_runend - Rust

    Struct vortex_runend::RunEndEncoding

    source ·
    pub struct RunEndEncoding;
    Expand description

    The array encoding

    -

    Trait Implementations§

    source§

    impl CompareFn<RunEndArray> for RunEndEncoding

    Trait Implementations§

    source§

    impl CompareFn<RunEndArray> for RunEndEncoding

    source§

    fn compare( &self, lhs: &RunEndArray, - rhs: &ArrayData, - operator: Operator, -) -> VortexResult<Option<ArrayData>>

    Compares two arrays and returns a new boolean array with the result of the comparison. -Or, returns None if comparison is not supported for these arrays.
    source§

    impl ComputeVTable for RunEndEncoding

    source§

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    source§

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    source§

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    source§

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    source§

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
    source§

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    source§

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    source§

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    source§

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    source§

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    source§

    impl Debug for RunEndEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for RunEndEncoding

    source§

    impl EncodingVTable for RunEndEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl FillNullFn<RunEndArray> for RunEndEncoding

    source§

    fn fill_null( + rhs: &ArrayData, + operator: Operator, +) -> VortexResult<Option<ArrayData>>

    Compares two arrays and returns a new boolean array with the result of the comparison. +Or, returns None if comparison is not supported for these arrays.
    source§

    impl ComputeVTable for RunEndEncoding

    source§

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    source§

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    source§

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    source§

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    source§

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
    §

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    §

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    §

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    §

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    §

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    source§

    impl Debug for RunEndEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for RunEndEncoding

    source§

    impl EncodingVTable for RunEndEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl FillNullFn<RunEndArray> for RunEndEncoding

    source§

    fn fill_null( &self, array: &RunEndArray, - fill_value: Scalar, -) -> VortexResult<ArrayData>

    source§

    impl FilterFn<RunEndArray> for RunEndEncoding

    source§

    fn filter( + fill_value: Scalar, +) -> VortexResult<ArrayData>

    source§

    impl FilterFn<RunEndArray> for RunEndEncoding

    source§

    fn filter( &self, array: &RunEndArray, - mask: FilterMask, -) -> VortexResult<ArrayData>

    Filter an array by the provided predicate.
    source§

    impl InvertFn<RunEndArray> for RunEndEncoding

    source§

    fn invert(&self, array: &RunEndArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl ScalarAtFn<RunEndArray> for RunEndEncoding

    source§

    fn scalar_at(&self, array: &RunEndArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<RunEndArray> for RunEndEncoding

    source§

    fn slice( + mask: FilterMask, +) -> VortexResult<ArrayData>

    Filter an array by the provided predicate.
    source§

    impl InvertFn<RunEndArray> for RunEndEncoding

    source§

    fn invert(&self, array: &RunEndArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl ScalarAtFn<RunEndArray> for RunEndEncoding

    source§

    fn scalar_at(&self, array: &RunEndArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<RunEndArray> for RunEndEncoding

    source§

    fn slice( &self, array: &RunEndArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
    source§

    impl StatisticsVTable<RunEndArray> for RunEndEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<RunEndArray> for RunEndEncoding

    source§

    fn compute_statistics( &self, array: &RunEndArray, - stat: Stat, -) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<RunEndArray> for RunEndEncoding

    source§

    fn take( + stat: Stat, +) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<RunEndArray> for RunEndEncoding

    source§

    fn take( &self, array: &RunEndArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the +given indices. Read more
    §

    unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    impl ValidityVTable<RunEndArray> for RunEndEncoding

    source§

    impl VariantsVTable<RunEndArray> for RunEndEncoding

    source§

    fn as_bool_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the +given indices. Read more
    source§

    impl ValidityVTable<RunEndArray> for RunEndEncoding

    source§

    fn is_valid(&self, array: &RunEndArray, index: usize) -> bool

    source§

    fn logical_validity(&self, array: &RunEndArray) -> LogicalValidity

    source§

    impl VariantsVTable<RunEndArray> for RunEndEncoding

    source§

    fn as_bool_array<'a>( &self, array: &'a RunEndArray, -) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_primitive_array<'a>( &self, array: &'a RunEndArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    §

    fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RunEndArray> for RunEndEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RunEndArray> for RunEndEncoding

    source§

    fn accept( &self, array: &RunEndArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where @@ -71,12 +71,12 @@ F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<E> MetadataVTable for E
    where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    impl<E> MetadataVTable for E
    where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where diff --git a/docs/rust/doc/vortex_runend/struct.RunEndMetadata.html b/docs/rust/doc/vortex_runend/struct.RunEndMetadata.html index d6f2b8e204..bdace9b017 100644 --- a/docs/rust/doc/vortex_runend/struct.RunEndMetadata.html +++ b/docs/rust/doc/vortex_runend/struct.RunEndMetadata.html @@ -1,5 +1,5 @@ -RunEndMetadata in vortex_runend - Rust

    Struct vortex_runend::RunEndMetadata

    source ·
    pub struct RunEndMetadata { /* private fields */ }

    Trait Implementations§

    source§

    impl ArrayMetadata for RunEndMetadata

    Implement ArrayMetadata

    -
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for RunEndMetadata

    source§

    fn clone(&self) -> RunEndMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RunEndMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RunEndMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +RunEndMetadata in vortex_runend - Rust

    Struct vortex_runend::RunEndMetadata

    source ·
    pub struct RunEndMetadata { /* private fields */ }

    Trait Implementations§

    source§

    impl ArrayMetadata for RunEndMetadata

    Implement ArrayMetadata

    +
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for RunEndMetadata

    source§

    fn clone(&self) -> RunEndMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RunEndMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RunEndMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RunEndMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Serialize for RunEndMetadata

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -22,13 +22,13 @@ otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    §

    impl<T> ToRawKvValue for T
    where T: Serialize,

    §

    fn raw_kv_value(&self) -> Result<JsValue, KvError>

    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where - M: Deserialize<'de>,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    §

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where + M: Deserialize<'de>,

    §

    fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<M> TrySerializeArrayMetadata for M
    where - M: Serialize,

    source§

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<M> TrySerializeArrayMetadata for M
    where + M: Serialize,

    §

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_runend_bool/array/fn.encode_runend_bool.html b/docs/rust/doc/vortex_runend_bool/array/fn.encode_runend_bool.html index cff11874a7..9720402e4e 100644 --- a/docs/rust/doc/vortex_runend_bool/array/fn.encode_runend_bool.html +++ b/docs/rust/doc/vortex_runend_bool/array/fn.encode_runend_bool.html @@ -1 +1 @@ -encode_runend_bool in vortex_runend_bool::array - Rust

    Function vortex_runend_bool::array::encode_runend_bool

    source ·
    pub fn encode_runend_bool(array: &BoolArray) -> VortexResult<RunEndBoolArray>
    \ No newline at end of file +encode_runend_bool in vortex_runend_bool::array - Rust

    Function vortex_runend_bool::array::encode_runend_bool

    source ·
    pub fn encode_runend_bool(array: &BoolArray) -> VortexResult<RunEndBoolArray>
    \ No newline at end of file diff --git a/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolArray.html b/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolArray.html index fb7dc55f40..0f3ecf1d94 100644 --- a/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolArray.html +++ b/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolArray.html @@ -1,64 +1,64 @@ -RunEndBoolArray in vortex_runend_bool::array - Rust

    Struct vortex_runend_bool::array::RunEndBoolArray

    source ·
    pub struct RunEndBoolArray(/* private fields */);

    Implementations§

    source§

    impl RunEndBoolArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    +RunEndBoolArray in vortex_runend_bool::array - Rust

    Struct vortex_runend_bool::array::RunEndBoolArray

    source ·
    pub struct RunEndBoolArray(/* private fields */);

    Implementations§

    source§

    impl RunEndBoolArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

    source§

    impl RunEndBoolArray

    source

    pub fn try_new( - ends: ArrayData, + ends: ArrayData, start: bool, - validity: Validity, -) -> VortexResult<Self>

    source

    pub fn validity(&self) -> Validity

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for RunEndBoolArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for RunEndBoolArray

    source§

    fn clone(&self) -> RunEndBoolArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RunEndBoolArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoArrayData for RunEndBoolArray

    source§

    impl IntoCanonical for RunEndBoolArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    source§

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where - Self: Sized,

    source§

    impl InvertFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn invert(&self, array: &RunEndBoolArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl ScalarAtFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn scalar_at( + validity: Validity, +) -> VortexResult<Self>

    source

    pub fn validity(&self) -> Validity

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for RunEndBoolArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for RunEndBoolArray

    source§

    fn clone(&self) -> RunEndBoolArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RunEndBoolArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoArrayData for RunEndBoolArray

    source§

    fn into_array(self) -> ArrayData

    source§

    impl IntoCanonical for RunEndBoolArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    §

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where + Self: Sized,

    source§

    impl InvertFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn invert(&self, array: &RunEndBoolArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl ScalarAtFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn scalar_at( &self, array: &RunEndBoolArray, index: usize, -) -> VortexResult<Scalar>

    source§

    impl SliceFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn slice( +) -> VortexResult<Scalar>

    source§

    impl SliceFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn slice( &self, array: &RunEndBoolArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>
    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
    source§

    impl StatisticsVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn compute_statistics( &self, array: &RunEndBoolArray, - stat: Stat, -) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn take( + stat: Stat, +) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn take( &self, array: &RunEndBoolArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the +given indices. Read more
    §

    unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a RunEndBoolArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for RunEndBoolArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    impl VariantsVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn as_bool_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the +given indices. Read more
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a RunEndBoolArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for RunEndBoolArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn is_valid(&self, array: &RunEndBoolArray, index: usize) -> bool

    source§

    fn logical_validity(&self, array: &RunEndBoolArray) -> LogicalValidity

    source§

    impl VariantsVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn as_bool_array<'a>( &self, array: &'a RunEndBoolArray, -) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    §

    fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn accept( &self, array: &RunEndBoolArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

    source§

    impl ArrayTrait for RunEndBoolArray

    source§

    impl BoolArrayTrait for RunEndBoolArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> ArrayDType for T
    where - T: AsRef<ArrayData>,

    source§

    fn dtype(&self) -> &DType

    source§

    impl<T> ArrayEncodingRef for T
    where - T: AsRef<ArrayData>,

    source§

    fn encoding(&self) -> &'static dyn EncodingVTable

    source§

    impl<T> ArrayLen for T
    where - T: AsRef<ArrayData>,

    source§

    fn len(&self) -> usize

    source§

    fn is_empty(&self) -> bool

    source§

    impl<A> ArrayNBytes for A
    where - A: AsRef<ArrayData>,

    source§

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    source§

    impl<T> ArrayStatistics for T
    where - T: AsRef<ArrayData>,

    source§

    fn statistics(&self) -> &dyn Statistics

    source§

    fn inherit_statistics(&self, parent: &dyn Statistics)

    source§

    impl<A> ArrayValidity for A
    where - A: AsRef<ArrayData>,

    source§

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    -
    source§

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    + visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
    source§

    impl ArrayTrait for RunEndBoolArray

    source§

    impl BoolArrayTrait for RunEndBoolArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArrayDType for T
    where + T: AsRef<ArrayData>,

    §

    fn dtype(&self) -> &DType

    §

    impl<T> ArrayEncodingRef for T
    where + T: AsRef<ArrayData>,

    §

    fn encoding(&self) -> &'static dyn EncodingVTable

    §

    impl<T> ArrayLen for T
    where + T: AsRef<ArrayData>,

    §

    fn len(&self) -> usize

    §

    fn is_empty(&self) -> bool

    §

    impl<A> ArrayNBytes for A
    where + A: AsRef<ArrayData>,

    §

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    §

    impl<T> ArrayStatistics for T
    where + T: AsRef<ArrayData>,

    §

    fn statistics(&self) -> &dyn Statistics

    §

    fn inherit_statistics(&self, parent: &dyn Statistics)

    §

    impl<A> ArrayValidity for A
    where + A: AsRef<ArrayData>,

    §

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    +
    §

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where @@ -69,16 +69,16 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    source§

    impl<T> IntoArrayVariant for T
    where - T: IntoCanonical,

    source§

    fn into_null(self) -> Result<NullArray, VortexError>

    source§

    fn into_bool(self) -> Result<BoolArray, VortexError>

    source§

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    source§

    fn into_struct(self) -> Result<StructArray, VortexError>

    source§

    fn into_list(self) -> Result<ListArray, VortexError>

    source§

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    source§

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +
    §

    impl<T> IntoArrayVariant for T
    where + T: IntoCanonical,

    §

    fn into_null(self) -> Result<NullArray, VortexError>

    §

    fn into_bool(self) -> Result<BoolArray, VortexError>

    §

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    §

    fn into_struct(self) -> Result<StructArray, VortexError>

    §

    fn into_list(self) -> Result<ListArray, VortexError>

    §

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    §

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<A> ToArrayData for A
    where - A: AsRef<ArrayData>,

    source§

    impl<T> ToOwned for T
    where +otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    §

    impl<A> ToArrayData for A
    where + A: AsRef<ArrayData>,

    §

    fn to_array(&self) -> ArrayData

    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where diff --git a/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolEncoding.html b/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolEncoding.html index a2d782a508..93c7bb2461 100644 --- a/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolEncoding.html +++ b/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolEncoding.html @@ -1,49 +1,49 @@ RunEndBoolEncoding in vortex_runend_bool::array - Rust

    Struct vortex_runend_bool::array::RunEndBoolEncoding

    source ·
    pub struct RunEndBoolEncoding;
    Expand description

    The array encoding

    -

    Trait Implementations§

    source§

    impl ComputeVTable for RunEndBoolEncoding

    source§

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    source§

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
    source§

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    source§

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    source§

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    source§

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    source§

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    source§

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    source§

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    source§

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    source§

    impl Debug for RunEndBoolEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for RunEndBoolEncoding

    source§

    impl EncodingVTable for RunEndBoolEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl InvertFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn invert(&self, array: &RunEndBoolArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl ScalarAtFn<RunEndBoolArray> for RunEndBoolEncoding

    Trait Implementations§

    source§

    impl ComputeVTable for RunEndBoolEncoding

    source§

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    source§

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
    §

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    §

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    §

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    §

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    §

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    §

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    §

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    §

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    source§

    impl Debug for RunEndBoolEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for RunEndBoolEncoding

    source§

    impl EncodingVTable for RunEndBoolEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl InvertFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn invert(&self, array: &RunEndBoolArray) -> VortexResult<ArrayData>

    Logically invert a boolean array. Converts true -> false, false -> true, null -> null.
    source§

    impl ScalarAtFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn scalar_at( &self, array: &RunEndBoolArray, index: usize, -) -> VortexResult<Scalar>

    source§

    impl SliceFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn slice( +) -> VortexResult<Scalar>

    source§

    impl SliceFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn slice( &self, array: &RunEndBoolArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
    source§

    impl StatisticsVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn compute_statistics( &self, array: &RunEndBoolArray, - stat: Stat, -) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn take( + stat: Stat, +) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl TakeFn<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn take( &self, array: &RunEndBoolArray, - indices: &ArrayData, -) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    unsafe fn take_unchecked( + indices: &ArrayData, +) -> VortexResult<ArrayData>

    Create a new array by taking the values from the array at the +given indices. Read more
    §

    unsafe fn take_unchecked( &self, array: &Array, - indices: &ArrayData, -) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the -given indices. Read more
    source§

    impl ValidityVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    impl VariantsVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn as_bool_array<'a>( + indices: &ArrayData, +) -> Result<ArrayData, VortexError>

    Create a new array by taking the values from the array at the +given indices. Read more
    source§

    impl ValidityVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn is_valid(&self, array: &RunEndBoolArray, index: usize) -> bool

    source§

    fn logical_validity(&self, array: &RunEndBoolArray) -> LogicalValidity

    source§

    impl VariantsVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn as_bool_array<'a>( &self, array: &'a RunEndBoolArray, -) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_primitive_array<'a>( +) -> Option<&'a dyn BoolArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_primitive_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    §

    fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<RunEndBoolArray> for RunEndBoolEncoding

    source§

    fn accept( &self, array: &RunEndBoolArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where @@ -61,12 +61,12 @@ F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<E> MetadataVTable for E
    where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    impl<E> MetadataVTable for E
    where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where diff --git a/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolMetadata.html b/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolMetadata.html index 929725f04f..6f1970a21c 100644 --- a/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolMetadata.html +++ b/docs/rust/doc/vortex_runend_bool/array/struct.RunEndBoolMetadata.html @@ -1,5 +1,5 @@ -RunEndBoolMetadata in vortex_runend_bool::array - Rust

    Struct vortex_runend_bool::array::RunEndBoolMetadata

    source ·
    pub struct RunEndBoolMetadata { /* private fields */ }

    Trait Implementations§

    source§

    impl ArrayMetadata for RunEndBoolMetadata

    Implement ArrayMetadata

    -
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for RunEndBoolMetadata

    source§

    fn clone(&self) -> RunEndBoolMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RunEndBoolMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RunEndBoolMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +RunEndBoolMetadata in vortex_runend_bool::array - Rust

    Struct vortex_runend_bool::array::RunEndBoolMetadata

    source ·
    pub struct RunEndBoolMetadata { /* private fields */ }

    Trait Implementations§

    source§

    impl ArrayMetadata for RunEndBoolMetadata

    Implement ArrayMetadata

    +
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for RunEndBoolMetadata

    source§

    fn clone(&self) -> RunEndBoolMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RunEndBoolMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for RunEndBoolMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for RunEndBoolMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Serialize for RunEndBoolMetadata

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -22,13 +22,13 @@ otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    §

    impl<T> ToRawKvValue for T
    where T: Serialize,

    §

    fn raw_kv_value(&self) -> Result<JsValue, KvError>

    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where - M: Deserialize<'de>,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    §

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where + M: Deserialize<'de>,

    §

    fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<M> TrySerializeArrayMetadata for M
    where - M: Serialize,

    source§

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<M> TrySerializeArrayMetadata for M
    where + M: Serialize,

    §

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/alp/struct.ALPCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/alp/struct.ALPCompressor.html index 87ff436783..63f4328446 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/alp/struct.ALPCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/alp/struct.ALPCompressor.html @@ -1,9 +1,9 @@ -ALPCompressor in vortex_sampling_compressor::compressors::alp - Rust
    pub struct ALPCompressor;

    Trait Implementations§

    source§

    impl Debug for ALPCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ALPCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +ALPCompressor in vortex_sampling_compressor::compressors::alp - Rust
    pub struct ALPCompressor;

    Trait Implementations§

    source§

    impl Debug for ALPCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ALPCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/alp_rd/struct.ALPRDCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/alp_rd/struct.ALPRDCompressor.html index e1755aa7c1..58756f2484 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/alp_rd/struct.ALPRDCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/alp_rd/struct.ALPRDCompressor.html @@ -1,9 +1,9 @@ -ALPRDCompressor in vortex_sampling_compressor::compressors::alp_rd - Rust
    pub struct ALPRDCompressor;

    Trait Implementations§

    source§

    impl Debug for ALPRDCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ALPRDCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +ALPRDCompressor in vortex_sampling_compressor::compressors::alp_rd - Rust
    pub struct ALPRDCompressor;

    Trait Implementations§

    source§

    impl Debug for ALPRDCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ALPRDCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, _ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/bitpacked/struct.BitPackedCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/bitpacked/struct.BitPackedCompressor.html index 86db58993b..cb5ec4c19e 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/bitpacked/struct.BitPackedCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/bitpacked/struct.BitPackedCompressor.html @@ -1,9 +1,9 @@ -BitPackedCompressor in vortex_sampling_compressor::compressors::bitpacked - Rust
    pub struct BitPackedCompressor { /* private fields */ }

    Trait Implementations§

    source§

    impl Debug for BitPackedCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for BitPackedCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +BitPackedCompressor in vortex_sampling_compressor::compressors::bitpacked - Rust
    pub struct BitPackedCompressor { /* private fields */ }

    Trait Implementations§

    source§

    impl Debug for BitPackedCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for BitPackedCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, _like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/chunked/struct.ChunkedCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/chunked/struct.ChunkedCompressor.html index 899671c718..1b0dc10b99 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/chunked/struct.ChunkedCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/chunked/struct.ChunkedCompressor.html @@ -1,9 +1,9 @@ -ChunkedCompressor in vortex_sampling_compressor::compressors::chunked - Rust
    pub struct ChunkedCompressor { /* private fields */ }

    Trait Implementations§

    source§

    impl Debug for ChunkedCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ChunkedCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +ChunkedCompressor in vortex_sampling_compressor::compressors::chunked - Rust
    pub struct ChunkedCompressor { /* private fields */ }

    Trait Implementations§

    source§

    impl Debug for ChunkedCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ChunkedCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/constant/struct.ConstantCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/constant/struct.ConstantCompressor.html index 07ded5bd2c..2428551b9d 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/constant/struct.ConstantCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/constant/struct.ConstantCompressor.html @@ -1,9 +1,9 @@ -ConstantCompressor in vortex_sampling_compressor::compressors::constant - Rust
    pub struct ConstantCompressor;

    Trait Implementations§

    source§

    impl Debug for ConstantCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ConstantCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +ConstantCompressor in vortex_sampling_compressor::compressors::constant - Rust
    pub struct ConstantCompressor;

    Trait Implementations§

    source§

    impl Debug for ConstantCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ConstantCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, _like: Option<CompressionTree<'a>>, _ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/date_time_parts/struct.DateTimePartsCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/date_time_parts/struct.DateTimePartsCompressor.html index 4dc64c4cb6..bbdc57f318 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/date_time_parts/struct.DateTimePartsCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/date_time_parts/struct.DateTimePartsCompressor.html @@ -1,9 +1,9 @@ -DateTimePartsCompressor in vortex_sampling_compressor::compressors::date_time_parts - Rust
    pub struct DateTimePartsCompressor;

    Trait Implementations§

    source§

    impl Debug for DateTimePartsCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for DateTimePartsCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +DateTimePartsCompressor in vortex_sampling_compressor::compressors::date_time_parts - Rust
    pub struct DateTimePartsCompressor;

    Trait Implementations§

    source§

    impl Debug for DateTimePartsCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for DateTimePartsCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/delta/struct.DeltaCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/delta/struct.DeltaCompressor.html index 39aafa2adc..6afae8d92d 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/delta/struct.DeltaCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/delta/struct.DeltaCompressor.html @@ -1,9 +1,9 @@ -DeltaCompressor in vortex_sampling_compressor::compressors::delta - Rust
    pub struct DeltaCompressor;

    Trait Implementations§

    source§

    impl Debug for DeltaCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for DeltaCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +DeltaCompressor in vortex_sampling_compressor::compressors::delta - Rust
    pub struct DeltaCompressor;

    Trait Implementations§

    source§

    impl Debug for DeltaCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for DeltaCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/dict/struct.DictCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/dict/struct.DictCompressor.html index f1f5ec815f..e3328da356 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/dict/struct.DictCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/dict/struct.DictCompressor.html @@ -1,9 +1,9 @@ -DictCompressor in vortex_sampling_compressor::compressors::dict - Rust
    pub struct DictCompressor;

    Trait Implementations§

    source§

    impl Debug for DictCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for DictCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +DictCompressor in vortex_sampling_compressor::compressors::dict - Rust
    pub struct DictCompressor;

    Trait Implementations§

    source§

    impl Debug for DictCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for DictCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/for/struct.FoRCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/for/struct.FoRCompressor.html index 0b877e1fb4..138d35410a 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/for/struct.FoRCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/for/struct.FoRCompressor.html @@ -1,9 +1,9 @@ -FoRCompressor in vortex_sampling_compressor::compressors::for - Rust
    pub struct FoRCompressor;

    Trait Implementations§

    source§

    impl Debug for FoRCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for FoRCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +FoRCompressor in vortex_sampling_compressor::compressors::for - Rust
    pub struct FoRCompressor;

    Trait Implementations§

    source§

    impl Debug for FoRCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for FoRCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/fsst/struct.FSSTCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/fsst/struct.FSSTCompressor.html index d8778624ce..fbf9338544 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/fsst/struct.FSSTCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/fsst/struct.FSSTCompressor.html @@ -1,9 +1,9 @@ -FSSTCompressor in vortex_sampling_compressor::compressors::fsst - Rust
    pub struct FSSTCompressor;

    Trait Implementations§

    source§

    impl Debug for FSSTCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for FSSTCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +FSSTCompressor in vortex_sampling_compressor::compressors::fsst - Rust
    pub struct FSSTCompressor;

    Trait Implementations§

    source§

    impl Debug for FSSTCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for FSSTCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/list/struct.ListCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/list/struct.ListCompressor.html index 3dabc003d0..44fd01f4be 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/list/struct.ListCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/list/struct.ListCompressor.html @@ -1,9 +1,9 @@ -ListCompressor in vortex_sampling_compressor::compressors::list - Rust
    pub struct ListCompressor;

    Trait Implementations§

    source§

    impl Debug for ListCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ListCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +ListCompressor in vortex_sampling_compressor::compressors::list - Rust
    pub struct ListCompressor;

    Trait Implementations§

    source§

    impl Debug for ListCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ListCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/roaring_bool/struct.RoaringBoolCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/roaring_bool/struct.RoaringBoolCompressor.html index 9373d6dc4c..e70fa1ce8b 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/roaring_bool/struct.RoaringBoolCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/roaring_bool/struct.RoaringBoolCompressor.html @@ -1,9 +1,9 @@ -RoaringBoolCompressor in vortex_sampling_compressor::compressors::roaring_bool - Rust
    pub struct RoaringBoolCompressor;

    Trait Implementations§

    source§

    impl Debug for RoaringBoolCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for RoaringBoolCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +RoaringBoolCompressor in vortex_sampling_compressor::compressors::roaring_bool - Rust
    pub struct RoaringBoolCompressor;

    Trait Implementations§

    source§

    impl Debug for RoaringBoolCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for RoaringBoolCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, _like: Option<CompressionTree<'a>>, _ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/roaring_int/struct.RoaringIntCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/roaring_int/struct.RoaringIntCompressor.html index 9aec95b81f..1917b1e9df 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/roaring_int/struct.RoaringIntCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/roaring_int/struct.RoaringIntCompressor.html @@ -1,9 +1,9 @@ -RoaringIntCompressor in vortex_sampling_compressor::compressors::roaring_int - Rust
    pub struct RoaringIntCompressor;

    Trait Implementations§

    source§

    impl Debug for RoaringIntCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for RoaringIntCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +RoaringIntCompressor in vortex_sampling_compressor::compressors::roaring_int - Rust
    pub struct RoaringIntCompressor;

    Trait Implementations§

    source§

    impl Debug for RoaringIntCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for RoaringIntCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, _like: Option<CompressionTree<'a>>, _ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/runend/struct.RunEndCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/runend/struct.RunEndCompressor.html index bb6451b12e..d1e5a24264 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/runend/struct.RunEndCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/runend/struct.RunEndCompressor.html @@ -1,9 +1,9 @@ -RunEndCompressor in vortex_sampling_compressor::compressors::runend - Rust
    pub struct RunEndCompressor { /* private fields */ }

    Trait Implementations§

    source§

    impl Clone for RunEndCompressor

    source§

    fn clone(&self) -> RunEndCompressor

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RunEndCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for RunEndCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +RunEndCompressor in vortex_sampling_compressor::compressors::runend - Rust
    pub struct RunEndCompressor { /* private fields */ }

    Trait Implementations§

    source§

    impl Clone for RunEndCompressor

    source§

    fn clone(&self) -> RunEndCompressor

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RunEndCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for RunEndCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    source§

    impl Copy for RunEndCompressor

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    source§

    impl Copy for RunEndCompressor

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/runend_bool/struct.RunEndBoolCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/runend_bool/struct.RunEndBoolCompressor.html index ca9e8884b7..069c6044c8 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/runend_bool/struct.RunEndBoolCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/runend_bool/struct.RunEndBoolCompressor.html @@ -1,9 +1,9 @@ -RunEndBoolCompressor in vortex_sampling_compressor::compressors::runend_bool - Rust
    pub struct RunEndBoolCompressor;

    Trait Implementations§

    source§

    impl Debug for RunEndBoolCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for RunEndBoolCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +RunEndBoolCompressor in vortex_sampling_compressor::compressors::runend_bool - Rust
    pub struct RunEndBoolCompressor;

    Trait Implementations§

    source§

    impl Debug for RunEndBoolCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for RunEndBoolCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/sparse/struct.SparseCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/sparse/struct.SparseCompressor.html index 6b9d43dff7..10deb42a0c 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/sparse/struct.SparseCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/sparse/struct.SparseCompressor.html @@ -1,9 +1,9 @@ -SparseCompressor in vortex_sampling_compressor::compressors::sparse - Rust
    pub struct SparseCompressor;

    Trait Implementations§

    source§

    impl Debug for SparseCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for SparseCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +SparseCompressor in vortex_sampling_compressor::compressors::sparse - Rust
    pub struct SparseCompressor;

    Trait Implementations§

    source§

    impl Debug for SparseCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for SparseCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, _: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/struct.CompressedArray.html b/docs/rust/doc/vortex_sampling_compressor/compressors/struct.CompressedArray.html index 590603eabf..153fe97648 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/struct.CompressedArray.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/struct.CompressedArray.html @@ -1,17 +1,17 @@ -CompressedArray in vortex_sampling_compressor::compressors - Rust
    pub struct CompressedArray<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> CompressedArray<'a>

    source

    pub fn uncompressed(array: ArrayData) -> Self

    source

    pub fn compressed( - compressed: ArrayData, +CompressedArray in vortex_sampling_compressor::compressors - Rust
    pub struct CompressedArray<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> CompressedArray<'a>

    source

    pub fn uncompressed(array: ArrayData) -> Self

    source

    pub fn compressed( + compressed: ArrayData, path: Option<CompressionTree<'a>>, - uncompressed: impl AsRef<ArrayData>, -) -> Self

    source

    pub fn array(&self) -> &ArrayData

    source

    pub fn into_array(self) -> ArrayData

    source

    pub fn path(&self) -> &Option<CompressionTree<'_>>

    source

    pub fn into_path(self) -> Option<CompressionTree<'a>>

    source

    pub fn into_parts(self) -> (ArrayData, Option<CompressionTree<'a>>)

    source

    pub fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.

    -

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for CompressedArray<'_>

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl<'a> Clone for CompressedArray<'a>

    source§

    fn clone(&self) -> CompressedArray<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for CompressedArray<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'a> !Freeze for CompressedArray<'a>

    §

    impl<'a> !RefUnwindSafe for CompressedArray<'a>

    §

    impl<'a> !Send for CompressedArray<'a>

    §

    impl<'a> !Sync for CompressedArray<'a>

    §

    impl<'a> Unpin for CompressedArray<'a>

    §

    impl<'a> !UnwindSafe for CompressedArray<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> ArrayDType for T
    where - T: AsRef<ArrayData>,

    source§

    fn dtype(&self) -> &DType

    source§

    impl<T> ArrayEncodingRef for T
    where - T: AsRef<ArrayData>,

    source§

    fn encoding(&self) -> &'static dyn EncodingVTable

    source§

    impl<T> ArrayLen for T
    where - T: AsRef<ArrayData>,

    source§

    fn len(&self) -> usize

    source§

    fn is_empty(&self) -> bool

    source§

    impl<A> ArrayNBytes for A
    where - A: AsRef<ArrayData>,

    source§

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    source§

    impl<T> ArrayStatistics for T
    where - T: AsRef<ArrayData>,

    source§

    fn statistics(&self) -> &dyn Statistics

    source§

    fn inherit_statistics(&self, parent: &dyn Statistics)

    source§

    impl<A> ArrayValidity for A
    where - A: AsRef<ArrayData>,

    source§

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    -
    source§

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    + uncompressed: impl AsRef<ArrayData>, +) -> Self

    source

    pub fn array(&self) -> &ArrayData

    source

    pub fn into_array(self) -> ArrayData

    source

    pub fn path(&self) -> &Option<CompressionTree<'_>>

    source

    pub fn into_path(self) -> Option<CompressionTree<'a>>

    source

    pub fn into_parts(self) -> (ArrayData, Option<CompressionTree<'a>>)

    source

    pub fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.

    +

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for CompressedArray<'_>

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl<'a> Clone for CompressedArray<'a>

    source§

    fn clone(&self) -> CompressedArray<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a> Debug for CompressedArray<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'a> !Freeze for CompressedArray<'a>

    §

    impl<'a> !RefUnwindSafe for CompressedArray<'a>

    §

    impl<'a> !Send for CompressedArray<'a>

    §

    impl<'a> !Sync for CompressedArray<'a>

    §

    impl<'a> Unpin for CompressedArray<'a>

    §

    impl<'a> !UnwindSafe for CompressedArray<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArrayDType for T
    where + T: AsRef<ArrayData>,

    §

    fn dtype(&self) -> &DType

    §

    impl<T> ArrayEncodingRef for T
    where + T: AsRef<ArrayData>,

    §

    fn encoding(&self) -> &'static dyn EncodingVTable

    §

    impl<T> ArrayLen for T
    where + T: AsRef<ArrayData>,

    §

    fn len(&self) -> usize

    §

    fn is_empty(&self) -> bool

    §

    impl<A> ArrayNBytes for A
    where + A: AsRef<ArrayData>,

    §

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    §

    impl<T> ArrayStatistics for T
    where + T: AsRef<ArrayData>,

    §

    fn statistics(&self) -> &dyn Statistics

    §

    fn inherit_statistics(&self, parent: &dyn Statistics)

    §

    impl<A> ArrayValidity for A
    where + A: AsRef<ArrayData>,

    §

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    +
    §

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where @@ -29,8 +29,8 @@ F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<A> ToArrayData for A
    where - A: AsRef<ArrayData>,

    source§

    impl<T> ToOwned for T
    where +otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    §

    impl<A> ToArrayData for A
    where + A: AsRef<ArrayData>,

    §

    fn to_array(&self) -> ArrayData

    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/struct.CompressionTree.html b/docs/rust/doc/vortex_sampling_compressor/compressors/struct.CompressionTree.html index f05393776a..8f71955138 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/struct.CompressionTree.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/struct.CompressionTree.html @@ -3,12 +3,12 @@ children: Vec<Option<CompressionTree<'a>>>, ) -> Self

    source

    pub fn child(&self, idx: usize) -> Option<&CompressionTree<'a>>

    source

    pub fn compress_unchecked( &self, - array: &ArrayData, + array: &ArrayData, ctx: &SamplingCompressor<'a>, ) -> VortexResult<CompressedArray<'a>>

    Compresses array with our compressor without verifying that the compressor can compress this array

    source

    pub fn compress( &self, - array: &ArrayData, + array: &ArrayData, ctx: &SamplingCompressor<'a>, ) -> Option<VortexResult<CompressedArray<'a>>>

    source

    pub fn compressor(&self) -> &dyn EncodingCompressor

    source

    pub fn metadata(&mut self) -> Option<Arc<dyn EncoderMetadata>>

    Access the saved opaque metadata.

    This will consume the owned metadata, giving the caller ownership of diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/struct_/struct.StructCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/struct_/struct.StructCompressor.html index f7f8903267..cc7b1f08e0 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/struct_/struct.StructCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/struct_/struct.StructCompressor.html @@ -1,9 +1,9 @@ -StructCompressor in vortex_sampling_compressor::compressors::struct_ - Rust

    pub struct StructCompressor;

    Trait Implementations§

    source§

    impl Debug for StructCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for StructCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +StructCompressor in vortex_sampling_compressor::compressors::struct_ - Rust
    pub struct StructCompressor;

    Trait Implementations§

    source§

    impl Debug for StructCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for StructCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/trait.EncodingCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/trait.EncodingCompressor.html index 2bd5adbde5..d9e1f3680c 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/trait.EncodingCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/trait.EncodingCompressor.html @@ -5,20 +5,20 @@ // Required methods fn id(&self) -> &str; fn cost(&self) -> u8; - fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>; + fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>; fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, ) -> VortexResult<CompressedArray<'a>>; - fn used_encodings(&self) -> HashSet<EncodingRef>; -}

    Required Methods§

    source

    fn id(&self) -> &str

    source

    fn cost(&self) -> u8

    source

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source

    fn compress<'a>( + fn used_encodings(&self) -> HashSet<EncodingRef>; +}

    Required Methods§

    source

    fn id(&self) -> &str

    source

    fn cost(&self) -> u8

    source

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Trait Implementations§

    source§

    impl<'a, 'b: 'a> Arbitrary<'a> for &'b dyn EncodingCompressor

    source§

    fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    §

    fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

    Generate an arbitrary value of Self from the entirety of the given +) -> VortexResult<CompressedArray<'a>>

    source

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Trait Implementations§

    source§

    impl<'a, 'b: 'a> Arbitrary<'a> for &'b dyn EncodingCompressor

    source§

    fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    §

    fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    §

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    §

    fn try_size_hint( depth: usize, diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/varbin/struct.VarBinCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/varbin/struct.VarBinCompressor.html index 2ba5d48757..70727af1e8 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/varbin/struct.VarBinCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/varbin/struct.VarBinCompressor.html @@ -1,9 +1,9 @@ -VarBinCompressor in vortex_sampling_compressor::compressors::varbin - Rust
    pub struct VarBinCompressor;

    Trait Implementations§

    source§

    impl Debug for VarBinCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for VarBinCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +VarBinCompressor in vortex_sampling_compressor::compressors::varbin - Rust
    pub struct VarBinCompressor;

    Trait Implementations§

    source§

    impl Debug for VarBinCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for VarBinCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/compressors/zigzag/struct.ZigZagCompressor.html b/docs/rust/doc/vortex_sampling_compressor/compressors/zigzag/struct.ZigZagCompressor.html index c62ca9ac83..a0152e7e55 100644 --- a/docs/rust/doc/vortex_sampling_compressor/compressors/zigzag/struct.ZigZagCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/compressors/zigzag/struct.ZigZagCompressor.html @@ -1,9 +1,9 @@ -ZigZagCompressor in vortex_sampling_compressor::compressors::zigzag - Rust
    pub struct ZigZagCompressor;

    Trait Implementations§

    source§

    impl Debug for ZigZagCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ZigZagCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( +ZigZagCompressor in vortex_sampling_compressor::compressors::zigzag - Rust
    pub struct ZigZagCompressor;

    Trait Implementations§

    source§

    impl Debug for ZigZagCompressor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl EncodingCompressor for ZigZagCompressor

    source§

    fn id(&self) -> &str

    source§

    fn cost(&self) -> u8

    source§

    fn can_compress(&self, array: &ArrayData) -> Option<&dyn EncodingCompressor>

    source§

    fn compress<'a>( &'a self, - array: &ArrayData, + array: &ArrayData, like: Option<CompressionTree<'a>>, ctx: SamplingCompressor<'a>, -) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> VortexResult<CompressedArray<'a>>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/docs/rust/doc/vortex_sampling_compressor/static.ALL_ENCODINGS_CONTEXT.html b/docs/rust/doc/vortex_sampling_compressor/static.ALL_ENCODINGS_CONTEXT.html index ae9eedac05..986e48bba2 100644 --- a/docs/rust/doc/vortex_sampling_compressor/static.ALL_ENCODINGS_CONTEXT.html +++ b/docs/rust/doc/vortex_sampling_compressor/static.ALL_ENCODINGS_CONTEXT.html @@ -1 +1 @@ -ALL_ENCODINGS_CONTEXT in vortex_sampling_compressor - Rust
    pub static ALL_ENCODINGS_CONTEXT: LazyLock<Arc<Context>>
    \ No newline at end of file +ALL_ENCODINGS_CONTEXT in vortex_sampling_compressor - Rust
    pub static ALL_ENCODINGS_CONTEXT: LazyLock<Arc<Context>>
    \ No newline at end of file diff --git a/docs/rust/doc/vortex_sampling_compressor/struct.SamplingCompressor.html b/docs/rust/doc/vortex_sampling_compressor/struct.SamplingCompressor.html index f494d25ffe..0ca15667d7 100644 --- a/docs/rust/doc/vortex_sampling_compressor/struct.SamplingCompressor.html +++ b/docs/rust/doc/vortex_sampling_compressor/struct.SamplingCompressor.html @@ -1,16 +1,16 @@ -SamplingCompressor in vortex_sampling_compressor - Rust
    pub struct SamplingCompressor<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> SamplingCompressor<'a>

    source

    pub fn new(compressors: HashSet<CompressorRef<'a>>) -> Self

    source

    pub fn new_with_options( - compressors: HashSet<CompressorRef<'a>>, +SamplingCompressor in vortex_sampling_compressor - Rust
    pub struct SamplingCompressor<'a> { /* private fields */ }

    Implementations§

    source§

    impl<'a> SamplingCompressor<'a>

    source

    pub fn new(compressors: HashSet<CompressorRef<'a>>) -> Self

    source

    pub fn new_with_options( + compressors: HashSet<CompressorRef<'a>>, options: CompressConfig, ) -> Self

    source

    pub fn named(&self, name: &str) -> Self

    source

    pub fn auxiliary(&self, name: &str) -> Self

    source

    pub fn for_compressor(&self, compression: &dyn EncodingCompressor) -> Self

    source

    pub fn options(&self) -> &CompressConfig

    source

    pub fn excluding(&self, compressor: CompressorRef<'a>) -> Self

    source

    pub fn including(&self, compressor: CompressorRef<'a>) -> Self

    source

    pub fn including_only(&self, compressors: &[CompressorRef<'a>]) -> Self

    source

    pub fn is_enabled(&self, compressor: CompressorRef<'a>) -> bool

    source

    pub fn compress( &self, - arr: &ArrayData, + arr: &ArrayData, like: Option<&CompressionTree<'a>>, -) -> VortexResult<CompressedArray<'a>>

    source

    pub fn compress_validity(&self, validity: Validity) -> VortexResult<Validity>

    source

    pub fn compress_patches(&self, patches: Patches) -> VortexResult<Patches>

    Trait Implementations§

    source§

    impl<'a, 'b: 'a> Arbitrary<'a> for SamplingCompressor<'b>

    source§

    fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    §

    fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

    Generate an arbitrary value of Self from the entirety of the given +) -> VortexResult<CompressedArray<'a>>

    source

    pub fn compress_validity(&self, validity: Validity) -> VortexResult<Validity>

    source

    pub fn compress_patches(&self, patches: Patches) -> VortexResult<Patches>

    Trait Implementations§

    source§

    impl<'a, 'b: 'a> Arbitrary<'a> for SamplingCompressor<'b>

    source§

    fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>

    Generate an arbitrary value of Self from the given unstructured data. Read more
    §

    fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

    Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
    §

    fn size_hint(depth: usize) -> (usize, Option<usize>)

    Get a size hint for how many bytes out of an Unstructured this type needs to construct itself. Read more
    §

    fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>

    Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
    source§

    impl<'a> Clone for SamplingCompressor<'a>

    source§

    fn clone(&self) -> SamplingCompressor<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl CompressionStrategy for SamplingCompressor<'_>

    source§

    fn compress(&self, array: &ArrayData) -> VortexResult<ArrayData>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    source§

    impl<'a> Debug for SamplingCompressor<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for SamplingCompressor<'_>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Display for SamplingCompressor<'_>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'a> Freeze for SamplingCompressor<'a>

    §

    impl<'a> !RefUnwindSafe for SamplingCompressor<'a>

    §

    impl<'a> Send for SamplingCompressor<'a>

    §

    impl<'a> Sync for SamplingCompressor<'a>

    §

    impl<'a> Unpin for SamplingCompressor<'a>

    §

    impl<'a> !UnwindSafe for SamplingCompressor<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +needs to construct itself. Read more

    source§

    impl<'a> Clone for SamplingCompressor<'a>

    source§

    fn clone(&self) -> SamplingCompressor<'a>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl CompressionStrategy for SamplingCompressor<'_>

    source§

    fn compress(&self, array: &ArrayData) -> VortexResult<ArrayData>

    source§

    fn used_encodings(&self) -> HashSet<EncodingRef>

    source§

    impl<'a> Debug for SamplingCompressor<'a>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for SamplingCompressor<'_>

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Display for SamplingCompressor<'_>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<'a> Freeze for SamplingCompressor<'a>

    §

    impl<'a> !RefUnwindSafe for SamplingCompressor<'a>

    §

    impl<'a> Send for SamplingCompressor<'a>

    §

    impl<'a> Sync for SamplingCompressor<'a>

    §

    impl<'a> Unpin for SamplingCompressor<'a>

    §

    impl<'a> !UnwindSafe for SamplingCompressor<'a>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where diff --git a/docs/rust/doc/vortex_zigzag/fn.zigzag_decode.html b/docs/rust/doc/vortex_zigzag/fn.zigzag_decode.html index dafd4659eb..0ea7edaec1 100644 --- a/docs/rust/doc/vortex_zigzag/fn.zigzag_decode.html +++ b/docs/rust/doc/vortex_zigzag/fn.zigzag_decode.html @@ -1 +1 @@ -zigzag_decode in vortex_zigzag - Rust

    Function vortex_zigzag::zigzag_decode

    source ·
    pub fn zigzag_decode(parray: PrimitiveArray) -> VortexResult<PrimitiveArray>
    \ No newline at end of file +zigzag_decode in vortex_zigzag - Rust

    Function vortex_zigzag::zigzag_decode

    source ·
    pub fn zigzag_decode(parray: PrimitiveArray) -> VortexResult<PrimitiveArray>
    \ No newline at end of file diff --git a/docs/rust/doc/vortex_zigzag/fn.zigzag_encode.html b/docs/rust/doc/vortex_zigzag/fn.zigzag_encode.html index a138845e42..95a8b80ab0 100644 --- a/docs/rust/doc/vortex_zigzag/fn.zigzag_encode.html +++ b/docs/rust/doc/vortex_zigzag/fn.zigzag_encode.html @@ -1 +1 @@ -zigzag_encode in vortex_zigzag - Rust

    Function vortex_zigzag::zigzag_encode

    source ·
    pub fn zigzag_encode(parray: PrimitiveArray) -> VortexResult<ZigZagArray>
    \ No newline at end of file +zigzag_encode in vortex_zigzag - Rust

    Function vortex_zigzag::zigzag_encode

    source ·
    pub fn zigzag_encode(parray: PrimitiveArray) -> VortexResult<ZigZagArray>
    \ No newline at end of file diff --git a/docs/rust/doc/vortex_zigzag/struct.ZigZagArray.html b/docs/rust/doc/vortex_zigzag/struct.ZigZagArray.html index 242a1be2e4..dbfedd9ee4 100644 --- a/docs/rust/doc/vortex_zigzag/struct.ZigZagArray.html +++ b/docs/rust/doc/vortex_zigzag/struct.ZigZagArray.html @@ -1,43 +1,43 @@ -ZigZagArray in vortex_zigzag - Rust

    Struct vortex_zigzag::ZigZagArray

    source ·
    pub struct ZigZagArray(/* private fields */);

    Implementations§

    source§

    impl ZigZagArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    +ZigZagArray in vortex_zigzag - Rust

    Struct vortex_zigzag::ZigZagArray

    source ·
    pub struct ZigZagArray(/* private fields */);

    Implementations§

    source§

    impl ZigZagArray

    source

    pub fn maybe_from(data: ArrayData) -> Option<Self>

    Optionally downcast an ArrayData instance to a specific encoding.

    Preferred in cases where a backtrace isn’t needed, like when trying multiple encoding to go down different code paths.

    -
    source§

    impl ZigZagArray

    source

    pub fn try_new(encoded: ArrayData) -> VortexResult<Self>

    source

    pub fn encode(array: &ArrayData) -> VortexResult<ZigZagArray>

    source

    pub fn encoded(&self) -> ArrayData

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for ZigZagArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ZigZagArray

    source§

    fn clone(&self) -> ZigZagArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ZigZagArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoArrayData for ZigZagArray

    source§

    impl IntoCanonical for ZigZagArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    source§

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where - Self: Sized,

    source§

    impl PrimitiveArrayTrait for ZigZagArray

    source§

    fn ptype(&self) -> PType

    source§

    impl ScalarAtFn<ZigZagArray> for ZigZagEncoding

    source§

    fn scalar_at(&self, array: &ZigZagArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<ZigZagArray> for ZigZagEncoding

    source§

    impl ZigZagArray

    source

    pub fn try_new(encoded: ArrayData) -> VortexResult<Self>

    source

    pub fn encode(array: &ArrayData) -> VortexResult<ZigZagArray>

    source

    pub fn encoded(&self) -> ArrayData

    Trait Implementations§

    source§

    impl AsRef<ArrayData> for ZigZagArray

    source§

    fn as_ref(&self) -> &ArrayData

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for ZigZagArray

    source§

    fn clone(&self) -> ZigZagArray

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ZigZagArray

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoArrayData for ZigZagArray

    source§

    fn into_array(self) -> ArrayData

    source§

    impl IntoCanonical for ZigZagArray

    source§

    fn into_canonical(self) -> VortexResult<Canonical>

    §

    fn into_arrow(self) -> Result<Arc<dyn Array>, VortexError>
    where + Self: Sized,

    source§

    impl PrimitiveArrayTrait for ZigZagArray

    §

    fn ptype(&self) -> PType

    source§

    impl ScalarAtFn<ZigZagArray> for ZigZagEncoding

    source§

    fn scalar_at(&self, array: &ZigZagArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<ZigZagArray> for ZigZagEncoding

    source§

    fn slice( &self, array: &ZigZagArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
    source§

    impl StatisticsVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn compute_statistics( &self, array: &ZigZagArray, - stat: Stat, -) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a ZigZagArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for ZigZagArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<ZigZagArray> for ZigZagEncoding

    source§

    impl VariantsVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn as_primitive_array<'a>( + stat: Stat, +) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl<'a> TryFrom<&'a ArrayData> for &'a ZigZagArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: &'a ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl TryFrom<ArrayData> for ZigZagArray

    source§

    type Error = VortexError

    The type returned in the event of a conversion error.
    source§

    fn try_from(data: ArrayData) -> VortexResult<Self>

    Performs the conversion.
    source§

    impl ValidityVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn is_valid(&self, array: &ZigZagArray, index: usize) -> bool

    source§

    fn logical_validity(&self, array: &ZigZagArray) -> LogicalValidity

    source§

    impl VariantsVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn as_primitive_array<'a>( &self, array: &'a ZigZagArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    §

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    §

    fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn accept( &self, array: &ZigZagArray, - visitor: &mut dyn ArrayVisitor, -) -> VortexResult<()>

    source§

    impl ArrayTrait for ZigZagArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> ArrayDType for T
    where - T: AsRef<ArrayData>,

    source§

    fn dtype(&self) -> &DType

    source§

    impl<T> ArrayEncodingRef for T
    where - T: AsRef<ArrayData>,

    source§

    fn encoding(&self) -> &'static dyn EncodingVTable

    source§

    impl<T> ArrayLen for T
    where - T: AsRef<ArrayData>,

    source§

    fn len(&self) -> usize

    source§

    fn is_empty(&self) -> bool

    source§

    impl<A> ArrayNBytes for A
    where - A: AsRef<ArrayData>,

    source§

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    source§

    impl<T> ArrayStatistics for T
    where - T: AsRef<ArrayData>,

    source§

    fn statistics(&self) -> &dyn Statistics

    source§

    fn inherit_statistics(&self, parent: &dyn Statistics)

    source§

    impl<A> ArrayValidity for A
    where - A: AsRef<ArrayData>,

    source§

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    -
    source§

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    + visitor: &mut dyn ArrayVisitor, +) -> VortexResult<()>
    source§

    impl ArrayTrait for ZigZagArray

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    §

    impl<T> ArrayDType for T
    where + T: AsRef<ArrayData>,

    §

    fn dtype(&self) -> &DType

    §

    impl<T> ArrayEncodingRef for T
    where + T: AsRef<ArrayData>,

    §

    fn encoding(&self) -> &'static dyn EncodingVTable

    §

    impl<T> ArrayLen for T
    where + T: AsRef<ArrayData>,

    §

    fn len(&self) -> usize

    §

    fn is_empty(&self) -> bool

    §

    impl<A> ArrayNBytes for A
    where + A: AsRef<ArrayData>,

    §

    fn nbytes(&self) -> usize

    Total size of the array in bytes, including all children and buffers.
    §

    impl<T> ArrayStatistics for T
    where + T: AsRef<ArrayData>,

    §

    fn statistics(&self) -> &dyn Statistics

    §

    fn inherit_statistics(&self, parent: &dyn Statistics)

    §

    impl<A> ArrayValidity for A
    where + A: AsRef<ArrayData>,

    §

    fn is_valid(&self, index: usize) -> bool

    Return whether the element at the given index is valid (true) or null (false).

    +
    §

    fn logical_validity(&self) -> LogicalValidity

    Return the logical validity of the array.

    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where @@ -48,16 +48,16 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    source§

    impl<T> IntoArrayVariant for T
    where - T: IntoCanonical,

    source§

    fn into_null(self) -> Result<NullArray, VortexError>

    source§

    fn into_bool(self) -> Result<BoolArray, VortexError>

    source§

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    source§

    fn into_struct(self) -> Result<StructArray, VortexError>

    source§

    fn into_list(self) -> Result<ListArray, VortexError>

    source§

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    source§

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> +
    §

    impl<T> IntoArrayVariant for T
    where + T: IntoCanonical,

    §

    fn into_null(self) -> Result<NullArray, VortexError>

    §

    fn into_bool(self) -> Result<BoolArray, VortexError>

    §

    fn into_primitive(self) -> Result<PrimitiveArray, VortexError>

    §

    fn into_struct(self) -> Result<StructArray, VortexError>

    §

    fn into_list(self) -> Result<ListArray, VortexError>

    §

    fn into_varbinview(self) -> Result<VarBinViewArray, VortexError>

    §

    fn into_extension(self) -> Result<ExtensionArray, VortexError>

    source§

    impl<T> IntoEither for T

    source§

    fn into_either(self, into_left: bool) -> Either<Self, Self>

    Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
    source§

    fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
    where F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<A> ToArrayData for A
    where - A: AsRef<ArrayData>,

    source§

    impl<T> ToOwned for T
    where +otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    §

    impl<A> ToArrayData for A
    where + A: AsRef<ArrayData>,

    §

    fn to_array(&self) -> ArrayData

    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where diff --git a/docs/rust/doc/vortex_zigzag/struct.ZigZagEncoding.html b/docs/rust/doc/vortex_zigzag/struct.ZigZagEncoding.html index a97823352a..4ebe861a2b 100644 --- a/docs/rust/doc/vortex_zigzag/struct.ZigZagEncoding.html +++ b/docs/rust/doc/vortex_zigzag/struct.ZigZagEncoding.html @@ -1,32 +1,32 @@ ZigZagEncoding in vortex_zigzag - Rust

    Struct vortex_zigzag::ZigZagEncoding

    source ·
    pub struct ZigZagEncoding;
    Expand description

    The array encoding

    -

    Trait Implementations§

    source§

    impl ComputeVTable for ZigZagEncoding

    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    source§

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    source§

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    source§

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    source§

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    source§

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    source§

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    source§

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    source§

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    source§

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    source§

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    source§

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of -the receiver. Read more
    source§

    impl Debug for ZigZagEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for ZigZagEncoding

    source§

    impl EncodingVTable for ZigZagEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl ScalarAtFn<ZigZagArray> for ZigZagEncoding

    source§

    fn scalar_at(&self, array: &ZigZagArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<ZigZagArray> for ZigZagEncoding

    Trait Implementations§

    source§

    impl ComputeVTable for ZigZagEncoding

    source§

    fn scalar_at_fn(&self) -> Option<&dyn ScalarAtFn<ArrayData>>

    Single item indexing on Vortex arrays. Read more
    source§

    fn slice_fn(&self) -> Option<&dyn SliceFn<ArrayData>>

    Perform zero-copy slicing of an array. Read more
    §

    fn binary_boolean_fn(&self) -> Option<&dyn BinaryBooleanFn<ArrayData>>

    Implementation of binary boolean logic operations. Read more
    §

    fn cast_fn(&self) -> Option<&dyn CastFn<ArrayData>>

    Implemented for arrays that can be casted to different types. Read more
    §

    fn compare_fn(&self) -> Option<&dyn CompareFn<ArrayData>>

    Binary operator implementation for arrays against other arrays. Read more
    §

    fn fill_forward_fn(&self) -> Option<&dyn FillForwardFn<ArrayData>>

    Array function that returns new arrays a non-null value is repeated across runs of nulls. Read more
    §

    fn fill_null_fn(&self) -> Option<&dyn FillNullFn<ArrayData>>

    Fill null values with given desired value. Resulting array is NonNullable Read more
    §

    fn filter_fn(&self) -> Option<&dyn FilterFn<ArrayData>>

    Filter an array with a given mask. Read more
    §

    fn invert_fn(&self) -> Option<&dyn InvertFn<ArrayData>>

    Invert a boolean array. Converts true -> false, false -> true, null -> null. Read more
    §

    fn like_fn(&self) -> Option<&dyn LikeFn<ArrayData>>

    Perform a SQL LIKE operation on two arrays. Read more
    §

    fn search_sorted_fn(&self) -> Option<&dyn SearchSortedFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn search_sorted_usize_fn(&self) -> Option<&dyn SearchSortedUsizeFn<ArrayData>>

    Perform a search over an ordered array. Read more
    §

    fn subtract_scalar_fn(&self) -> Option<&dyn SubtractScalarFn<ArrayData>>

    Broadcast subtraction of scalar from Vortex array. Read more
    §

    fn take_fn(&self) -> Option<&dyn TakeFn<ArrayData>>

    Take a set of indices from an array. This often forces allocations and decoding of +the receiver. Read more
    source§

    impl Debug for ZigZagEncoding

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Encoding for ZigZagEncoding

    source§

    impl EncodingVTable for ZigZagEncoding

    source§

    fn id(&self) -> EncodingId

    source§

    fn as_any(&self) -> &dyn Any

    source§

    impl ScalarAtFn<ZigZagArray> for ZigZagEncoding

    source§

    fn scalar_at(&self, array: &ZigZagArray, index: usize) -> VortexResult<Scalar>

    source§

    impl SliceFn<ZigZagArray> for ZigZagEncoding

    source§

    fn slice( &self, array: &ZigZagArray, start: usize, stop: usize, -) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). +) -> VortexResult<ArrayData>

    Return a zero-copy slice of an array, between start (inclusive) and end (exclusive). If start >= stop, returns an empty array of the same type as self. -Assumes that start or stop are out of bounds, may panic otherwise.
    source§

    impl StatisticsVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn compute_statistics( +Assumes that start or stop are out of bounds, may panic otherwise.

    source§

    impl StatisticsVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn compute_statistics( &self, array: &ZigZagArray, - stat: Stat, -) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl ValidityVTable<ZigZagArray> for ZigZagEncoding

    source§

    impl VariantsVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn as_primitive_array<'a>( + stat: Stat, +) -> VortexResult<StatsSet>

    Compute the requested statistic. Can return additional stats.
    source§

    impl ValidityVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn is_valid(&self, array: &ZigZagArray, index: usize) -> bool

    source§

    fn logical_validity(&self, array: &ZigZagArray) -> LogicalValidity

    source§

    impl VariantsVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn as_primitive_array<'a>( &self, array: &'a ZigZagArray, -) -> Option<&'a dyn PrimitiveArrayTrait>

    source§

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    source§

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    source§

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    source§

    fn as_binary_array<'a>( +) -> Option<&'a dyn PrimitiveArrayTrait>

    §

    fn as_null_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn NullArrayTrait>

    §

    fn as_bool_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn BoolArrayTrait>

    §

    fn as_utf8_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn Utf8ArrayTrait>

    §

    fn as_binary_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn BinaryArrayTrait>

    source§

    fn as_struct_array<'a>( +) -> Option<&'a dyn BinaryArrayTrait>

    §

    fn as_struct_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn StructArrayTrait>

    source§

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    source§

    fn as_extension_array<'a>( +) -> Option<&'a dyn StructArrayTrait>

    §

    fn as_list_array<'a>(&self, _array: &'a Array) -> Option<&'a dyn ListArrayTrait>

    §

    fn as_extension_array<'a>( &self, _array: &'a Array, -) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn accept( +) -> Option<&'a dyn ExtensionArrayTrait>

    source§

    impl VisitorVTable<ZigZagArray> for ZigZagEncoding

    source§

    fn accept( &self, array: &ZigZagArray, - visitor: &mut dyn ArrayVisitor, + visitor: &mut dyn ArrayVisitor, ) -> VortexResult<()>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where @@ -44,12 +44,12 @@ F: FnOnce(&Self) -> bool,

    Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> -otherwise. Read more
    source§

    impl<E> MetadataVTable for E
    where - E: Encoding, - <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    impl<E> MetadataVTable for E
    where + E: Encoding, + <E as Encoding>::Metadata: for<'m> TryDeserializeArrayMetadata<'m>,

    §

    fn load_metadata( &self, metadata: Option<&[u8]>, -) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where +) -> Result<Arc<dyn ArrayMetadata>, VortexError>

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where diff --git a/docs/rust/doc/vortex_zigzag/struct.ZigZagMetadata.html b/docs/rust/doc/vortex_zigzag/struct.ZigZagMetadata.html index 5dc8a90f8d..b93249cbd9 100644 --- a/docs/rust/doc/vortex_zigzag/struct.ZigZagMetadata.html +++ b/docs/rust/doc/vortex_zigzag/struct.ZigZagMetadata.html @@ -1,5 +1,5 @@ -ZigZagMetadata in vortex_zigzag - Rust

    Struct vortex_zigzag::ZigZagMetadata

    source ·
    pub struct ZigZagMetadata;

    Trait Implementations§

    source§

    impl ArrayMetadata for ZigZagMetadata

    Implement ArrayMetadata

    -
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for ZigZagMetadata

    source§

    fn clone(&self) -> ZigZagMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ZigZagMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ZigZagMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where +ZigZagMetadata in vortex_zigzag - Rust

    Struct vortex_zigzag::ZigZagMetadata

    source ·
    pub struct ZigZagMetadata;

    Trait Implementations§

    source§

    impl ArrayMetadata for ZigZagMetadata

    Implement ArrayMetadata

    +
    source§

    fn as_any(&self) -> &dyn Any

    source§

    fn as_any_arc(self: Arc<Self>) -> Arc<dyn Any + Send + Sync>

    source§

    impl Clone for ZigZagMetadata

    source§

    fn clone(&self) -> ZigZagMetadata

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ZigZagMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ZigZagMetadata

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for ZigZagMetadata

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Serialize for ZigZagMetadata

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where @@ -22,13 +22,13 @@ otherwise. Read more

    source§

    impl<T> Same for T

    source§

    type Output = T

    Should always be Self
    source§

    impl<T> ToOwned for T
    where T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    §

    impl<T> ToRawKvValue for T
    where T: Serialize,

    §

    fn raw_kv_value(&self) -> Result<JsValue, KvError>

    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where - M: Deserialize<'de>,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    §

    impl<'de, M> TryDeserializeArrayMetadata<'de> for M
    where + M: Deserialize<'de>,

    §

    fn try_deserialize_metadata( metadata: Option<&'de [u8]>, ) -> Result<M, VortexError>

    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    source§

    impl<M> TrySerializeArrayMetadata for M
    where - M: Serialize,

    source§

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<M> TrySerializeArrayMetadata for M
    where + M: Serialize,

    §

    fn try_serialize_metadata(&self) -> Result<Arc<[u8]>, VortexError>

    §

    impl<V, T> VZip<V> for T
    where V: MultiLane<T>,

    §

    fn vzip(self) -> V

    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a