Class AbstractColumnPredicate.Factory

java.lang.Object
mondrian.rolap.agg.AbstractColumnPredicate.Factory
Enclosing class:
AbstractColumnPredicate

public static class AbstractColumnPredicate.Factory extends Object
  • Constructor Details

    • Factory

      public Factory()
  • Method Details

    • equal

      public static StarColumnPredicate equal(RolapStar.Column column, Object value)
      Returns a predicate which tests whether the column's value is equal to a given constant.
      Parameters:
      column - Constrained column
      value - Value
      Returns:
      Predicate which tests whether the column's value is equal to a column constraint's value
    • or

      public static StarColumnPredicate or(RolapStar.Column column, List<StarColumnPredicate> list)
      Returns predicate which is the OR of a list of predicates.
      Parameters:
      column - Column being constrained
      list - List of predicates
      Returns:
      Predicate which is an OR of the list of predicates
    • bool

      public static LiteralStarPredicate bool(boolean b)
      Returns a predicate which always evaluates to TRUE or FALSE.
      Parameters:
      b - Truth value
      Returns:
      Predicate which always evaluates to truth value
    • equal

      public static StarColumnPredicate equal(ValueColumnPredicate predicate)
      Returns a predicate which tests whether the column's value is equal to column predicate's value.
      Parameters:
      predicate - Column predicate
      Returns:
      Predicate which tests whether the column's value is equal to a column predicate's value