Class ExpressionTransform

java.lang.Object
org.apache.druid.segment.transform.ExpressionTransform
All Implemented Interfaces:
Transform

public class ExpressionTransform extends Object implements Transform
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: Transform
      Returns the field name for this transform.
      Specified by:
      getName in interface Transform
    • getExpression

      public String getExpression()
    • getRowFunction

      public RowFunction getRowFunction()
      Description copied from interface: Transform
      Returns the function for this transform. The RowFunction takes an entire row as input and returns a column value as output.
      Specified by:
      getRowFunction in interface Transform
    • getRequiredColumns

      public Set<String> getRequiredColumns()
      Description copied from interface: Transform
      Returns the names of all columns that this transform is going to read.
      Specified by:
      getRequiredColumns in interface Transform
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object