Class IcebergNessieTableOperations
java.lang.Object
io.trino.plugin.iceberg.catalog.AbstractIcebergTableOperations
io.trino.plugin.iceberg.catalog.nessie.IcebergNessieTableOperations
- All Implemented Interfaces:
IcebergTableOperations,org.apache.iceberg.TableOperations
-
Field Summary
Fields inherited from class io.trino.plugin.iceberg.catalog.AbstractIcebergTableOperations
currentMetadata, currentMetadataLocation, database, fileIo, ICEBERG_METASTORE_STORAGE_FORMAT, location, owner, session, shouldRefresh, tableName, version -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIcebergNessieTableOperations(org.apache.iceberg.nessie.NessieIcebergClient nessieClient, org.apache.iceberg.io.FileIO fileIo, ConnectorSession session, String database, String table, Optional<String> owner, Optional<String> location) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcommitNewTable(org.apache.iceberg.TableMetadata metadata) protected voidcommitToExistingTable(org.apache.iceberg.TableMetadata base, org.apache.iceberg.TableMetadata metadata) protected StringgetRefreshedLocation(boolean invalidateCaches) org.apache.iceberg.TableMetadatarefresh()org.apache.iceberg.TableMetadatarefresh(boolean invalidateCaches) Methods inherited from class io.trino.plugin.iceberg.catalog.AbstractIcebergTableOperations
commit, current, getSchemaTableName, initializeFromMetadata, io, locationProvider, metadataFileLocation, metadataFileLocation, newTableMetadataFilePath, refreshFromMetadataLocation, toHiveColumns, writeNewMetadataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.TableOperations
encryption, newSnapshotId, temp
-
Constructor Details
-
IcebergNessieTableOperations
-
-
Method Details
-
refresh
public org.apache.iceberg.TableMetadata refresh()- Specified by:
refreshin interfaceorg.apache.iceberg.TableOperations- Overrides:
refreshin classAbstractIcebergTableOperations
-
refresh
public org.apache.iceberg.TableMetadata refresh(boolean invalidateCaches) - Overrides:
refreshin classAbstractIcebergTableOperations
-
getRefreshedLocation
- Specified by:
getRefreshedLocationin classAbstractIcebergTableOperations
-
commitNewTable
protected void commitNewTable(org.apache.iceberg.TableMetadata metadata) - Specified by:
commitNewTablein classAbstractIcebergTableOperations
-
commitToExistingTable
protected void commitToExistingTable(org.apache.iceberg.TableMetadata base, org.apache.iceberg.TableMetadata metadata) - Specified by:
commitToExistingTablein classAbstractIcebergTableOperations
-