Package io.lakefs.iceberg
Class LakeFSCatalog
- java.lang.Object
-
- org.apache.iceberg.BaseMetastoreCatalog
-
- org.apache.iceberg.hadoop.HadoopCatalog
-
- io.lakefs.iceberg.LakeFSCatalog
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.conf.Configurable,org.apache.iceberg.catalog.Catalog,org.apache.iceberg.catalog.SupportsNamespaces
public class LakeFSCatalog extends org.apache.iceberg.hadoop.HadoopCatalog
-
-
Constructor Summary
Constructors Constructor Description LakeFSCatalog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringdefaultWarehouseLocation(org.apache.iceberg.catalog.TableIdentifier tableIdentifier)voidinitialize(String name, Map<String,String> properties)Map<String,String>loadNamespaceMetadata(org.apache.iceberg.catalog.Namespace namespace)protected org.apache.iceberg.TableOperationsnewTableOps(org.apache.iceberg.catalog.TableIdentifier identifier)-
Methods inherited from class org.apache.iceberg.hadoop.HadoopCatalog
buildTable, close, createNamespace, dropNamespace, dropTable, getConf, isValidIdentifier, listNamespaces, listTables, name, properties, removeProperties, renameTable, setConf, setProperties, toString
-
Methods inherited from class org.apache.iceberg.BaseMetastoreCatalog
fullTableName, loadTable, registerTable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.iceberg.catalog.Catalog
createTable, createTable, createTable, createTable, dropTable, invalidateTable, newCreateTableTransaction, newCreateTableTransaction, newCreateTableTransaction, newCreateTableTransaction, newReplaceTableTransaction, newReplaceTableTransaction, newReplaceTableTransaction, newReplaceTableTransaction, tableExists
-
-
-
-
Method Detail
-
initialize
public void initialize(String name, Map<String,String> properties)
- Specified by:
initializein interfaceorg.apache.iceberg.catalog.Catalog- Overrides:
initializein classorg.apache.iceberg.hadoop.HadoopCatalog
-
loadNamespaceMetadata
public Map<String,String> loadNamespaceMetadata(org.apache.iceberg.catalog.Namespace namespace)
- Specified by:
loadNamespaceMetadatain interfaceorg.apache.iceberg.catalog.SupportsNamespaces- Overrides:
loadNamespaceMetadatain classorg.apache.iceberg.hadoop.HadoopCatalog
-
newTableOps
protected org.apache.iceberg.TableOperations newTableOps(org.apache.iceberg.catalog.TableIdentifier identifier)
- Overrides:
newTableOpsin classorg.apache.iceberg.hadoop.HadoopCatalog
-
defaultWarehouseLocation
protected String defaultWarehouseLocation(org.apache.iceberg.catalog.TableIdentifier tableIdentifier)
- Overrides:
defaultWarehouseLocationin classorg.apache.iceberg.hadoop.HadoopCatalog
-
-