|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.rolap.CellKey.Zero
public static class CellKey.Zero
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface mondrian.rolap.CellKey |
|---|
CellKey.Generator, CellKey.Many, CellKey.One, CellKey.Three, CellKey.Two, CellKey.Zero |
| Field Summary | |
|---|---|
static CellKey.Zero |
INSTANCE
|
| Method Summary | |
|---|---|
CellKey.Zero |
copy()
Returns a mutable copy of this CellKey. |
boolean |
equals(java.lang.Object o)
|
int |
getAxis(int axis)
Returns the axisth axis value. |
int[] |
getOrdinals()
Returns the axis keys as an array. |
int |
hashCode()
|
void |
setAxis(int axis,
int value)
Sets a given axis. |
void |
setOrdinals(int[] pos)
This method make a copy of the int array parameter. |
int |
size()
Returns the number of axes. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final CellKey.Zero INSTANCE
| Method Detail |
|---|
public CellKey.Zero copy()
CellKey
copy in interface CellKeypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int size()
CellKey
size in interface CellKeypublic int[] getOrdinals()
CellKeyNote: caller should treat the array as immutable. If the contents of the array are modified, behavior is unspecified.
getOrdinals in interface CellKeypublic void setOrdinals(int[] pos)
CellKey
setOrdinals in interface CellKeypos - Array of axis keyspublic int getAxis(int axis)
CellKeyaxisth axis value.
getAxis in interface CellKeyaxis - Axis ordinal
axisth axis
public void setAxis(int axis,
int value)
CellKey
setAxis in interface CellKeyaxis - Axis ordinalvalue - Value
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||