@InterfaceAudience.Public @InterfaceStability.Stable public class LongValueMax extends Object implements ValueAggregator<String>
| Constructor and Description |
|---|
LongValueMax()
the default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNextValue(long newVal)
add a value to the aggregator
|
void |
addNextValue(Object val)
add a value to the aggregator
|
ArrayList<String> |
getCombinerOutput() |
String |
getReport() |
long |
getVal() |
void |
reset()
reset the aggregator
|
public void addNextValue(Object val)
addNextValue in interface ValueAggregator<String>val - an object whose string representation represents a long value.public void addNextValue(long newVal)
newVal - a long value.public long getVal()
public String getReport()
getReport in interface ValueAggregator<String>public void reset()
reset in interface ValueAggregator<String>public ArrayList<String> getCombinerOutput()
getCombinerOutput in interface ValueAggregator<String>Copyright © 2017 Apache Software Foundation. All rights reserved.