public class FieldEvaluator extends SimpleEvaluator
nodeId, streamContext
Constructor and Description |
---|
FieldEvaluator(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 FieldEvaluator(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.