public class MemberColumnPredicate extends ValueColumnPredicate
AbstractColumnPredicate.FactoryStarColumnPredicate.OverlapconstrainedColumnWILDCARD| Constructor and Description |
|---|
MemberColumnPredicate(RolapStar.Column column,
RolapMember member)
Creates a MemberColumnPredicate
|
| Modifier and Type | Method and Description |
|---|---|
StarColumnPredicate |
cloneWithColumn(RolapStar.Column column)
This method is required because unfortunately some ColumnPredicate
objects are created without a column.
|
void |
describe(StringBuilder buf)
Appends a description of this predicate to a
StringBuilder. |
boolean |
equals(Object other) |
List<RolapStar.Column> |
getConstrainedColumnList()
Returns a list of constrained columns.
|
RolapMember |
getMember()
Returns the
Member. |
int |
hashCode() |
String |
toString() |
checkInList, compareTo, equalConstraint, evaluate, getValue, intersect, mightIntersect, minus, toInListSql, toSql, valuesand, cloneListWithColumn, evaluate, getConstrainedColumn, getConstrainedColumnBitKey, or, orColumnpublic MemberColumnPredicate(RolapStar.Column column, RolapMember member)
column - Constrained columnmember - Member to constrain column to; must not be nullpublic String toString()
toString in class ValueColumnPredicatepublic List<RolapStar.Column> getConstrainedColumnList()
StarPredicategetConstrainedColumnList in interface StarPredicategetConstrainedColumnList in class AbstractColumnPredicatepublic RolapMember getMember()
Member.Member, not null.public boolean equals(Object other)
equals in class ValueColumnPredicatepublic int hashCode()
hashCode in class ValueColumnPredicatepublic void describe(StringBuilder buf)
StarPredicateStringBuilder.
For example:describe in interface StarPredicatedescribe in class ValueColumnPredicatebuf - Builder to append topublic StarColumnPredicate cloneWithColumn(RolapStar.Column column)
StarColumnPredicateWe call this method to provide a fake column, then call
StarPredicate.toSql(mondrian.rolap.sql.SqlQuery, StringBuilder).
todo: remove this method when
bug MONDRIAN-313 and
bug MONDRIAN-314 are fixed.
cloneWithColumn in interface StarColumnPredicatecloneWithColumn in class ValueColumnPredicateCopyright © 2021 Hitachi Vantara. All rights reserved.