parquet::column::reader

Function get_typed_column_reader

Source
pub fn get_typed_column_reader<T: DataType>(
    col_reader: ColumnReader,
) -> ColumnReaderImpl<T>
Expand description

Gets a typed column reader for the specific type T, by “up-casting” col_reader of non-generic type to a generic column reader type ColumnReaderImpl.

Panics if actual enum value for col_reader does not match the type T.