public abstract class Metric extends Object implements Expressible
Modifier and Type | Field and Description |
---|---|
boolean |
outputLong |
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, wait
toExpression
public 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
Expressible
toExplanation
in interface Expressible
factory
- 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-2017 Apache Software Foundation. All Rights Reserved.