Module types

Module types 

Source
Expand description

Contains structs and methods to build Parquet schema and schema descriptors.

Structsยง

BasicTypeInfo
Basic type info. This contains information such as the name of the type, the repetition level, the logical type and the kind of the type (group, primitive).
ColumnDescriptor
Physical type for leaf-level primitive columns.
ColumnPath
Represents the location of a column in a Parquet schema
GroupTypeBuilder
A builder for group types. All attributes are optional except the name. Note that if not specified explicitly, None is used as the repetition of the group, which means it is a root (message) type.
PrimitiveTypeBuilder
A builder for primitive types. All attributes are optional except the name and physical type. Note that if not specified explicitly, Repetition::OPTIONAL is used.
SchemaDescriptor
Schema of a Parquet file.

Enumsยง

Type
Representation of a Parquet type.

Functionsยง

build_tree ๐Ÿ”’
check_logical_type ๐Ÿ”’
Checks if the logical type is valid.
count_leaves ๐Ÿ”’
count_nodes ๐Ÿ”’
num_leaves ๐Ÿ”’
num_nodes ๐Ÿ”’
parquet_schema_from_array ๐Ÿ”’
schema_from_array_helper ๐Ÿ”’

Type Aliasesยง

ColumnDescPtr
Type alias for Arc<ColumnDescriptor>.
SchemaDescPtr
Type alias for Arc<SchemaDescriptor>.
TypePtr
Type alias for Arc<Type>.