Class ExampleParquetWriter.Builder
- java.lang.Object
-
- org.apache.parquet.hadoop.ParquetWriter.Builder<Group,ExampleParquetWriter.Builder>
-
- org.apache.parquet.hadoop.example.ExampleParquetWriter.Builder
-
- Enclosing class:
- ExampleParquetWriter
public static class ExampleParquetWriter.Builder extends ParquetWriter.Builder<Group,ExampleParquetWriter.Builder>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WriteSupport<Group>
getWriteSupport(org.apache.hadoop.conf.Configuration conf)
protected ExampleParquetWriter.Builder
self()
ExampleParquetWriter.Builder
withExtraMetaData(Map<String,String> extraMetaData)
ExampleParquetWriter.Builder
withType(MessageType type)
-
Methods inherited from class org.apache.parquet.hadoop.ParquetWriter.Builder
build, config, enableDictionaryEncoding, enablePageWriteChecksum, enableValidation, withBloomFilterEnabled, withBloomFilterEnabled, withBloomFilterNDV, withByteStreamSplitEncoding, withCompressionCodec, withConf, withDictionaryEncoding, withDictionaryEncoding, withDictionaryPageSize, withEncryption, withMaxPaddingSize, withPageRowCountLimit, withPageSize, withPageWriteChecksumEnabled, withRowGroupSize, withValidation, withWriteMode, withWriterVersion
-
-
-
-
Method Detail
-
withType
public ExampleParquetWriter.Builder withType(MessageType type)
-
withExtraMetaData
public ExampleParquetWriter.Builder withExtraMetaData(Map<String,String> extraMetaData)
-
self
protected ExampleParquetWriter.Builder self()
- Specified by:
self
in classParquetWriter.Builder<Group,ExampleParquetWriter.Builder>
- Returns:
- this as the correct subclass of ParquetWriter.Builder.
-
getWriteSupport
protected WriteSupport<Group> getWriteSupport(org.apache.hadoop.conf.Configuration conf)
- Specified by:
getWriteSupport
in classParquetWriter.Builder<Group,ExampleParquetWriter.Builder>
- Parameters:
conf
- a configuration- Returns:
- an appropriate WriteSupport for the object model.
-
-