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 void
initialize(ParquetProperties properties)
Used to initialize the factory.ValuesWriter
newValuesWriter(ColumnDescriptor descriptor)
Creates a ValuesWriter to write values for the given column.
-
-
-
Method Detail
-
initialize
public void initialize(ParquetProperties properties)
Description copied from interface:ValuesWriterFactory
Used to initialize the factory. This method is called before newValuesWriter()- Specified by:
initialize
in interfaceValuesWriterFactory
- Parameters:
properties
- a write configuration
-
newValuesWriter
public ValuesWriter newValuesWriter(ColumnDescriptor descriptor)
Description copied from interface:ValuesWriterFactory
Creates a ValuesWriter to write values for the given column.- Specified by:
newValuesWriter
in interfaceValuesWriterFactory
- Parameters:
descriptor
- a column descriptor- Returns:
- a new values writer for values in the descriptor's column
-
-