Class ColumnPredicate


  • public class ColumnPredicate
    extends Object
    Represents a column predicate extracted from Substrait filter expressions. This class encapsulates a single filter condition that can be applied to a column, including the column name, comparison operator, value, and data type information. Used for predicate pushdown optimization in federated query execution.
    • Constructor Detail

      • ColumnPredicate

        public ColumnPredicate​(String column,
                               SubstraitOperator substraitOperator,
                               Object value,
                               org.apache.arrow.vector.types.pojo.ArrowType arrowType)
        Constructs a new column predicate.
        Parameters:
        column - the name of the column to filter
        substraitOperator - the comparison operator to use
        value - the value to compare the column against
        arrowType - the Arrow data type of the column
    • Method Detail

      • getColumn

        public String getColumn()
      • getValue

        public Object getValue()
      • getArrowType

        public org.apache.arrow.vector.types.pojo.ArrowType getArrowType()