public class LongDenseVectorSumAggregator extends BasicAggregator<LongDenseVector>
Constructor and Description |
---|
LongDenseVectorSumAggregator() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(LongDenseVector vector)
Add a new value.
|
LongDenseVector |
createInitialValue()
Return new aggregated value which is neutral to aggregate operation.
|
getAggregatedValue, reset, setAggregatedValue
public LongDenseVector createInitialValue()
Aggregator
public void aggregate(LongDenseVector vector)
Aggregator
vector
- Value to be aggregated.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.