|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.rolap.agg.CellRequest
public class CellRequest
A CellRequest contains the context necessary to get a cell
value from a star.
| Field Summary | |
|---|---|
boolean |
drillThrough
|
boolean |
extendedContext
|
| Constructor Summary | |
|---|---|
CellRequest(RolapStar.Measure measure,
boolean extendedContext,
boolean drillThrough)
Creates a CellRequest. |
|
| Method Summary | |
|---|---|
void |
addAggregateList(BitKey compoundBitKey,
StarPredicate compoundPredicate)
Add compound member (formed via aggregate function) constraint to the Cell. |
void |
addConstrainedColumn(RolapStar.Column column,
StarColumnPredicate predicate)
Adds a constraint to this request. |
java.util.Map<BitKey,StarPredicate> |
getCompoundPredicateMap()
Returns the map of compound predicates. |
RolapStar.Column[] |
getConstrainedColumns()
|
BitKey |
getConstrainedColumnsBitKey()
Returns the BitKey for the list of columns. |
RolapStar.Measure |
getMeasure()
Returns the measure of this cell request. |
java.lang.Object[] |
getSingleValues()
Returns an array of the values for each column. |
java.util.List<StarColumnPredicate> |
getValueList()
|
boolean |
isUnsatisfiable()
Returns whether this cell request is impossible to satisfy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final boolean extendedContext
public final boolean drillThrough
| Constructor Detail |
|---|
public CellRequest(RolapStar.Measure measure,
boolean extendedContext,
boolean drillThrough)
CellRequest.
measure - Measure the request is forextendedContext - If a drill-through request, whether to join in
unconstrained levels so as to display extra columnsdrillThrough - Whether this is a request for a drill-through set| Method Detail |
|---|
public final void addConstrainedColumn(RolapStar.Column column,
StarColumnPredicate predicate)
column - Column to constraintpredicate - Constraint to apply, or null to add column to the
output without applying constraint
public void addAggregateList(BitKey compoundBitKey,
StarPredicate compoundPredicate)
compoundBitKey - Compound bit keycompoundPredicate - Compound predicatepublic RolapStar.Measure getMeasure()
public RolapStar.Column[] getConstrainedColumns()
public BitKey getConstrainedColumnsBitKey()
public java.util.Map<BitKey,StarPredicate> getCompoundPredicateMap()
public java.util.List<StarColumnPredicate> getValueList()
public java.lang.Object[] getSingleValues()
The caller must check whether this request is satisfiable before
calling this method. May throw NullPointerException if request
is not satisfiable.
public boolean isUnsatisfiable()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||