AggregationCubeDescriptor aggCube = (AggregationCubeDescriptor)DataUtils
.stringToObject(context.getConfiguration()
.get(OLAPEngineConstants.JOB_CONF_PROP_AGG_CUBE_DESCRIPTOR));
aggDimensionIndexes = new int[aggCube.getDimensions().size()];
for(int i = 0; i < aggDimensionIndexes.length; i ++) {
CubeDimension aggDimension = aggCube.getDimensions().get(i);
for(int j = 0; j < dataCube.getDimensions().size(); j ++) {
CubeDimension dataDimension = dataCube.getDimensions().get(j);
if(aggDimension.getName().equals(dataDimension.getName())) {
aggDimensionIndexes[i] = j;
}
}
}
keyOutN = aggDimensionIndexes.length;