public static class StarParquetWriter.StarBuilder extends org.apache.parquet.hadoop.ParquetWriter.Builder<Object[],StarParquetWriter.StarBuilder>
Constructor and Description |
---|
StarBuilder(StarTable table,
org.apache.parquet.io.OutputFile ofile)
Constructor based on a parquet OutputFile.
|
StarBuilder(StarTable table,
org.apache.hadoop.fs.Path path)
Constructor based on a hadoop Path.
|
Modifier and Type | Method and Description |
---|---|
StarTable |
getTable()
Returns the table that this writer will write.
|
org.apache.parquet.hadoop.api.WriteSupport<Object[]> |
getWriteSupport(org.apache.hadoop.conf.Configuration config) |
StarParquetWriter.StarBuilder |
self() |
StarParquetWriter.StarBuilder |
withGroupArray(boolean groupArray)
Configures array-valued column writing style.
|
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
public StarBuilder(StarTable table, org.apache.hadoop.fs.Path path)
table
- table to writepath
- destination pathpublic StarBuilder(StarTable table, org.apache.parquet.io.OutputFile ofile)
table
- table to writeofile
- destination filepublic StarTable getTable()
public StarParquetWriter.StarBuilder withGroupArray(boolean groupArray)
groupArray
- true for group-style arrays,
false for repeated primitivespublic StarParquetWriter.StarBuilder self()
self
in class org.apache.parquet.hadoop.ParquetWriter.Builder<Object[],StarParquetWriter.StarBuilder>
public org.apache.parquet.hadoop.api.WriteSupport<Object[]> getWriteSupport(org.apache.hadoop.conf.Configuration config)
getWriteSupport
in class org.apache.parquet.hadoop.ParquetWriter.Builder<Object[],StarParquetWriter.StarBuilder>
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.