Class AvroParquetWriter.Builder<T>

java.lang.Object
org.apache.parquet.hadoop.ParquetWriter.Builder<T,AvroParquetWriter.Builder<T>>
org.apache.parquet.avro.AvroParquetWriter.Builder<T>
Enclosing class:
AvroParquetWriter<T>

public static class AvroParquetWriter.Builder<T> extends org.apache.parquet.hadoop.ParquetWriter.Builder<T,AvroParquetWriter.Builder<T>>
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.parquet.hadoop.api.WriteSupport<T>
    getWriteSupport(org.apache.hadoop.conf.Configuration conf)
     
    protected org.apache.parquet.hadoop.api.WriteSupport<T>
    getWriteSupport(org.apache.parquet.conf.ParquetConfiguration conf)
     
     
    withDataModel(org.apache.avro.generic.GenericData model)
     
    withSchema(org.apache.avro.Schema schema)
     

    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, withExtraMetaData, withFile, withMaxBloomFilterBytes, withMaxPaddingSize, withMaxRowCountForPageSizeCheck, withMinRowCountForPageSizeCheck, withPageRowCountLimit, withPageSize, withPageWriteChecksumEnabled, withRowGroupRowCountLimit, withRowGroupSize, withRowGroupSize, withSizeStatisticsEnabled, withSizeStatisticsEnabled, withStatisticsEnabled, withStatisticsEnabled, withStatisticsTruncateLength, withValidation, withWriteMode, withWriterVersion

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • withSchema

      public AvroParquetWriter.Builder<T> withSchema(org.apache.avro.Schema schema)
    • withDataModel

      public AvroParquetWriter.Builder<T> withDataModel(org.apache.avro.generic.GenericData model)
    • self

      protected AvroParquetWriter.Builder<T> self()
      Specified by:
      self in class org.apache.parquet.hadoop.ParquetWriter.Builder<T,AvroParquetWriter.Builder<T>>
    • getWriteSupport

      protected org.apache.parquet.hadoop.api.WriteSupport<T> getWriteSupport(org.apache.hadoop.conf.Configuration conf)
      Specified by:
      getWriteSupport in class org.apache.parquet.hadoop.ParquetWriter.Builder<T,AvroParquetWriter.Builder<T>>
    • getWriteSupport

      protected org.apache.parquet.hadoop.api.WriteSupport<T> getWriteSupport(org.apache.parquet.conf.ParquetConfiguration conf)
      Overrides:
      getWriteSupport in class org.apache.parquet.hadoop.ParquetWriter.Builder<T,AvroParquetWriter.Builder<T>>