|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.rolap.agg.ListPredicate
public abstract class ListPredicate
Base class for AndPredicate and OrPredicate.
ListColumnPredicate| Field Summary | |
|---|---|
protected java.util.List<StarPredicate> |
children
|
protected BitKey |
columnBitKey
|
protected java.util.List<RolapStar.Column> |
columns
|
| Fields inherited from interface mondrian.rolap.StarPredicate |
|---|
WILDCARD |
| Constructor Summary | |
|---|---|
protected |
ListPredicate(java.util.List<StarPredicate> predicateList)
|
| Method Summary | |
|---|---|
void |
describe(java.lang.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. |
java.util.List<StarPredicate> |
getChildren()
|
BitKey |
getConstrainedColumnBitKey()
Returns a bitmap of constrained columns to speed up comparison |
java.util.List<RolapStar.Column> |
getConstrainedColumnList()
Returns a list of constrained columns. |
protected abstract java.lang.String |
getOp()
|
int |
hashCode()
|
StarPredicate |
minus(StarPredicate predicate)
Returns the logical inverse of this Predicate. |
void |
toSql(SqlQuery sqlQuery,
java.lang.StringBuilder buf)
|
java.lang.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 java.util.List<StarPredicate> children
protected final java.util.List<RolapStar.Column> columns
protected BitKey columnBitKey
| Constructor Detail |
|---|
protected ListPredicate(java.util.List<StarPredicate> predicateList)
| Method Detail |
|---|
public java.util.List<RolapStar.Column> getConstrainedColumnList()
StarPredicate
getConstrainedColumnList in interface StarPredicatepublic BitKey getConstrainedColumnBitKey()
StarPredicate
getConstrainedColumnBitKey in interface StarPredicatepublic java.util.List<StarPredicate> getChildren()
public int hashCode()
hashCode in class java.lang.Objectpublic 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 predicate
public StarPredicate minus(StarPredicate predicate)
StarPredicate
minus in interface StarPredicatepredicate - Predicate
public void toSql(SqlQuery sqlQuery,
java.lang.StringBuilder buf)
toSql in interface StarPredicateprotected abstract java.lang.String getOp()
public void describe(java.lang.StringBuilder buf)
StarPredicateStringBuilder.
For example:
describe in interface StarPredicatebuf - Builder to append topublic java.lang.String toString()
toString in class java.lang.Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||