Package org.n52.io.response.dataset
Class AggregationOutput<V extends AbstractValue<?>>
java.lang.Object
org.n52.io.response.SelfSerializedOutput
org.n52.io.response.dataset.AggregationOutput<V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAvg()getCount()getMax()getMin()booleanisEmpty()setAvg(OptionalOutput<BigDecimal> avg) setCount(OptionalOutput<Long> count) setMax(OptionalOutput<V> max) setMin(OptionalOutput<V> min) Methods inherited from class org.n52.io.response.SelfSerializedOutput
getIfSerialized, getIfSerializedCollection, getIfSerializedMap, getIfSet, getIfSetCollection, getIfSetMap, isSet, resolvesToNonNullValue
-
Constructor Details
-
AggregationOutput
public AggregationOutput()
-
-
Method Details
-
getMin
-
setMin
-
getMax
-
setMax
-
getCount
- Returns:
- the count
-
setCount
- Parameters:
count- the count to set- Returns:
- this
-
getAvg
- Returns:
- the avg
-
setAvg
- Parameters:
avg- the avg to set- Returns:
- this
-
isEmpty
public boolean isEmpty()
-