Module arrow_array::builder
source · Expand description
Defines builders for the various array types
Structs
- A builder for creating a boolean
Buffer
- Array builder for fixed-width primitive types
- Builder for creating a
Buffer
object. - A fixed size binary array builder
- Array builder for
FixedSizeListArray
- Array builder for
GenericByteArray
- Generic array builder for
DictionaryArray
that stores generic byte values. For example to map a set of byte indices to String values. Note that the use of aHashMap
here will not scale to very large arrays or result in an ordered dictionary. - Array builder for
RunArray
for String and Binary types. - Array builder for
GenericListArray
- Creates a new
MapBuilder
- Contains details of the mapping
- Array builder for fixed-width primitive types
- Array builder for
DictionaryArray
. For example to map a set of byte indices to f32 values. Note that the use of aHashMap
here will not scale to very large arrays or result in an ordered dictionary. - Array builder for
RunArray
that encodes primitive values. - Array builder for Struct types.
- Builder type for creating a new
UnionArray
.
Traits
- Trait for dealing with different array builders at runtime
Functions
- Returns a builder with capacity
capacity
that corresponds to the datatypeDataType
This function is useful to construct arrays from an arbitrary vectors with known/expected schema.
Type Definitions
- A binary array builder with i32 offsets
- Array builder for
DictionaryArray
that stores binary. For example to map a set of byte indices to binary values. Note that the use of aHashMap
here will not scale to very large arrays or result in an ordered dictionary. - Array builder for
RunArray
that encodes binary values(BinaryType
). - Buffer builder for 32-bit date type.
- A 32-bit date array builder.
- Buffer builder for 64-bit date type.
- A 64-bit date array builder.
- A decimal 128 array builder
- A decimal 256 array builder
- Buffer builder for elaspsed time of microseconds unit.
- An elapsed time in microseconds array builder.
- Buffer builder for elaspsed time of milliseconds unit.
- An elapsed time in milliseconds array builder.
- Buffer builder for elaspsed time of nanoseconds unit.
- An elapsed time in nanoseconds array builder.
- Buffer builder for elaspsed time of second unit.
- An elapsed time in seconds array builder.
- Buffer builder for 32-bit floating point type.
- A 32-bit floating point array builder.
- Buffer builder for 64-bit floating point type.
- A 64-bit floating point array builder.
- Array builder for
GenericBinaryArray
- Array builder for
GenericStringArray
- Buffer builder for signed 8-bit integer type.
- A signed 8-bit integer array builder.
- Buffer builder for signed 16-bit integer type.
- A signed 16-bit integer array builder.
- Buffer builder for signed 32-bit integer type.
- A signed 32-bit integer array builder.
- Buffer builder for signed 64-bit integer type.
- A signed 64-bit integer array builder.
- Buffer builder for “calendar” interval in days and milliseconds.
- A “calendar” interval in days and milliseconds array builder.
- Buffer builder “calendar” interval in months, days, and nanoseconds.
- A “calendar” interval in months, days, and nanoseconds array builder.
- Buffer builder for “calendar” interval in months.
- A “calendar” interval in months array builder.
- A binary array builder with i64 offsets
- Array builder for
DictionaryArray
that stores large binary. For example to map a set of byte indices to binary values. Note that the use of aHashMap
here will not scale to very large arrays or result in an ordered dictionary. - Array builder for
RunArray
that encodes large binary values(LargeBinaryType
). See documentation ofBinaryRunBuilder
for an example. - A list array builder with i64 offsets
- A string array builder with i64 offsets
- Array builder for
DictionaryArray
that stores large Strings. For example to map a set of byte indices to String values. Note that the use of aHashMap
here will not scale to very large arrays or result in an ordered dictionary. - Array builder for
RunArray
that encodes large strings (LargeUtf8Type
). SeeStringRunBuilder
for an example. - A list array builder with i32 offsets
- A string array builder with i32 offsets
- Array builder for
DictionaryArray
that stores Strings. For example to map a set of byte indices to String values. Note that the use of aHashMap
here will not scale to very large arrays or result in an ordered dictionary. - Buffer builder for 32-bit elaspsed time since midnight of millisecond unit.
- A 32-bit elaspsed time in milliseconds array builder.
- Buffer builder for 32-bit elaspsed time since midnight of second unit.
- A 32-bit elaspsed time in seconds array builder.
- Buffer builder for 64-bit elaspsed time since midnight of microsecond unit.
- A 64-bit elaspsed time in microseconds array builder.
- Buffer builder for 64-bit elaspsed time since midnight of nanosecond unit.
- A 64-bit elaspsed time in nanoseconds array builder.
- Buffer builder for timestamp type of microsecond unit.
- A timestamp microsecond array builder.
- Buffer builder for timestamp type of millisecond unit.
- A timestamp millisecond array builder.
- Buffer builder for timestamp type of nanosecond unit.
- A timestamp nanosecond array builder.
- Buffer builder for timestamp type of second unit.
- A timestamp second array builder.
- Buffer builder for usigned 8-bit integer type.
- An usigned 8-bit integer array builder.
- Buffer builder for usigned 16-bit integer type.
- An usigned 16-bit integer array builder.
- Buffer builder for usigned 32-bit integer type.
- An usigned 32-bit integer array builder.
- Buffer builder for usigned 64-bit integer type.
- An usigned 64-bit integer array builder.