Class GlueIcebergTableOperations
java.lang.Object
io.trino.plugin.iceberg.catalog.AbstractIcebergTableOperations
io.trino.plugin.iceberg.catalog.glue.GlueIcebergTableOperations
- All Implemented Interfaces:
IcebergTableOperations,org.apache.iceberg.TableOperations
-
Nested Class Summary
Nested Classes -
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
ConstructorsModifierConstructorDescriptionprotectedGlueIcebergTableOperations(TypeManager typeManager, boolean cacheTableMetadata, com.amazonaws.services.glue.AWSGlueAsync glueClient, GlueMetastoreStats stats, GlueIcebergTableOperations.GetGlueTable getGlueTable, 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) 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
-
GlueIcebergTableOperations
protected GlueIcebergTableOperations(TypeManager typeManager, boolean cacheTableMetadata, com.amazonaws.services.glue.AWSGlueAsync glueClient, GlueMetastoreStats stats, GlueIcebergTableOperations.GetGlueTable getGlueTable, org.apache.iceberg.io.FileIO fileIo, 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
-