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

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

  • Constructor Details

  • Method Details

    • toOverwrite

      public Overwrite toOverwrite(String location, org.apache.iceberg.expressions.Expression expression, List<T> units)
    • toDelete

      public Delete toDelete(FilterExpression filter)
    • toDelete

      public Delete 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