Package io.deephaven.iceberg.util
Class TableWriterOptions
java.lang.Object
io.deephaven.iceberg.util.TableWriterOptions
- Direct Known Subclasses:
TableParquetWriterOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe data instructions to use for reading/writing the Iceberg data files (might be S3Instructions or other cloud provider-specific instructions).A one-to-onemap
from Iceberg field IDs from theschemaProvider()
to Deephaven column names from thetableDefinition()
.Used to extract aSchema
from a table.abstract TableDefinition
TheTableDefinition
to use when writing Iceberg data files, instead of the one implied by the table being written itself.
-
Constructor Details
-
TableWriterOptions
public TableWriterOptions()
-
-
Method Details
-
tableDefinition
TheTableDefinition
to use when writing Iceberg data files, instead of the one implied by the table being written itself. This definition can be used to skip some columns or add additional columns withnull
values. -
dataInstructions
The data instructions to use for reading/writing the Iceberg data files (might be S3Instructions or other cloud provider-specific instructions). -
schemaProvider
Used to extract aSchema
from a table. That schema will be used in conjunction with thefieldIdToColumnName()
to map Deephaven columns fromtableDefinition()
to Iceberg columns. IffieldIdToColumnName()
is not provided, the mapping is done by column name.Users can specify how to extract the schema in multiple ways (by schema ID, snapshot ID, etc.).
Defaults to
SchemaProvider.fromCurrent()
, which means use the current schema from the table. -
fieldIdToColumnName
A one-to-onemap
from Iceberg field IDs from theschemaProvider()
to Deephaven column names from thetableDefinition()
.
-