public class MemberColumnPredicate extends ValueColumnPredicate
AbstractColumnPredicate.Factory
StarColumnPredicate.Overlap
constrainedColumn
WILDCARD
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, values
and, cloneListWithColumn, evaluate, getConstrainedColumn, getConstrainedColumnBitKey, or, orColumn
public MemberColumnPredicate(RolapStar.Column column, RolapMember member)
column
- Constrained columnmember
- Member to constrain column to; must not be nullpublic String toString()
toString
in class ValueColumnPredicate
public List<RolapStar.Column> getConstrainedColumnList()
StarPredicate
getConstrainedColumnList
in interface StarPredicate
getConstrainedColumnList
in class AbstractColumnPredicate
public RolapMember getMember()
Member
.Member
, not null.public boolean equals(Object other)
equals
in class ValueColumnPredicate
public int hashCode()
hashCode
in class ValueColumnPredicate
public void describe(StringBuilder buf)
StarPredicate
StringBuilder
.
For example:describe
in interface StarPredicate
describe
in class ValueColumnPredicate
buf
- Builder to append topublic StarColumnPredicate cloneWithColumn(RolapStar.Column column)
StarColumnPredicate
We 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 StarColumnPredicate
cloneWithColumn
in class ValueColumnPredicate
Copyright © 2019 Hitachi Vantara. All rights reserved.