public class MaxAggregator extends AbstractAggregator<org.apache.hadoop.io.IntWritable,Vertex<?,?,org.apache.hadoop.io.IntWritable>>
| Constructor and Description |
|---|
MaxAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(Vertex<?,?,org.apache.hadoop.io.IntWritable> vertex,
org.apache.hadoop.io.IntWritable value)
Observes a value of a vertex after the compute method.
|
org.apache.hadoop.io.IntWritable |
getValue()
Gets the value of the aggregator.
|
aggregate, finalizeAggregation, getTimesAggregated, toStringpublic void aggregate(Vertex<?,?,org.apache.hadoop.io.IntWritable> vertex, org.apache.hadoop.io.IntWritable value)
AbstractAggregatoraggregate in interface Aggregator<org.apache.hadoop.io.IntWritable,Vertex<?,?,org.apache.hadoop.io.IntWritable>>aggregate in class AbstractAggregator<org.apache.hadoop.io.IntWritable,Vertex<?,?,org.apache.hadoop.io.IntWritable>>public org.apache.hadoop.io.IntWritable getValue()
AbstractAggregatorgetValue in interface Aggregator<org.apache.hadoop.io.IntWritable,Vertex<?,?,org.apache.hadoop.io.IntWritable>>getValue in class AbstractAggregator<org.apache.hadoop.io.IntWritable,Vertex<?,?,org.apache.hadoop.io.IntWritable>>Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.