Package org.gbif.api.model.metrics.cube
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
-
ClassesClassDescriptionDimension<T>A typed dimension to a cube, which is constructed with a unique key.The occurrence cube dimension definitions and the way in which they are rolled up into counts.Provides building of addresses for reading the cube.A rollup defines an addressable count that is maintained for a set of dimensions.