|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.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 positionMethod Detail |
---|
public int size()
RolapResult.CellInfoContainer
size
in interface RolapResult.CellInfoContainer
public void trimToSize()
RolapResult.CellInfoContainer
trimToSize
in interface RolapResult.CellInfoContainer
public void clear()
RolapResult.CellInfoContainer
clear
in interface RolapResult.CellInfoContainer
public RolapResult.CellInfo create(int[] pos)
RolapResult.CellInfoContainer
pos
and returns it.
create
in interface RolapResult.CellInfoContainer
pos
- where to store CellInfo object.
public RolapResult.CellInfo lookup(int[] pos)
RolapResult.CellInfoContainer
pos
.
lookup
in interface RolapResult.CellInfoContainer
pos
- where to find the CellInfo object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |