parquet::schema::types

Function from_thrift_helper

Source
fn from_thrift_helper(
    elements: &[SchemaElement],
    index: usize,
) -> Result<(usize, TypePtr)>
Expand description

Constructs a new Type from the elements, starting at index index. The first result is the starting index for the next Type after this one. If it is equal to elements.len(), then this Type is the last one. The second result is the result Type.