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