private void createCube(DataStore dataStore, CubeDefinition definition){
try {
definition.addDimensions();
definition.addMetrics();
Cube cube = dataStore.createCube(definition.getName(), definition.getTimeScale());
addDimensions(cube, dataStore, definition.getDimensionDefinitions());
addMetrics(cube, dataStore, definition.getMetricDefinitions());
}
catch (Exception e) {
}