IcebergCatalogAdapter
IcebergCatalogAdapter is a class used to interact with Iceberg catalogs.
Constructors
An IcebergCatalogAdapter is constructed via IcebergTools.createAdapter
Parameters
When constructing an IcebergCatalogAdapter, the following parameters can be specified:
BuildCatalogOptions: Options for building the catalog.name: The name of the catalog.properties: A map of properties for the catalog.hadoopConfig: A map of Hadoop configuration properties.catalog: An instance oforg.apache.iceberg.catalog.Catalogto wrap.
Methods
catalog: Returns the underlying Iceberg catalog used by the adapter.createTable: Create a new table in the catalog with a giventableIdentifieranddefinition.listNamespaces: List all namespaces in the catalog.listTables: List all tables in a given namespace.loadTable: Load a table from the catalog.namespaces: List all namespaces in the catalog as a Deephaven table.tables: List all tables in a given namespace as a Deephaven table.
Examples
The following example constructs an IcebergCatalogAdapter using the Docker deployment defined in the Iceberg user guide.