Expand description
Defines different casting operators such as cast
or [primitive_to_binary
].
Modules§
Structs§
- Cast
Options Impl - options defining how Cast kernels behave
Traits§
Functions§
- binary_
large_ to_ binary - Conversion of binary
- binary_
to_ binview - binary_
to_ dictionary - Cast
BinaryArray
toDictionaryArray
, also known as packing. - binary_
to_ large_ binary - Conversion of binary
- binary_
to_ list - Conversion of binary
- binary_
to_ utf8 - Conversion to utf8
- boolean_
to_ binaryview - Casts the
BooleanArray
to a [BinaryArray
], casting trues to"1"
and falses to"0"
- boolean_
to_ primitive - Casts the
BooleanArray
to aPrimitiveArray
. - boolean_
to_ utf8view - cast
- Cast
array
to the provided data type and return a newArray
with typeto_type
, if possible. - cast_
default - cast_
unchecked - date32_
to_ date64 - Conversion of dates
- date64_
to_ date32 - Conversion of dates
- decimal_
to_ decimal - Returns a
PrimitiveArray<i128>
with the cast values. Values areNone
on overflow - decimal_
to_ float - Returns a
PrimitiveArray<i128>
with the cast values. Values areNone
on overflow - decimal_
to_ integer - Returns a
PrimitiveArray<i128>
with the cast values. Values areNone
on overflow - f16_
to_ f32 - Casts f16 into f32
- fixed_
size_ binary_ binary - Conversion of
FixedSizeBinary
toBinary
. - fixed_
size_ binary_ to_ binview - float_
to_ decimal - Returns a
PrimitiveArray<i128>
with the cast values. Values areNone
on overflow - int32_
to_ time32ms - Conversion of
Int32
toTime32(TimeUnit::Millisecond)
- int32_
to_ time32s - Conversion of
Int32
toTime32(TimeUnit::Second)
- int64_
to_ time64ns - Conversion of
Int64
toTime32(TimeUnit::Nanosecond)
- int64_
to_ time64us - Conversion of
Int64
toTime32(TimeUnit::Microsecond)
- integer_
to_ decimal - Returns a
PrimitiveArray<i128>
with the cast values. Values areNone
on overflow - primitive_
as_ primitive - Cast
PrimitiveArray
as aPrimitiveArray
Same asnumber as to_number_type
in rust - primitive_
map_ ⚠is_ valid - Safety
- primitive_
to_ boolean - Returns a
BooleanArray
where every element is different from zero. Validity is preserved. - primitive_
to_ dictionary - Cast
PrimitiveArray
toDictionaryArray
. Also known as packing. - primitive_
to_ primitive - Cast
PrimitiveArray
to aPrimitiveArray
of another physical type via numeric conversion. - primitive_
to_ same_ primitive - Cast
PrimitiveArray
to aPrimitiveArray
of the same physical type. This is O(1). - time32_
to_ time64 - Conversion of time
- time32ms_
to_ time32s - Conversion of times
- time32s_
to_ time32ms - Conversion of times
- time64_
to_ time32 - Conversion of time
- time64ns_
to_ time64us - Conversion of times
- time64us_
to_ time64ns - Conversion of times
- timestamp_
to_ date32 - Conversion of timestamp
- timestamp_
to_ date64 - Conversion of timestamp
- timestamp_
to_ timestamp - Conversion of timestamp
- utf8_
large_ to_ utf8 - Conversion of utf8
- utf8_
to_ binary - Conversion to binary
- utf8_
to_ dictionary - Cast
Utf8Array
toDictionaryArray
, also known as packing. - utf8_
to_ large_ utf8 - Conversion of utf8
- utf8_
to_ utf8view - utf8view_
to_ utf8