|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.rolap.agg.AbstractColumnPredicate.Factory
public static class AbstractColumnPredicate.Factory
Factory for StarPredicate
s and
StarColumnPredicate
s.
Constructor Summary | |
---|---|
AbstractColumnPredicate.Factory()
|
Method Summary | |
---|---|
static LiteralStarPredicate |
bool(boolean b)
Returns a predicate which always evaluates to TRUE or FALSE. |
static StarColumnPredicate |
equal(RolapStar.Column column,
Object value)
Returns a predicate which tests whether the column's value is equal to a given constant. |
static StarColumnPredicate |
equal(ValueColumnPredicate predicate)
Returns a predicate which tests whether the column's value is equal to column predicate's value. |
static StarColumnPredicate |
or(RolapStar.Column column,
List<StarColumnPredicate> list)
Returns predicate which is the OR of a list of predicates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractColumnPredicate.Factory()
Method Detail |
---|
public static StarColumnPredicate equal(RolapStar.Column column, Object value)
column
- Constrained columnvalue
- Value
public static StarColumnPredicate or(RolapStar.Column column, List<StarColumnPredicate> list)
column
- Column being constrainedlist
- List of predicates
public static LiteralStarPredicate bool(boolean b)
b
- Truth value
public static StarColumnPredicate equal(ValueColumnPredicate predicate)
predicate
- Column predicate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |