Class DefaultV1ValuesWriterFactory
- java.lang.Object
-
- org.apache.parquet.column.values.factory.DefaultV1ValuesWriterFactory
-
- All Implemented Interfaces:
ValuesWriterFactory
public class DefaultV1ValuesWriterFactory extends Object implements ValuesWriterFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultV1ValuesWriterFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(ParquetProperties properties)Used to initialize the factory.ValuesWriternewValuesWriter(ColumnDescriptor descriptor)Creates a ValuesWriter to write values for the given column.
-
-
-
Method Detail
-
initialize
public void initialize(ParquetProperties properties)
Description copied from interface:ValuesWriterFactoryUsed to initialize the factory. This method is called before newValuesWriter()- Specified by:
initializein interfaceValuesWriterFactory- Parameters:
properties- a write configuration
-
newValuesWriter
public ValuesWriter newValuesWriter(ColumnDescriptor descriptor)
Description copied from interface:ValuesWriterFactoryCreates a ValuesWriter to write values for the given column.- Specified by:
newValuesWriterin interfaceValuesWriterFactory- Parameters:
descriptor- a column descriptor- Returns:
- a new values writer for values in the descriptor's column
-
-