public abstract class ListPredicate extends Object implements StarPredicate
AndPredicate and OrPredicate.ListColumnPredicate| Modifier and Type | Field and Description |
|---|---|
protected List<StarPredicate> |
children |
protected List<RolapStar.Column> |
columns |
WILDCARD| Modifier | Constructor and Description |
|---|---|
protected |
ListPredicate(List<StarPredicate> predicateList) |
| Modifier and Type | Method and Description |
|---|---|
void |
describe(StringBuilder buf)
Appends a description of this predicate to a
StringBuilder. |
boolean |
equalConstraint(StarPredicate that)
Returns whether this Predicate has the same constraining effect as the
other constraint.
|
List<StarPredicate> |
getChildren() |
BitKey |
getConstrainedColumnBitKey()
Returns a bitmap of constrained columns to speed up comparison
|
List<RolapStar.Column> |
getConstrainedColumnList()
Returns a list of constrained columns.
|
protected abstract String |
getOp() |
int |
hashCode() |
StarPredicate |
minus(StarPredicate predicate)
Returns the logical inverse of this Predicate.
|
void |
toSql(SqlQuery sqlQuery,
StringBuilder buf) |
String |
toString() |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitand, evaluate, orprotected final List<StarPredicate> children
protected final List<RolapStar.Column> columns
protected ListPredicate(List<StarPredicate> predicateList)
public List<RolapStar.Column> getConstrainedColumnList()
StarPredicategetConstrainedColumnList in interface StarPredicatepublic BitKey getConstrainedColumnBitKey()
StarPredicategetConstrainedColumnBitKey in interface StarPredicatepublic List<StarPredicate> getChildren()
public boolean equalConstraint(StarPredicate that)
StarPredicateObject.equals(Object): it
is possible for two different members to constrain the same column in the
same way.equalConstraint in interface StarPredicatethat - Other predicatepublic StarPredicate minus(StarPredicate predicate)
StarPredicateminus in interface StarPredicatepredicate - Predicatepublic void toSql(SqlQuery sqlQuery, StringBuilder buf)
toSql in interface StarPredicateprotected abstract String getOp()
public void describe(StringBuilder buf)
StarPredicateStringBuilder.
For example:describe in interface StarPredicatebuf - Builder to append toCopyright © 2021 Hitachi Vantara. All rights reserved.