Skip to main content

Module scalar

Module scalar 

Source
Expand description

ScalarValue: stores single values

Structs§

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.
date_to_timestamp_multiplier
Returns the multiplier that converts the input date representation into the desired timestamp unit, if the conversion requires a multiplication that can overflow an i64.
dict_from_values
Create a DictionaryArray from the provided values array.
ensure_timestamp_in_bounds
Ensures the provided value can be represented as a timestamp with the given multiplier. Returns an DataFusionError::Execution when the converted value would overflow the timestamp range.
get_dict_value
Return a reference to the values array and the index into it for a dictionary array
partial_cmp_struct