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, setAggregatedValuepublic LongSparseVector createInitialValue()
Aggregatorpublic void aggregate(LongSparseVector vector)
Aggregatorvector - Value to be aggregated.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.