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

public abstract class OperationTransformer<T> extends Object
Base class to transforms given input into MongoOperation implementations.
  • Field Details

  • Constructor Details

  • Method Details

    • toDeleteAll

      public MongoDelete toDeleteAll()
    • toDelete

      public MongoDelete toDelete(Delete delete)
    • toOverwrite

      public abstract List<Overwrite> toOverwrite(List<T> units)
      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