|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A CompundPredicate is a set of
predicates connected by logical or relational
operators. For example, age < 30 AND salary >
50K is a compound predicate which is connected
by a boolean and operator.
Another example on surrogates is a set of simple
predicates age < 30, income > 50K,
and education = college, with each
predicate connected with surrogate
operator. If the first predicate cannot be
evaluated because the age attribute has a
missing value, the next predicate is to be
evaluated, in the order of the predicates returned
from getPredicates method.
Predicate| Method Summary | |
BooleanOperator |
getOperator()
Returns the boolean operator that connects the predicates in the compound predicate. |
Predicate[] |
getPredicates()
Returns the simple predicates contained in the compound predicate. |
| Method Detail |
public BooleanOperator getOperator()
public Predicate[] getPredicates()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||