|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.rolap.RolapResult.CellInfoMap
static class RolapResult.CellInfoMap
Implementation of RolapResult.CellInfoContainer which uses a Map to
store CellInfo Objects.
Note that the CellKey point instance variable is the same
Object (NOT a copy) that is used and modified during
the recursive calls to executeStripe - the
create method relies on this fact.
| Constructor Summary | |
|---|---|
RolapResult.CellInfoMap(CellKey point)
Creates a CellInfoMap |
|
| Method Summary | |
|---|---|
void |
clear()
Removes all CellInfo objects from container. |
RolapResult.CellInfo |
create(int[] pos)
Creates a new CellInfo object, adds it to the container a location pos and returns it. |
RolapResult.CellInfo |
lookup(int[] pos)
Gets the CellInfo object at the location pos. |
int |
size()
Returns the number of CellInfo objects in this container. |
void |
trimToSize()
Reduces the size of the internal data structures needed to support the current entries. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
RolapResult.CellInfoMap(CellKey point)
point - Cell position| Method Detail |
|---|
public int size()
RolapResult.CellInfoContainer
size in interface RolapResult.CellInfoContainerpublic void trimToSize()
RolapResult.CellInfoContainer
trimToSize in interface RolapResult.CellInfoContainerpublic void clear()
RolapResult.CellInfoContainer
clear in interface RolapResult.CellInfoContainerpublic RolapResult.CellInfo create(int[] pos)
RolapResult.CellInfoContainerpos and returns it.
create in interface RolapResult.CellInfoContainerpos - where to store CellInfo object.
public RolapResult.CellInfo lookup(int[] pos)
RolapResult.CellInfoContainerpos.
lookup in interface RolapResult.CellInfoContainerpos - where to find the CellInfo object.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||