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