Class OperationTransformer<T>
java.lang.Object
org.apache.drill.metastore.iceberg.transform.OperationTransformer<T>
- Type Parameters:
T
- Metastore component unit type
- Direct Known Subclasses:
TablesOperationTransformer
Base class to transforms given input into
IcebergOperation
implementations.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoDelete
(FilterExpression filter) toOverwrite
(String location, org.apache.iceberg.expressions.Expression expression, List<T> units) toOverwrite
(List<T> units) Converts given list of Metastore components units into list of overwrite operations.
-
Field Details
-
context
-
-
Constructor Details
-
OperationTransformer
-
-
Method Details
-
toOverwrite
-
toDelete
-
toDelete
-
toOverwrite
Converts given list of Metastore components units into list of overwrite operations. Specific for each Metastore component.- Parameters:
units
- Metastore component units- Returns:
- list of overwrite operations
-