LoadTableOptions
The LoadTableOptions class specifies options for loading Iceberg tables into Deephaven.
Constructors
The LoadTableOptions class is constructed via its builder:
import io.deephaven.iceberg.util.*
options = LoadTableOptions.builder()
.id(id)
.nameMapping(nameMapping)
.resolver(resolver)
.build()
Parameters
id: A string ororg.apache.iceberg.catalog.TableIdentifierthat identifies the Iceberg table to load.nameMapping: ANameMappingProviderororg.apache.iceberg.mapping.NameMappingthat provides a mapping of Iceberg column names to Deephaven column names.resolver: AResolverProviderthat specifies how to resolve schema and partitioning information when loading the table.
Methods
id: Return the table identifier.nameMapping: Return the name mapping provider. Set toNameMappingProvider.fromTableby default.resolver: Return the resolver provider.
Examples
The following example constructs a LoadTableOptions instance with a specific table identifier and default name mapping and resolver:
import io.deephaven.iceberg.util.*
options = LoadTableOptions.builder()
.id("my_table")
.build()