new Aggregation(name, level)
Constructor.
Extends:
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | the unique name for this precision |
level |
number | a relative aggregation level value |
Extends
Members
-
level
-
Get the aggregate level value.
This is an alias for module:util~ComparableEnum#value.
-
value
-
Get the comparable value.
- Inherited From:
Methods
-
<static> enumValues()
-
Get the module:domain~Aggregations values.
-
compareTo(other)
-
Compare two ComparableEnum objects based on their
valuevalues.Parameters:
Name Type Description otherComparableEnum the object to compare to
- Inherited From:
Returns:
-1ifthis.valueis less thanother.value,1ifthis.valueis greater thanother.value,0otherwise (when the values are equal)- Type
- number