IModelConfigurer interface.
Prerequisites
Before configuring cubes, make sure:- The database is configured (see configure the database)
- Basic Atoti concepts are understood (cubes, dimensions, hierarchies, measures)
What is the IModelConfigurer interface?
Configuration is handled through a Spring bean that implements theIModelConfigurer interface.
The configureCubes() method receives an ICubeManagerConfigurator that defines cubes, dimensions, and measures. See the Javadoc for the complete list of available methods.
How to create a cube
UseICubeManagerConfigurator.addCube() to create a cube. Specify the cube name and the fact table. The method returns an ICubeConfigurator for configuring dimensions and measures.
How to access an existing cube
UseICubeManagerConfigurator.cube() to get the configurator for an existing cube. This is useful when modifying cubes from a predefined configuration.
Related pages
- Create dimensions and hierarchies: dimension types, hierarchy definitions, and relationship types
- Create measures: measure definitions, aggregations, and measure factories