Package org.apache.parquet.avro
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.parquet.hadoop.api.WriteSupport<T>getWriteSupport(org.apache.hadoop.conf.Configuration conf)protected AvroParquetWriter.Builder<T>self()AvroParquetWriter.Builder<T>withDataModel(org.apache.avro.generic.GenericData model)AvroParquetWriter.Builder<T>withSchema(org.apache.avro.Schema schema)-
Methods inherited from class org.apache.parquet.hadoop.ParquetWriter.Builder
build, config, enableDictionaryEncoding, enablePageWriteChecksum, enableValidation, withBloomFilterEnabled, withBloomFilterEnabled, withBloomFilterFPP, withBloomFilterNDV, withByteStreamSplitEncoding, withColumnIndexTruncateLength, withCompressionCodec, withConf, withDictionaryEncoding, withDictionaryEncoding, withDictionaryPageSize, withEncryption, withMaxPaddingSize, withMaxRowCountForPageSizeCheck, withMinRowCountForPageSizeCheck, withPageRowCountLimit, withPageSize, withPageWriteChecksumEnabled, withRowGroupSize, withRowGroupSize, withStatisticsTruncateLength, withValidation, withWriteMode, withWriterVersion
-
-
-
-
Method Detail
-
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:
selfin classorg.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:
getWriteSupportin classorg.apache.parquet.hadoop.ParquetWriter.Builder<T,AvroParquetWriter.Builder<T>>
-
-