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>
-
public class AggregationOutput<V extends AbstractValue<?>> extends SelfSerializedOutput
-
-
Constructor Summary
Constructors Constructor Description AggregationOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetAvg()LonggetCount()VgetMax()VgetMin()booleanisEmpty()AggregationOutput<V>setAvg(OptionalOutput<BigDecimal> avg)AggregationOutput<V>setCount(OptionalOutput<Long> count)AggregationOutput<V>setMax(OptionalOutput<V> max)AggregationOutput<V>setMin(OptionalOutput<V> min)-
Methods inherited from class org.n52.io.response.SelfSerializedOutput
getIfSerialized, getIfSerializedCollection, getIfSerializedMap, getIfSet, getIfSetCollection, getIfSetMap, isSet, resolvesToNonNullValue
-
-
-
-
Method Detail
-
getMin
public V getMin()
-
setMin
public AggregationOutput<V> setMin(OptionalOutput<V> min)
-
getMax
public V getMax()
-
setMax
public AggregationOutput<V> setMax(OptionalOutput<V> max)
-
getCount
public Long getCount()
- Returns:
- the count
-
setCount
public AggregationOutput<V> setCount(OptionalOutput<Long> count)
- Parameters:
count- the count to set- Returns:
- this
-
getAvg
public BigDecimal getAvg()
- Returns:
- the avg
-
setAvg
public AggregationOutput<V> setAvg(OptionalOutput<BigDecimal> avg)
- Parameters:
avg- the avg to set- Returns:
- this
-
isEmpty
public boolean isEmpty()
-
-