Class DefaultV1ValuesWriterFactory
java.lang.Object
org.apache.parquet.column.values.factory.DefaultV1ValuesWriterFactory
- All Implemented Interfaces:
ValuesWriterFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(ParquetProperties properties) Used to initialize the factory.newValuesWriter(ColumnDescriptor descriptor) Creates a ValuesWriter to write values for the given column.
-
Constructor Details
-
DefaultV1ValuesWriterFactory
public DefaultV1ValuesWriterFactory()
-
-
Method Details
-
initialize
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
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
-