Class ExampleParquetWriter.Builder
java.lang.Object
org.apache.parquet.hadoop.ParquetWriter.Builder<org.apache.parquet.example.data.Group,ExampleParquetWriter.Builder>
org.apache.parquet.hadoop.example.ExampleParquetWriter.Builder
- Enclosing class:
- ExampleParquetWriter
public static class ExampleParquetWriter.Builder
extends ParquetWriter.Builder<org.apache.parquet.example.data.Group,ExampleParquetWriter.Builder>
-
Method Summary
Modifier and TypeMethodDescriptionprotected WriteSupport<org.apache.parquet.example.data.Group>getWriteSupport(org.apache.hadoop.conf.Configuration conf) protected WriteSupport<org.apache.parquet.example.data.Group>getWriteSupport(org.apache.parquet.conf.ParquetConfiguration conf) protected ExampleParquetWriter.Builderself()withExtraMetaData(Map<String, String> extraMetaData) Sets additional metadata entries to be included in the file footer.withType(org.apache.parquet.schema.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, withCompressionCodec, withCompressionLevel, 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 Details
-
withType
-
self
- Specified by:
selfin classParquetWriter.Builder<org.apache.parquet.example.data.Group,ExampleParquetWriter.Builder> - Returns:
- this as the correct subclass of ParquetWriter.Builder.
-
getWriteSupport
protected WriteSupport<org.apache.parquet.example.data.Group> getWriteSupport(org.apache.hadoop.conf.Configuration conf) - Specified by:
getWriteSupportin classParquetWriter.Builder<org.apache.parquet.example.data.Group,ExampleParquetWriter.Builder> - Parameters:
conf- a configuration- Returns:
- an appropriate WriteSupport for the object model.
-
getWriteSupport
protected WriteSupport<org.apache.parquet.example.data.Group> getWriteSupport(org.apache.parquet.conf.ParquetConfiguration conf) - Overrides:
getWriteSupportin classParquetWriter.Builder<org.apache.parquet.example.data.Group,ExampleParquetWriter.Builder> - Parameters:
conf- a configuration- Returns:
- an appropriate WriteSupport for the object model.
-
withExtraMetaData
Description copied from class:ParquetWriter.BuilderSets additional metadata entries to be included in the file footer.- Overrides:
withExtraMetaDatain classParquetWriter.Builder<org.apache.parquet.example.data.Group,ExampleParquetWriter.Builder> - Parameters:
extraMetaData- a Map of additional stringly-typed metadata entries- Returns:
- this builder for method chaining
-