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