public class MemberTuplePredicate extends Object implements StarPredicate
WILDCARD| Constructor and Description | 
|---|
MemberTuplePredicate(RolapCube baseCube,
                    RolapCubeMember member)
Creates a MemberTuplePredicate which evaluates to true for a given
 member. 
 | 
MemberTuplePredicate(RolapCube baseCube,
                    RolapMember lower,
                    boolean lowerStrict,
                    RolapMember upper,
                    boolean upperStrict)
Creates a MemberTuplePredicate which evaluates to true for a given
 range of members. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
StarPredicate | 
and(StarPredicate predicate)
Returns this intersection of this Predicate with another. 
 | 
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. 
 | 
boolean | 
equals(Object obj)  | 
boolean | 
evaluate(List<Object> valueList)
Evaluates a constraint against a list of values. 
 | 
BitKey | 
getConstrainedColumnBitKey()
Returns a bitmap of constrained columns to speed up comparison 
 | 
List<RolapStar.Column> | 
getConstrainedColumnList()
Returns a list of constrained columns. 
 | 
int | 
hashCode()  | 
StarPredicate | 
minus(StarPredicate predicate)
Returns the logical inverse of this Predicate. 
 | 
StarPredicate | 
or(StarPredicate predicate)
Returns this union of this Predicate with another. 
 | 
void | 
toSql(SqlQuery sqlQuery,
     StringBuilder buf)  | 
public MemberTuplePredicate(RolapCube baseCube, RolapMember lower, boolean lowerStrict, RolapMember upper, boolean upperStrict)
The range can be open above or below, but at least one bound is required.
baseCube - base cube for virtual memberslower - Member which forms the lower bound, or null if range is
   open belowlowerStrict - Whether lower bound of range is strictupper - Member which forms the upper bound, or null if range is
   open aboveupperStrict - Whether upper bound of range is strictpublic MemberTuplePredicate(RolapCube baseCube, RolapCubeMember member)
baseCube - base cube for virtual membersmember - Memberpublic List<RolapStar.Column> getConstrainedColumnList()
getConstrainedColumnList in interface StarPredicatepublic BitKey getConstrainedColumnBitKey()
StarPredicategetConstrainedColumnBitKey in interface StarPredicatepublic 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 predicatepublic StarPredicate minus(StarPredicate predicate)
StarPredicateminus in interface StarPredicatepredicate - Predicatepublic StarPredicate or(StarPredicate predicate)
StarPredicateor in interface StarPredicatepredicate - Predicatepublic StarPredicate and(StarPredicate predicate)
StarPredicateand in interface StarPredicatepredicate - Predicatepublic boolean evaluate(List<Object> valueList)
evaluate in interface StarPredicatevalueList - List of values, one for each constrained columnpublic void describe(StringBuilder buf)
StarPredicateStringBuilder.
 For example:describe in interface StarPredicatebuf - Builder to append topublic void toSql(SqlQuery sqlQuery, StringBuilder buf)
toSql in interface StarPredicateCopyright © 2017 Hitachi Vantara. All rights reserved.