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 WriteSupport<Group>getWriteSupport(ParquetConfiguration conf)protected ExampleParquetWriter.Builderself()ExampleParquetWriter.BuilderwithExtraMetaData(Map<String,String> extraMetaData)Sets additional metadata entries to be included in the file footer.ExampleParquetWriter.BuilderwithType(MessageType type)-
Methods inherited from class org.apache.parquet.hadoop.ParquetWriter.Builder
build, config, enableDictionaryEncoding, enablePageWriteChecksum, enableValidation, withAdaptiveBloomFilterEnabled, withAllocator, withBloomFilterCandidateNumber, withBloomFilterEnabled, withBloomFilterEnabled, withBloomFilterFPP, withBloomFilterNDV, withByteStreamSplitEncoding, withByteStreamSplitEncoding, withCodecFactory, withColumnIndexTruncateLength, withCompressionCodec, withConf, withConf, withDictionaryEncoding, withDictionaryEncoding, withDictionaryPageSize, withEncryption, withFile, withMaxBloomFilterBytes, withMaxPaddingSize, withMaxRowCountForPageSizeCheck, withMinRowCountForPageSizeCheck, withPageRowCountLimit, withPageSize, withPageWriteChecksumEnabled, withRowGroupRowCountLimit, withRowGroupSize, withRowGroupSize, withSizeStatisticsEnabled, withSizeStatisticsEnabled, withStatisticsEnabled, withStatisticsEnabled, withStatisticsTruncateLength, withValidation, withWriteMode, withWriterVersion
-
-
-
-
Method Detail
-
withType
public ExampleParquetWriter.Builder withType(MessageType type)
-
self
protected ExampleParquetWriter.Builder self()
- Specified by:
selfin 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:
getWriteSupportin classParquetWriter.Builder<Group,ExampleParquetWriter.Builder>- Parameters:
conf- a configuration- Returns:
- an appropriate WriteSupport for the object model.
-
getWriteSupport
protected WriteSupport<Group> getWriteSupport(ParquetConfiguration conf)
- Overrides:
getWriteSupportin classParquetWriter.Builder<Group,ExampleParquetWriter.Builder>- Parameters:
conf- a configuration- Returns:
- an appropriate WriteSupport for the object model.
-
withExtraMetaData
public ExampleParquetWriter.Builder withExtraMetaData(Map<String,String> extraMetaData)
Description copied from class:ParquetWriter.BuilderSets additional metadata entries to be included in the file footer.- Overrides:
withExtraMetaDatain classParquetWriter.Builder<Group,ExampleParquetWriter.Builder>- Parameters:
extraMetaData- a Map of additional stringly-typed metadata entries- Returns:
- this builder for method chaining
-
-