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.
|
StarParquetWriter.StarBuilder |
withKeyValueItems(Map<String,String> kvItems)
Configures additional content for the key-value metadata in
the parquet footer.
|
StarParquetWriter.StarBuilder |
withVOTableMetadata(VOTableVersion version)
Configures output of metadata in VOTable format.
|
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, withWriterVersionpublic 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 withVOTableMetadata(VOTableVersion version)
ParquetStarTable.VOTMETA_KEY.version - VOTable version for dummy metadata table,
or null if not requiredpublic StarParquetWriter.StarBuilder withKeyValueItems(Map<String,String> kvItems)
kvItems - additional key-value metadata for parquet footerpublic 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 © 2025 Central Laboratory of the Research Councils. All Rights Reserved.