Class OperationTransformer<T>
java.lang.Object
org.apache.drill.metastore.mongo.transform.OperationTransformer<T>
- Type Parameters:
T
- Metastore component unit type
- Direct Known Subclasses:
TablesOperationTransformer
Base class to transforms given input into
MongoOperation
implementations.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoOverwrite
(List<T> units) Converts given list of Metastore components units into list of overwrite operations.
-
Field Details
-
context
-
-
Constructor Details
-
OperationTransformer
-
-
Method Details
-
toDeleteAll
-
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
-