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, wait
and, evaluate, or
protected final List<StarPredicate> children
protected final List<RolapStar.Column> columns
protected ListPredicate(List<StarPredicate> predicateList)
public List<RolapStar.Column> getConstrainedColumnList()
StarPredicate
getConstrainedColumnList
in interface StarPredicate
public BitKey getConstrainedColumnBitKey()
StarPredicate
getConstrainedColumnBitKey
in interface StarPredicate
public List<StarPredicate> getChildren()
public boolean equalConstraint(StarPredicate that)
StarPredicate
Object.equals(Object)
: it
is possible for two different members to constrain the same column in the
same way.equalConstraint
in interface StarPredicate
that
- Other predicatepublic StarPredicate minus(StarPredicate predicate)
StarPredicate
minus
in interface StarPredicate
predicate
- Predicatepublic void toSql(SqlQuery sqlQuery, StringBuilder buf)
toSql
in interface StarPredicate
protected abstract String getOp()
public void describe(StringBuilder buf)
StarPredicate
StringBuilder
.
For example:describe
in interface StarPredicate
buf
- Builder to append toCopyright © 2018 Hitachi Vantara. All rights reserved.