public interface StarColumnPredicate extends StarPredicate
StarPredicate which constrains precisely one column.| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
StarColumnPredicate.Overlap
Returned by
  
intersect(mondrian.rolap.StarColumnPredicate),
 describes whether two predicates overlap, and if so, the remaining
 predicate. | 
WILDCARD| 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. 
 | 
boolean | 
evaluate(Object value)
Returns whether this constraint would return  
true for a
 given value. | 
RolapStar.Column | 
getConstrainedColumn()
Returns the column constrained by this predicate. 
 | 
StarColumnPredicate.Overlap | 
intersect(StarColumnPredicate predicate)
Applies this predicate to a predicate from the axis of
 a segment, and tests for overlap. 
 | 
boolean | 
mightIntersect(StarPredicate other)
Returns whether this predicate might intersect another predicate. 
 | 
StarColumnPredicate | 
minus(StarPredicate predicate)
Returns the logical inverse of this Predicate. 
 | 
StarColumnPredicate | 
orColumn(StarColumnPredicate predicate)
Returns this union of this Predicate with another. 
 | 
void | 
values(Collection<Object> collection)
Adds the values in this constraint to a collection. 
 | 
and, describe, equalConstraint, evaluate, getConstrainedColumnBitKey, getConstrainedColumnList, or, toSqlvoid values(Collection<Object> collection)
collection - Collection to add values toboolean evaluate(Object value)
true for a
 given value.value - ValueRolapStar.Column getConstrainedColumn()
StarColumnPredicate.Overlap intersect(StarColumnPredicate predicate)
predicate - Predicateboolean mightIntersect(StarPredicate other)
other - Other constraintStarColumnPredicate minus(StarPredicate predicate)
StarPredicateminus in interface StarPredicatepredicate - PredicateStarColumnPredicate orColumn(StarColumnPredicate predicate)
Unlike StarPredicate.or(mondrian.rolap.StarPredicate), the other predicate must be on this column, and
 the result is a column predicate.
predicate - Another predicate on this columnStarColumnPredicate cloneWithColumn(RolapStar.Column column)
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.
Copyright © 2019 Hitachi Vantara. All rights reserved.