Package org.apache.iceberg
Class BaseMetastoreCatalog
java.lang.Object
org.apache.iceberg.BaseMetastoreCatalog
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Catalog
- Direct Known Subclasses:
- BaseMetastoreViewCatalog,- DynamoDbCatalog,- EcsCatalog,- GlueCatalog,- HadoopCatalog,- SnowflakeCatalog
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected classNested classes/interfaces inherited from interface org.apache.iceberg.catalog.CatalogCatalog.TableBuilder
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuildTable(TableIdentifier identifier, Schema schema) /** Instantiate a builder to either create a table or start a create/replace transaction.voidclose()protected abstract StringdefaultWarehouseLocation(TableIdentifier tableIdentifier) protected static StringfullTableName(String catalogName, TableIdentifier identifier) protected booleanisValidIdentifier(TableIdentifier tableIdentifier) loadTable(TableIdentifier identifier) Load a table.protected MetricsReporterprotected abstract TableOperationsnewTableOps(TableIdentifier tableIdentifier) registerTable(TableIdentifier identifier, String metadataFileLocation) Register a table with the catalog if it does not exist.toString()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.iceberg.catalog.CatalogcreateTable, createTable, createTable, createTable, dropTable, dropTable, initialize, invalidateTable, listTables, name, newCreateTableTransaction, newCreateTableTransaction, newCreateTableTransaction, newCreateTableTransaction, newReplaceTableTransaction, newReplaceTableTransaction, newReplaceTableTransaction, newReplaceTableTransaction, renameTable, tableExists
- 
Constructor Details- 
BaseMetastoreCatalogpublic BaseMetastoreCatalog()
 
- 
- 
Method Details- 
loadTableDescription copied from interface:CatalogLoad a table.
- 
registerTableDescription copied from interface:CatalogRegister a table with the catalog if it does not exist.- Specified by:
- registerTablein interface- Catalog
- Parameters:
- identifier- a table identifier
- metadataFileLocation- the location of a metadata file
- Returns:
- a Table instance
 
- 
buildTableDescription copied from interface:Catalog/** Instantiate a builder to either create a table or start a create/replace transaction.- Specified by:
- buildTablein interface- Catalog
- Parameters:
- identifier- a table identifier
- schema- a schema
- Returns:
- the builder to create a table or start a create/replace transaction
 
- 
isValidIdentifier
- 
properties
- 
toString
- 
newTableOps
- 
defaultWarehouseLocation
- 
fullTableName
- 
metricsReporter
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 
-