public class FieldValueEvaluator extends SourceEvaluator
nodeId, streamContext
Constructor and Description |
---|
FieldValueEvaluator(String fieldName) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Tuple tuple) |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
StreamExpressionParameter |
toExpression(StreamFactory factory) |
getStreamContext, setStreamContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluateOverContext
public FieldValueEvaluator(String fieldName)
public Object evaluate(Tuple tuple) throws IOException
IOException
public StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
IOException
public Explanation toExplanation(StreamFactory factory) throws IOException
Expressible
factory
- Stream factory for this, contains information about the function nameIOException
- throw on any errorCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.