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