Class TablesOperationTransformer
java.lang.Object
org.apache.drill.metastore.iceberg.transform.OperationTransformer<TableMetadataUnit>
org.apache.drill.metastore.iceberg.components.tables.TablesOperationTransformer
Metastore Tables component operations transformer that provides mechanism
to convert
TableMetadataUnit
data to Metastore overwrite / delete operations.-
Field Summary
Fields inherited from class org.apache.drill.metastore.iceberg.transform.OperationTransformer
context
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiontoOverwrite
(List<TableMetadataUnit> units) Groups given list ofTableMetadataUnit
based on table key (storage plugin, workspace and table name), each table key is grouped by metadata key.Methods inherited from class org.apache.drill.metastore.iceberg.transform.OperationTransformer
toDelete, toDelete, toOverwrite
-
Constructor Details
-
TablesOperationTransformer
-
-
Method Details
-
toOverwrite
Groups given list ofTableMetadataUnit
based on table key (storage plugin, workspace and table name), each table key is grouped by metadata key. Each group is converted into overwrite operation.- Specified by:
toOverwrite
in classOperationTransformer<TableMetadataUnit>
- Parameters:
units
- Metastore component units- Returns:
- list of overwrite operations
-