parquet::record

Module api

Source
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.
  • 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 and precision > 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 of fields and returns it.
  • Constructs a Map from the list of entries and returns it.
  • Constructs a Row from the list of fields and returns it.