Package io.deephaven.iceberg.util
Class TableParquetWriterOptions
java.lang.Object
io.deephaven.iceberg.util.TableWriterOptions
io.deephaven.iceberg.util.TableParquetWriterOptions
This class provides instructions for building
IcebergTableWriter
intended for writing Iceberg tables as
Parquet data files. The default values documented in this class may change in the future. As such, callers may wish
to explicitly set the values.-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the compression codec to use when writing Parquet files; defaults toParquetInstructions.DEFAULT_COMPRESSION_CODEC_NAME
.int
The maximum number of unique keys the parquet file writer should add to a dictionary page before switching to non-dictionary encoding; defaults to 1048576; never evaluated for non-String columns.int
The maximum number of bytes the parquet file writer should add to a dictionary before switching to non-dictionary encoding; defaults to 1048576; never evaluated for non-String columns.int
The target page size for writing the parquet files; defaults toParquetInstructions.DEFAULT_TARGET_PAGE_SIZE
, should be greater than or equal toParquetInstructions.MIN_TARGET_PAGE_SIZE
.Methods inherited from class io.deephaven.iceberg.util.TableWriterOptions
dataInstructions, fieldIdToColumnName, schemaProvider, tableDefinition
-
Constructor Details
-
TableParquetWriterOptions
public TableParquetWriterOptions()
-
-
Method Details
-
builder
-
compressionCodecName
The name of the compression codec to use when writing Parquet files; defaults toParquetInstructions.DEFAULT_COMPRESSION_CODEC_NAME
. -
maximumDictionaryKeys
@Default public int maximumDictionaryKeys()The maximum number of unique keys the parquet file writer should add to a dictionary page before switching to non-dictionary encoding; defaults to 1048576; never evaluated for non-String columns. -
maximumDictionarySize
@Default public int maximumDictionarySize()The maximum number of bytes the parquet file writer should add to a dictionary before switching to non-dictionary encoding; defaults to 1048576; never evaluated for non-String columns. -
targetPageSize
@Default public int targetPageSize()The target page size for writing the parquet files; defaults toParquetInstructions.DEFAULT_TARGET_PAGE_SIZE
, should be greater than or equal toParquetInstructions.MIN_TARGET_PAGE_SIZE
.
-