public class AndPredicate extends ListPredicate
OrPredicatechildren, columnsWILDCARD| Constructor and Description |
|---|
AndPredicate(List<StarPredicate> predicateList) |
| Modifier and Type | Method and Description |
|---|---|
StarPredicate |
and(StarPredicate predicate)
Returns this intersection of this Predicate with another.
|
BitKey |
checkInList(SqlQuery sqlQuery,
BitKey inListLHSBitKey) |
boolean |
evaluate(List<Object> valueList)
Evaluates a constraint against a list of values.
|
protected String |
getOp() |
StarPredicate |
or(StarPredicate predicate)
Returns this union of this Predicate with another.
|
void |
toInListSql(SqlQuery sqlQuery,
StringBuilder buf,
BitKey inListRHSBitKey)
Generate value list for this predicate to be used in an IN-list
sql predicate.
|
describe, equalConstraint, getChildren, getConstrainedColumnBitKey, getConstrainedColumnList, hashCode, minus, toSql, toStringpublic AndPredicate(List<StarPredicate> predicateList)
public boolean evaluate(List<Object> valueList)
StarPredicateIf one of the values is StarPredicate.WILDCARD, returns true if constraint is
true for all possible values of that column.
valueList - List of values, one for each constrained columnpublic StarPredicate and(StarPredicate predicate)
StarPredicatepredicate - Predicatepublic StarPredicate or(StarPredicate predicate)
StarPredicatepredicate - Predicatepublic void toInListSql(SqlQuery sqlQuery, StringBuilder buf, BitKey inListRHSBitKey)
protected String getOp()
getOp in class ListPredicateCopyright © 2021 Hitachi Vantara. All rights reserved.