Module scalar

Module scalar 

Source
Expand description

ScalarValue: stores single values

Modulesยง

cache ๐Ÿ”’
Array caching utilities for scalar values
consts ๐Ÿ”’
struct_builder ๐Ÿ”’
ScalarStructBuilder for building ScalarValue::Struct

Macrosยง

build_array_from_option ๐Ÿ”’
build_timestamp_array_from_option ๐Ÿ”’
eq_array_primitive ๐Ÿ”’
format_option ๐Ÿ”’
hash_float_value ๐Ÿ”’
impl_scalar ๐Ÿ”’
impl_try_from ๐Ÿ”’
typed_cast ๐Ÿ”’
typed_cast_tz ๐Ÿ”’

Structsยง

Fl ๐Ÿ”’
ScalarStructBuilder
Builder for ScalarValue::Struct.

Enumsยง

ScalarValue
A dynamically typed, nullable single value.

Traitsยง

ScalarType
Trait used to map a NativeType to a ScalarValue

Functionsยง

copy_array_data
Compacts the data of an ArrayData into a new ArrayData.
dict_from_scalar ๐Ÿ”’
Create a dictionary array representing value repeated size times
dict_from_values
Create a DictionaryArray from the provided values array.
first_array_for_list ๐Ÿ”’
List/LargeList/FixedSizeList scalars always have a single element array. This function returns that array
flatten ๐Ÿ”’
fmt_binary ๐Ÿ”’
writes a byte array to formatter. [1, 2, 3] ==> "1,2,3"
fmt_list ๐Ÿ”’
get_dict_value
Return a reference to the values array and the index into it for a dictionary array
hash_nested_array ๐Ÿ”’
partial_cmp_list ๐Ÿ”’
Compares two List/LargeList/FixedSizeList scalars
partial_cmp_map ๐Ÿ”’
partial_cmp_struct