Package org.gbif.api.model.metrics.cube
Class Dimension<T>
java.lang.Object
org.gbif.api.model.metrics.cube.Dimension<T>
- Type Parameters:
T
- The value type supported for the dimension
A typed dimension to a cube, which is constructed with a unique key. This key defines the HTTP parameter name during
serialization, and the type is respected by the
ReadBuilder
during lookups.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Dimension
Force the provision of the key in construction, which should be unique for the cube.- Parameters:
key
- Which is used in the HTTP parameterstype
- For the dimension, stored to enable runtime checking where required
-
Dimension
public Dimension()Prefer use of the constructor taking the parameters over this method. This is provided to allow easy Jackson serialization.
-
-
Method Details