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
Constructors -
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.TableBuilderStarts a transaction to replace the table.- Specified by:
replaceTransactionin interfaceCatalog.TableBuilder- Overrides:
replaceTransactionin classBaseMetastoreCatalog.BaseMetastoreCatalogTableBuilder- Returns:
- the
Transactionto replace the table
-