public static class AbstractColumnPredicate.Factory extends Object
StarPredicate
s and
StarColumnPredicate
s.Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static StarColumnPredicate equal(RolapStar.Column column, Object value)
column
- Constrained columnvalue
- Valuepublic static StarColumnPredicate or(RolapStar.Column column, List<StarColumnPredicate> list)
column
- Column being constrainedlist
- List of predicatespublic static LiteralStarPredicate bool(boolean b)
b
- Truth valuepublic static StarColumnPredicate equal(ValueColumnPredicate predicate)
predicate
- Column predicateCopyright © 2020 Hitachi Vantara. All rights reserved.