public abstract class Metric extends Object implements Expressible
| Constructor and Description |
|---|
Metric() |
| Modifier and Type | Method and Description |
|---|---|
abstract String[] |
getColumns() |
String |
getFunctionName() |
String |
getIdentifier() |
UUID |
getMetricNodeId() |
abstract Number |
getValue() |
abstract Metric |
newInstance() |
void |
setFunctionName(String functionName) |
void |
setIdentifier(String... identifierParts) |
void |
setIdentifier(String identifier) |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
abstract void |
update(Tuple tuple) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoExpressionpublic String getFunctionName()
public void setFunctionName(String functionName)
public String getIdentifier()
public void setIdentifier(String identifier)
public void setIdentifier(String... identifierParts)
public Explanation toExplanation(StreamFactory factory) throws IOException
ExpressibletoExplanation in interface Expressiblefactory - Stream factory for this, contains information about the function nameIOException - throw on any errorpublic UUID getMetricNodeId()
public abstract Number getValue()
public abstract void update(Tuple tuple)
public abstract Metric newInstance()
public abstract String[] getColumns()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.