public class MaxMetric extends Metric implements Serializable
| Constructor and Description |
|---|
MaxMetric(StreamExpression expression,
StreamFactory factory) |
MaxMetric(String columnName) |
| Modifier and Type | Method and Description |
|---|---|
double |
getValue() |
Metric |
newInstance() |
StreamExpressionParameter |
toExpression(StreamFactory factory) |
void |
update(Tuple tuple) |
getFunctionName, getIdentifier, setFunctionName, setIdentifier, setIdentifierpublic static final String MAX
public MaxMetric(String columnName)
public MaxMetric(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic Metric newInstance()
newInstance in class Metricpublic StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
toExpression in interface ExpressibleIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.