Expand description
contains the Scalar
trait object representing individual items of Array
s,
as well as concrete implementations such as BooleanScalar
.
Structs§
- Binary
Scalar - The
Scalar
implementation of binary (Option<Vec<u8>>
). - Binary
View Scalar - The implementation of
Scalar
for utf8, semantically equivalent toOption<String>
. - Boolean
Scalar - The
Scalar
implementation of a boolean. - Dictionary
Scalar - The
DictionaryArray
equivalent ofArray
forScalar
. - Fixed
Size Binary Scalar - The
Scalar
implementation of fixed size binary ([Option<Box<[u8]>>
]). - Fixed
Size List Scalar - The scalar equivalent of
FixedSizeListArray
. LikeFixedSizeListArray
, this struct holds a dynamically-typedArray
. The only difference is that this has only one element. - List
Scalar - The scalar equivalent of
ListArray
. LikeListArray
, this struct holds a dynamically-typedArray
. The only difference is that this has only one element. - MapScalar
- The scalar equivalent of
MapArray
. LikeMapArray
, this struct holds a dynamically-typedArray
. The only difference is that this has only one element. - Null
Scalar - The representation of a single entry of a
crate::array::NullArray
. - Primitive
Scalar - The implementation of
Scalar
for primitive, semantically equivalent toOption<T>
withArrowDataType
. - Struct
Scalar - A single entry of a
crate::array::StructArray
. - Union
Scalar - A single entry of a
crate::array::UnionArray
. - Utf8
Scalar - The implementation of
Scalar
for utf8, semantically equivalent toOption<String>
.
Traits§
- Scalar
- Trait object declaring an optional value with a
ArrowDataType
. This strait is often used in APIs that accept multiple scalar types.
Functions§
- new_
scalar - creates a new
Scalar
from anArray
.