Package org.apache.iceberg.view
Class BaseMetastoreViewCatalog.BaseMetastoreViewCatalogTableBuilder
java.lang.Object
org.apache.iceberg.BaseMetastoreCatalog.BaseMetastoreCatalogTableBuilder
org.apache.iceberg.view.BaseMetastoreViewCatalog.BaseMetastoreViewCatalogTableBuilder
- All Implemented Interfaces:
Catalog.TableBuilder
- Enclosing class:
BaseMetastoreViewCatalog
protected class BaseMetastoreViewCatalog.BaseMetastoreViewCatalogTableBuilder
extends BaseMetastoreCatalog.BaseMetastoreCatalogTableBuilder
The purpose of this class is to add view detection when replacing a table
-
Constructor Summary
ConstructorDescriptionBaseMetastoreViewCatalogTableBuilder
(TableIdentifier identifier, Schema schema) -
Method Summary
Modifier and TypeMethodDescriptionStarts a transaction to replace the table.Methods inherited from class org.apache.iceberg.BaseMetastoreCatalog.BaseMetastoreCatalogTableBuilder
create, createOrReplaceTransaction, createTransaction, withLocation, withPartitionSpec, withProperties, withProperty, withSortOrder
-
Constructor Details
-
BaseMetastoreViewCatalogTableBuilder
-
-
Method Details
-
replaceTransaction
Description copied from interface:Catalog.TableBuilder
Starts a transaction to replace the table.- Specified by:
replaceTransaction
in interfaceCatalog.TableBuilder
- Overrides:
replaceTransaction
in classBaseMetastoreCatalog.BaseMetastoreCatalogTableBuilder
- Returns:
- the
Transaction
to replace the table
-