Package mondrian.rolap
Class CellKey.Generator
java.lang.Object
mondrian.rolap.CellKey.Generator
- Enclosing interface:
- CellKey
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getOffset
(int[] ordinals, int[] axisMultipliers) static CellKey
newCellKey
(int size) Creates a CellKey with a given number of axes.static CellKey
newCellKey
(int[] pos) Creates a CellKey populated with the given coordinates.
-
Constructor Details
-
Generator
public Generator()
-
-
Method Details
-
newCellKey
Creates a CellKey with a given number of axes.- Parameters:
size
- Number of axes- Returns:
- new CellKey
-
newCellKey
Creates a CellKey populated with the given coordinates.- Parameters:
pos
- Coordinate array- Returns:
- CellKey
-
getOffset
public static int getOffset(int[] ordinals, int[] axisMultipliers)
-