public class MeanMetric extends Metric
outputLong
Constructor and Description |
---|
MeanMetric(StreamExpression expression,
StreamFactory factory) |
MeanMetric(String columnName) |
MeanMetric(String columnName,
boolean outputLong) |
Modifier and Type | Method and Description |
---|---|
String[] |
getColumns() |
Number |
getValue() |
Metric |
newInstance() |
StreamExpressionParameter |
toExpression(StreamFactory factory) |
void |
update(Tuple tuple) |
getFunctionName, getIdentifier, getMetricNodeId, setFunctionName, setIdentifier, setIdentifier, toExplanation
public MeanMetric(String columnName)
public MeanMetric(String columnName, boolean outputLong)
public MeanMetric(StreamExpression expression, StreamFactory factory) throws IOException
IOException
public Metric newInstance()
newInstance
in class Metric
public String[] getColumns()
getColumns
in class Metric
public StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.