Package org.apache.iceberg.jdbc
Class JdbcCatalog.ViewAwareTableBuilder
java.lang.Object
org.apache.iceberg.BaseMetastoreCatalog.BaseMetastoreCatalogTableBuilder
org.apache.iceberg.jdbc.JdbcCatalog.ViewAwareTableBuilder
- All Implemented Interfaces:
Catalog.TableBuilder
- Enclosing class:
- JdbcCatalog
protected class JdbcCatalog.ViewAwareTableBuilder
extends BaseMetastoreCatalog.BaseMetastoreCatalogTableBuilder
The purpose of this class is to add view detection only when SchemaVersion.V1 schema is used
when replacing a table.
-
Constructor Summary
-
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
-
ViewAwareTableBuilder
-
-
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
-