[−][src]Function parquet::column::reader::get_typed_column_reader
pub fn get_typed_column_reader<T: DataType>(
col_reader: ColumnReader
) -> ColumnReaderImpl<T>
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
.
NOTE: the caller MUST guarantee that the actual enum value for col_reader
matches
the type T
. Otherwise, disastrous consequence could happen.