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
Constructors Constructor Description BaseMetastoreViewCatalogTableBuilder(TableIdentifier identifier, Schema schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transaction
replaceTransaction()
Starts a transaction to replace the table.-
Methods inherited from class org.apache.iceberg.BaseMetastoreCatalog.BaseMetastoreCatalogTableBuilder
create, createOrReplaceTransaction, createTransaction, withLocation, withPartitionSpec, withProperties, withProperty, withSortOrder
-
-
-
-
Constructor Detail
-
BaseMetastoreViewCatalogTableBuilder
public BaseMetastoreViewCatalogTableBuilder(TableIdentifier identifier, Schema schema)
-
-
Method Detail
-
replaceTransaction
public Transaction 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
-
-