Class IcebergJdbcTableOperations
java.lang.Object
io.trino.plugin.iceberg.catalog.AbstractIcebergTableOperations
io.trino.plugin.iceberg.catalog.jdbc.IcebergJdbcTableOperations
- 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
ConstructorsConstructorDescriptionIcebergJdbcTableOperations(org.apache.iceberg.io.FileIO fileIo, IcebergJdbcClient jdbcClient, 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) Methods inherited from class io.trino.plugin.iceberg.catalog.AbstractIcebergTableOperations
commit, current, getSchemaTableName, initializeFromMetadata, io, locationProvider, metadataFileLocation, metadataFileLocation, newTableMetadataFilePath, refresh, refresh, 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
-
IcebergJdbcTableOperations
public IcebergJdbcTableOperations(org.apache.iceberg.io.FileIO fileIo, IcebergJdbcClient jdbcClient, ConnectorSession session, String database, String table, Optional<String> owner, Optional<String> location)
-
-
Method Details
-
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
-