Expand description
Array defines all in-memory representations of vectorized execution framework.
Re-exportsΒ§
pub use data_chunk_iter::RowRef;pub use interval_array::IntervalArray;pub use interval_array::IntervalArrayBuilder;pub use list_array::ListArray;pub use list_array::ListArrayBuilder;pub use list_array::ListRef;pub use list_array::ListValue;pub use stream_chunk::Op;pub use stream_chunk::StreamChunk;pub use stream_chunk::StreamChunkTestExt;pub use stream_chunk_builder::StreamChunkBuilder;pub use struct_array::StructArray;pub use struct_array::StructArrayBuilder;pub use struct_array::StructRef;pub use struct_array::StructValue;pub use self::error::ArrayError;pub use bytes_array::*;
ModulesΒ§
- arrow
- bool_
array π - bytes_
array - chrono_
array π - data_
chunk π - data_
chunk_ iter - decimal_
array π - error
- interval_
array - iterator π
- jsonb_
array π - list_
array - map_
array π - num256_
array π - primitive_
array π - proto_
reader π - stream_
chunk - stream_
chunk_ builder - stream_
chunk_ πiter - stream_
record - struct_
array - utf8_
array π - vector_
array π
MacrosΒ§
- array_
builder_ πimpl_ enum - Define
ArrayImplBuilderwith macro. - array_
impl_ πenum - Define
ArrayImplwith macro. - impl_
convert π impl_convertimplements several conversions forArrayandArrayBuilder.
StructsΒ§
- Array
Iterator - Bool
Array - Bool
Array Builder BoolArrayBuilderconstructs aBoolArrayfromOption<Bool>.- Data
Chunk DataChunkis a collection of Columns, with a visibility mask for each row. For instance, we could have aDataChunkof this format.- Finite32
- A
f32without nan/inf/-inf. Added as intermediate type totry_collectf32values into aVectorVal. - Int256
Array - Int256
Array Builder - Jsonb
Array - Jsonb
Array Builder - MapArray
MapArrayis physically just aList<Struct<key: K, value: V>>array, but with some additional restrictions.- MapArray
Builder - MapRef
- A map is just a slice of the underlying struct array.
- MapValue
- Refer to
MapArrayfor the invariants of a map value. - Primitive
Array PrimitiveArrayis a collection of primitive types, such asi32,f32.- Primitive
Array Builder PrimitiveArrayBuilderconstructs aPrimitiveArrayfromOption<Primitive>.- String
Writer - Note: dropping an unfinished
StringWriterwill rollback the partial data, which is the behavior of the innerBytesWriter. - Utf8
Array Utf8Arrayis a collection of Rust Utf8strs. Itβs a wrapper ofBytesArray.- Utf8
Array Builder Utf8ArrayBuilderuse&strto build anUtf8Array.- Vector
Array - Vector
Array Builder
EnumsΒ§
- Array
Builder Impl ArrayBuilderImplembeds all possible array inarraymodule.- Array
Impl ArrayImplembeds all possible array inarraymodule.
ConstantsΒ§
- NULL_
VAL_ πFOR_ HASH - The hash source for
Nonevalues when hashing an item. - VECTOR_
DISTANCE_ TYPE - VECTOR_
ITEM_ TYPE
StaticsΒ§
- VECTOR_
AS_ LIST_ TYPE - Sometimes we can interpret a vector as a list to reuse some code, pass this type around.
TraitsΒ§
- Array
- A trait over all array.
- Array
Builder - A trait over all array builders.
- Array
Compact VisExt - Implement
compact_vison array, which removes element according tovisibility. - Data
Chunk Test Ext - Test utilities for
DataChunk. - Primitive
Array Item Type - Physical type of array items which have fixed size.
Type AliasesΒ§
- Array
Impl Builder - Array
Ref - Array
Result - Date
Array - Date
Array Builder - Decimal
Array - Decimal
Array Builder - F32Array
- F32Array
Builder - F64Array
- F64Array
Builder - I16Array
- I16Array
Builder - I32Array
- I32Array
Builder - I64Array
- I64Array
Builder - Serial
Array - Serial
Array Builder - Time
Array - Time
Array Builder - Timestamp
Array - Timestamp
Array Builder - Timestamptz
Array - Timestamptz
Array Builder - Vector
Distance Type - Vector
Item Type - Vector
Ref - Vector
Val