public class AndPredicate extends ListPredicate
OrPredicate
children, columns
WILDCARD
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, toString
public AndPredicate(List<StarPredicate> predicateList)
public boolean evaluate(List<Object> valueList)
StarPredicate
If 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)
StarPredicate
predicate
- Predicatepublic StarPredicate or(StarPredicate predicate)
StarPredicate
predicate
- Predicatepublic void toInListSql(SqlQuery sqlQuery, StringBuilder buf, BitKey inListRHSBitKey)
protected String getOp()
getOp
in class ListPredicate
Copyright © 2019 Hitachi Vantara. All rights reserved.