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