public class MeanMetric extends Metric
outputLong| 构造器和说明 |
|---|
MeanMetric(StreamExpression expression,
StreamFactory factory) |
MeanMetric(String columnName) |
MeanMetric(String columnName,
boolean outputLong) |
| 限定符和类型 | 方法和说明 |
|---|---|
String[] |
getColumns() |
Number |
getValue() |
Metric |
newInstance() |
StreamExpressionParameter |
toExpression(StreamFactory factory) |
void |
update(Tuple tuple) |
getFunctionName, getIdentifier, getMetricNodeId, setFunctionName, setIdentifier, setIdentifier, toExplanationpublic MeanMetric(String columnName)
public MeanMetric(String columnName, boolean outputLong)
public MeanMetric(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic Metric newInstance()
newInstance 在类中 Metricpublic String[] getColumns()
getColumns 在类中 Metricpublic StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
IOExceptionCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.