public class TablesOperationTransformer extends OperationTransformer<TableMetadataUnit>
TableMetadataUnit
data to Metastore overwrite / delete operations.context
Constructor and Description |
---|
TablesOperationTransformer(IcebergMetastoreContext<TableMetadataUnit> context) |
Modifier and Type | Method and Description |
---|---|
List<Overwrite> |
toOverwrite(List<TableMetadataUnit> units)
Groups given list of
TableMetadataUnit based on table key
(storage plugin, workspace and table name), each table key is grouped by metadata key. |
toDelete, toDelete, toOverwrite
public TablesOperationTransformer(IcebergMetastoreContext<TableMetadataUnit> context)
public List<Overwrite> toOverwrite(List<TableMetadataUnit> units)
TableMetadataUnit
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.toOverwrite
in class OperationTransformer<TableMetadataUnit>
units
- Metastore component unitsCopyright © 2021 The Apache Software Foundation. All rights reserved.