Class HiveMetastoreTableOperations
java.lang.Object
io.trino.plugin.iceberg.catalog.AbstractIcebergTableOperations
io.trino.plugin.iceberg.catalog.hms.AbstractMetastoreTableOperations
io.trino.plugin.iceberg.catalog.hms.HiveMetastoreTableOperations
- All Implemented Interfaces:
IcebergTableOperations,org.apache.iceberg.TableOperations
-
Field Summary
Fields inherited from class io.trino.plugin.iceberg.catalog.hms.AbstractMetastoreTableOperations
metastoreFields 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
ConstructorsConstructorDescriptionHiveMetastoreTableOperations(org.apache.iceberg.io.FileIO fileIo, CachingHiveMetastore metastore, ThriftMetastore thriftMetastore, ConnectorSession session, String database, String table, Optional<String> owner, Optional<String> location) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcommitToExistingTable(org.apache.iceberg.TableMetadata base, org.apache.iceberg.TableMetadata metadata) Methods inherited from class io.trino.plugin.iceberg.catalog.hms.AbstractMetastoreTableOperations
commitNewTable, getRefreshedLocation, getTable, updateMetastoreTableMethods 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
-
HiveMetastoreTableOperations
public HiveMetastoreTableOperations(org.apache.iceberg.io.FileIO fileIo, CachingHiveMetastore metastore, ThriftMetastore thriftMetastore, ConnectorSession session, String database, String table, Optional<String> owner, Optional<String> location)
-
-
Method Details
-
commitToExistingTable
protected void commitToExistingTable(org.apache.iceberg.TableMetadata base, org.apache.iceberg.TableMetadata metadata) - Specified by:
commitToExistingTablein classAbstractIcebergTableOperations
-