|
|||||||||
| 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 List<StarPredicate> |
children
|
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
| Constructor Detail |
|---|
protected ListPredicate(List<StarPredicate> predicateList)
| Method Detail |
|---|
public List<RolapStar.Column> getConstrainedColumnList()
StarPredicate
getConstrainedColumnList in interface StarPredicatepublic BitKey getConstrainedColumnBitKey()
StarPredicate
getConstrainedColumnBitKey in interface StarPredicatepublic List<StarPredicate> getChildren()
public int hashCode()
hashCode in class 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,
StringBuilder buf)
toSql in interface StarPredicateprotected abstract String getOp()
public void describe(StringBuilder buf)
StarPredicateStringBuilder.
For example:
describe in interface StarPredicatebuf - 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 | ||||||||