UnboundResolver
The UnboundResolver
class provides a consolidated set of inference options for use in LoadTableOptions
. It's most useful when the caller knows the definition of the table they want to load, and can provide an explicit mapping of Iceberg columns to Deephaven columns.
Constructors
An UnboundResolver
can be constructed using its builder:
import io.deephaven.iceberg.util.UnboundResolver
resolver = UnboundResolver.builder()
.definition(definition)
.putAllColumnInstructions(entries)
.putColumnInstructions(key, value)
.schema(schema)
.build()
definition
: Set the Deephaven table definition to use when loading the Iceberg table.putAllColumnInstructions
: Add all specified keys and their correspondingColumnInstructions
to the resolver.putColumnInstructions
: Add a single key and its correspondingColumnInstructions
to the resolver.schema
: Set theSchemaProvider
for the resolver.
Methods
columnInstructions
: The mapping of Deephaven table columns to Iceberg table columns.definition
: The Deephaven table definition.schema
: The schema to use for inference. The default isSchemaProvider.fromCurrent
.walk
: Walk the resolver with the provided visitor.