public abstract class TemporalEvaluator extends ComplexEvaluator
constructingFactory, nodeId, serialVersionUID, streamContext, subEvaluators| Constructor and Description |
|---|
TemporalEvaluator(StreamExpression expression,
StreamFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(Tuple tuple) |
abstract Object |
evaluateDate(TemporalAccessor aDate) |
abstract String |
getFunction() |
protected Instant |
getInstant(String dateStr) |
Explanation |
toExplanation(StreamFactory factory)
Returns an explanation about the stream object
|
StreamExpressionParameter |
toExpression(StreamFactory factory) |
getStreamContext, setStreamContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluateOverContextpublic TemporalEvaluator(StreamExpression expression, StreamFactory factory) throws IOException
IOExceptionpublic Object evaluate(Tuple tuple) throws IOException
IOExceptionpublic abstract Object evaluateDate(TemporalAccessor aDate) throws IOException
IOExceptionpublic abstract String getFunction()
protected Instant getInstant(String dateStr) throws IOException
IOExceptionpublic StreamExpressionParameter toExpression(StreamFactory factory) throws IOException
toExpression in interface ExpressibletoExpression in class ComplexEvaluatorIOExceptionpublic Explanation toExplanation(StreamFactory factory) throws IOException
ExpressibletoExplanation in interface ExpressibletoExplanation in class ComplexEvaluatorfactory - Stream factory for this, contains information about the function nameIOException - throw on any errorCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.