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 ParquetWriter.Builder<T,AvroParquetWriter.Builder<T>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, withBloomFilterNDV, withByteStreamSplitEncoding, withCompressionCodec, withConf, withDictionaryEncoding, withDictionaryEncoding, withDictionaryPageSize, withEncryption, withMaxPaddingSize, withPageRowCountLimit, withPageSize, withPageWriteChecksumEnabled, withRowGroupSize, withRowGroupSize, 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:
self
in classParquetWriter.Builder<T,AvroParquetWriter.Builder<T>>
-
getWriteSupport
protected WriteSupport<T> getWriteSupport(org.apache.hadoop.conf.Configuration conf)
- Specified by:
getWriteSupport
in classParquetWriter.Builder<T,AvroParquetWriter.Builder<T>>
-
-