public interface StarPredicate
RolapStar.Column or a set of columns.
 For example, the predicate
 Range([Time].[1997].[Q3], [Time].[1998].[Q2])
 constrains the year and quarter columns:
 
   ((year = 1997 and quarter >= 'Q3')
     or (year > 1997))
 and ((year = 1998 and quarter <= 'Q2')
     or (year < 1998))| Modifier and Type | Field and Description | 
|---|---|
static Object | 
WILDCARD
Wildcard value for  
evaluate(java.util.List). | 
| 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 | 
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. 
 | 
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)  | 
static final Object WILDCARD
evaluate(java.util.List).List<RolapStar.Column> getConstrainedColumnList()
BitKey getConstrainedColumnBitKey()
void describe(StringBuilder buf)
StringBuilder.
 For example:buf - Builder to append toboolean evaluate(List<Object> valueList)
If one of the values is WILDCARD, returns true if constraint is
 true for all possible values of that column.
valueList - List of values, one for each constrained columnboolean equalConstraint(StarPredicate that)
Object.equals(Object): it
 is possible for two different members to constrain the same column in the
 same way.that - Other predicateStarPredicate minus(StarPredicate predicate)
predicate - PredicateStarPredicate or(StarPredicate predicate)
predicate - PredicateStarPredicate and(StarPredicate predicate)
predicate - Predicatevoid toSql(SqlQuery sqlQuery, StringBuilder buf)
Copyright © 2017 Hitachi Vantara. All rights reserved.