Module types

Source

Re-exportsΒ§

pub use cast::cast;
pub use cast::cast_with_opt;

ModulesΒ§

binary_type πŸ”’
boolean_type πŸ”’
cast
date_type πŸ”’
decimal_type πŸ”’
dictionary_type πŸ”’
duration_type πŸ”’
interval_type πŸ”’
json_type πŸ”’
list_type πŸ”’
null_type πŸ”’
primitive_type πŸ”’
string_type πŸ”’
time_type πŸ”’
TimeType represents the elapsed time since midnight in the unit of TimeUnit.
timestamp_type πŸ”’
vector_type πŸ”’

StructsΒ§

BinaryType
BooleanType
DateType
Data type for Date (YYYY-MM-DD).
Decimal128Type
Decimal type with precision and scale information.
DictionaryType
Used to represent the Dictionary datatype.
DurationMicrosecondType
DurationMillisecondType
DurationNanosecondType
DurationSecondType
Float32Type
Float64Type
Int8Type
Int16Type
Int32Type
Int64Type
IntervalDayTimeType
IntervalMonthDayNanoType
IntervalYearMonthType
JsonType
JsonType is a data type for JSON data. It is stored as binary data of jsonb format. It utilizes current binary value and vector implementation.
ListType
Used to represent the List datatype.
NullType
OrdPrimitive
A new type for WrapperType, complement the Ord feature for it.
StringType
TimeMicrosecondType
TimeMillisecondType
TimeNanosecondType
TimeSecondType
TimestampMicrosecondType
TimestampMillisecondType
TimestampNanosecondType
TimestampSecondType
UInt8Type
UInt16Type
UInt32Type
UInt64Type
VectorType
VectorType is a data type for vector data with a fixed dimension. The type of items in the vector is float32. It is stored as binary data that contains the concatenated float32 values.

EnumsΒ§

DurationType
IntervalType
The β€œcalendar” interval is a type of time interval that does not have a precise duration without taking into account a specific base timestamp.
TimeType
TimestampType

ConstantsΒ§

JSON_TYPE_NAME

TraitsΒ§

LogicalPrimitiveType
Trait bridging the logical primitive type with [ArrowPrimitiveType].
WrapperType
Represents the wrapper type that wraps a native type using the newtype pattern, such as Date is a wrapper type for the underlying native type i32.

FunctionsΒ§

json_type_value_to_string
Converts a json type value to string
parse_string_to_json_type_value
Parses a string to a json type value
parse_string_to_vector_type_value
Parses a string to a vector type value Valid input format: β€œ[1.0,2.0,3.0]”, β€œ[1.0, 2.0, 3.0]”
vector_type_value_to_string
Converts a vector type value to string for example: [1.0, 2.0, 3.0] -> β€œ[1.0,2.0,3.0]”