Module parquet::data_type

source ·
Expand description

Data types that connect Parquet physical types with their Rust-specific representations.

Structs§

  • Parquet physical type: BoolType
  • Rust representation for BYTE_ARRAY and FIXED_LEN_BYTE_ARRAY Parquet physical types. Value is backed by a byte buffer.
  • Parquet physical type: ByteArrayType
  • Parquet physical type: DoubleType
  • Wrapper type for performance reasons, this represents FIXED_LEN_BYTE_ARRAY but in all other considerations behaves the same as ByteArray
  • Parquet physical type: FixedLenByteArrayType
  • Parquet physical type: FloatType
  • Rust representation for logical type INT96, value is backed by an array of u32. The type only takes 12 bytes, without extra padding.
  • Parquet physical type: Int32Type
  • Parquet physical type: Int64Type
  • Parquet physical type: Int96Type

Enums§

  • Rust representation for Decimal values.

Traits§

  • Converts an instance of data type to a slice of bytes as u8.
  • Contains the Parquet physical type information as well as the Rust primitive type presentation.
  • Converts an slice of a data type to a slice of bytes.