Package mondrian.rolap
Interface CellReader
-
- All Known Implementing Classes:
FastBatchingCellReader
interface CellReaderACellReaderfinds the cell value for the current context held byevaluator.It returns:
nullif the source is unable to evaluate the cell (for example,AggregatingCellReaderdoes not have the cell in its cache). This value should only be returned if the caller is expecting it.Util.nullValueif the cell evaluates to nullUtil.ErrorCellValueif the cell evaluates to an error- an Object representing a value (often a
Doubleor aBigDecimal), otherwise
- Since:
- 10 August, 2001
- Author:
- jhyde
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectget(RolapEvaluator evaluator)Returns the value of the cell which has the context described by the evaluator.intgetMissCount()Returns the number of times this cell reader has told a lie (since creation), because the required cell value is not in the cache.booleanisDirty()
-
-
-
Method Detail
-
get
Object get(RolapEvaluator evaluator)
Returns the value of the cell which has the context described by the evaluator. A cell could have optional compound member coordinates usually specified using the Aggregate function. These compound members are contained in the evaluator.If no aggregation contains the required cell, returns null.
If the value is null, returns
Util.nullValue.- Returns:
- Cell value, or null if not found, or
Util.nullValueif the value is null
-
getMissCount
int getMissCount()
Returns the number of times this cell reader has told a lie (since creation), because the required cell value is not in the cache.
-
isDirty
boolean isDirty()
- Returns:
- whether thus cell reader has any pending cell requests that are not loaded yet.
-
-