Expand description
Contains Row enum that is used to represent record in Rust.
Macros§
- Macro to generate type-safe get_xxx methods for reference types e.g. get_list, get_map
- Macro to generate type-safe get_xxx methods for primitive types, e.g. get_bool, get_short
- Macro to generate type-safe get_xxx methods for primitive types, e.g. get_bool, get_short
- nyi πMacro as a shortcut to generate βnot yet implementedβ panic error.
- row_
complex_ πaccessor Macro to generate type-safe get_xxx methods for reference types, e.g.get_list
,get_map
. - Macro to generate type-safe get_xxx methods for primitive types, e.g.
get_bool
,get_short
.
Structs§
List
represents a list which contains an array of elements.Map
represents a map which contains a list of key->value pairs.- MapList π
Row
represents a nested Parquet record.RowColumnIter
represents an iterator over column names and values in a Row.
Enums§
- API to represent a single field in a
Row
.
Traits§
- Trait for type-safe access of an index for a
List
. Note that the get_XXX methods do not do bound checking. - Trait for type-safe access of an index for a
Map
- Trait for type-safe convenient access to fields within a Row.
- Trait for formatting fields within a Row.
Functions§
- Helper method to convert Parquet date into a string. Input
value
is a number of days since the epoch in UTC. Date is displayed in local timezone. - Helper method to convert Parquet decimal into a string. We assert that
scale >= 0
andprecision > scale
, but this will be enforced when constructing Parquet schema. - Helper method to convert Parquet timestamp into a string. Input
value
is a number of microseconds since the epoch in UTC. Datetime is displayed in local timezone. - Helper method to convert Parquet timestamp into a string. Input
value
is a number of milliseconds since the epoch in UTC. Datetime is displayed in local timezone. - Helper method to convert Parquet timestamp into a string. Input
value
is a number of seconds since the epoch in UTC. Datetime is displayed in local timezone. - Constructs a
List
from the list offields
and returns it. - Constructs a
Map
from the list ofentries
and returns it.