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