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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WriteSupport<org.apache.parquet.example.data.Group>getWriteSupport(org.apache.hadoop.conf.Configuration conf)protected ExampleParquetWriter.Builderself()ExampleParquetWriter.BuilderwithExtraMetaData(Map<String,String> extraMetaData)ExampleParquetWriter.BuilderwithType(org.apache.parquet.schema.MessageType type)-
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
-
withType
public ExampleParquetWriter.Builder withType(org.apache.parquet.schema.MessageType type)
-
withExtraMetaData
public ExampleParquetWriter.Builder withExtraMetaData(Map<String,String> extraMetaData)
-
self
protected ExampleParquetWriter.Builder 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.
-
-