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