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