[−][src]Function parquet::column::writer::get_typed_column_writer
pub fn get_typed_column_writer<T: DataType>(
col_writer: ColumnWriter
) -> ColumnWriterImpl<T>
Gets a typed column writer for the specific type T
, by "up-casting" col_writer
of
non-generic type to a generic column writer type ColumnWriterImpl
.
NOTE: the caller MUST guarantee that the actual enum value for col_writer
matches
the type T
. Otherwise, disastrous consequence could happen.