Package mondrian.rolap
Class CellKey.Generator
- java.lang.Object
-
- mondrian.rolap.CellKey.Generator
-
-
Constructor Summary
Constructors Constructor Description Generator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetOffset(int[] ordinals, int[] axisMultipliers)static CellKeynewCellKey(int size)Creates a CellKey with a given number of axes.static CellKeynewCellKey(int[] pos)Creates a CellKey populated with the given coordinates.
-
-
-
Method Detail
-
newCellKey
public static CellKey newCellKey(int size)
Creates a CellKey with a given number of axes.- Parameters:
size- Number of axes- Returns:
- new CellKey
-
newCellKey
public static CellKey newCellKey(int[] pos)
Creates a CellKey populated with the given coordinates.- Parameters:
pos- Coordinate array- Returns:
- CellKey
-
getOffset
public static int getOffset(int[] ordinals, int[] axisMultipliers)
-
-