|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.rolap.agg.ListPredicate
public abstract class ListPredicate
Base class for AndPredicate
and OrPredicate
.
ListColumnPredicate
Field Summary | |
---|---|
protected List<StarPredicate> |
children
|
protected BitKey |
columnBitKey
|
protected List<RolapStar.Column> |
columns
|
Fields inherited from interface mondrian.rolap.StarPredicate |
---|
WILDCARD |
Constructor Summary | |
---|---|
protected |
ListPredicate(List<StarPredicate> predicateList)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface mondrian.rolap.StarPredicate |
---|
and, evaluate, or |
Field Detail |
---|
protected final List<StarPredicate> children
protected final List<RolapStar.Column> columns
protected BitKey columnBitKey
Constructor Detail |
---|
protected ListPredicate(List<StarPredicate> predicateList)
Method Detail |
---|
public List<RolapStar.Column> getConstrainedColumnList()
StarPredicate
getConstrainedColumnList
in interface StarPredicate
public BitKey getConstrainedColumnBitKey()
StarPredicate
getConstrainedColumnBitKey
in interface StarPredicate
public List<StarPredicate> getChildren()
public int hashCode()
hashCode
in class Object
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 predicate
public StarPredicate minus(StarPredicate predicate)
StarPredicate
minus
in interface StarPredicate
predicate
- Predicate
public 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 topublic String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |