Package org.gbif.api.model.metrics.cube
Provides the classes necessary to construct read only requests to well defined cubes.
Cubes are defined with typed dimensions, and a
ReadBuilder
is supplied to help ensure types are respected
when constructing cube lookups. A typical usage might be as follows:
new ReadBuilder()
.at(OccurrenceCube.YEAR, 2012)
.at(OccurrenceCube.KINGDOM, Kingdom.ANIMALIA)
.build();
- Since:
- 0.1
-
Class Summary Class Description Dimension<T> A typed dimension to a cube, which is constructed with a unique key.OccurrenceCube The occurrence cube dimension definitions and the way in which they are rolled up into counts.ReadBuilder Provides building of addresses for reading the cube.Rollup A rollup defines an addressable count that is maintained for a set of dimensions.