public class StdMetric extends Metric
outputLong| Constructor and Description |
|---|
StdMetric(StreamExpression expression,
StreamFactory factory) |
StdMetric(String columnName) |
StdMetric(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, toExplanationpublic StdMetric(String columnName)
public StdMetric(String columnName, boolean outputLong)
public StdMetric(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic Metric newInstance()
newInstance in class Metricpublic String[] getColumns()
getColumns in class Metricpublic StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
IOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.