Class TablesOperationTransformer
java.lang.Object
org.apache.drill.metastore.mongo.transform.OperationTransformer<TableMetadataUnit>
org.apache.drill.metastore.mongo.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.mongo.transform.OperationTransformer
context
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiontoOverwrite
(List<TableMetadataUnit> units) Groups given list ofTableMetadataUnit
, convert them to list of overwrite operationsMethods inherited from class org.apache.drill.metastore.mongo.transform.OperationTransformer
toDelete, toDeleteAll
-
Constructor Details
-
TablesOperationTransformer
-
-
Method Details
-
toOverwrite
Groups given list ofTableMetadataUnit
, convert them to list of overwrite operations- Specified by:
toOverwrite
in classOperationTransformer<TableMetadataUnit>
- Parameters:
units
- Metastore component units- Returns:
- list of overwrite operations
-