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
BinaryArraytoDictionaryArray, 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
BooleanArrayto a [BinaryArray], casting trues to"1"and falses to"0" - boolean_
to_ primitive - Casts the
BooleanArrayto aPrimitiveArray. - boolean_
to_ utf8view - cast
- Cast
arrayto the provided data type and return a newArraywith 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 areNoneon overflow - decimal_
to_ float - Returns a
PrimitiveArray<i128>with the cast values. Values areNoneon overflow - decimal_
to_ integer - Returns a
PrimitiveArray<i128>with the cast values. Values areNoneon overflow - f16_
to_ f32 - Casts f16 into f32
- fixed_
size_ binary_ binary - Conversion of
FixedSizeBinarytoBinary. - fixed_
size_ binary_ to_ binview - float_
to_ decimal - Returns a
PrimitiveArray<i128>with the cast values. Values areNoneon overflow - int32_
to_ time32ms - Conversion of
Int32toTime32(TimeUnit::Millisecond) - int32_
to_ time32s - Conversion of
Int32toTime32(TimeUnit::Second) - int64_
to_ time64ns - Conversion of
Int64toTime32(TimeUnit::Nanosecond) - int64_
to_ time64us - Conversion of
Int64toTime32(TimeUnit::Microsecond) - integer_
to_ decimal - Returns a
PrimitiveArray<i128>with the cast values. Values areNoneon overflow - primitive_
as_ primitive - Cast
PrimitiveArrayas aPrimitiveArraySame asnumber as to_number_typein rust - primitive_
map_ ⚠is_ valid - Safety
- primitive_
to_ boolean - Returns a
BooleanArraywhere every element is different from zero. Validity is preserved. - primitive_
to_ dictionary - Cast
PrimitiveArraytoDictionaryArray. Also known as packing. - primitive_
to_ primitive - Cast
PrimitiveArrayto aPrimitiveArrayof another physical type via numeric conversion. - primitive_
to_ same_ primitive - Cast
PrimitiveArrayto aPrimitiveArrayof 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
Utf8ArraytoDictionaryArray, also known as packing. - utf8_
to_ large_ utf8 - Conversion of utf8
- utf8_
to_ utf8view - utf8view_
to_ utf8