|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExprTimePeriod
Expression representing a time period.
Child nodes to this expression carry the actual parts and must return a numeric value.
Method Summary | |
---|---|
ExprTimePeriodEvalDeltaConst |
constEvaluator(ExprEvaluatorContext context)
|
double |
evaluateAsSeconds(EventBean[] eventsPerStream,
boolean newData,
ExprEvaluatorContext context)
|
TimePeriod |
evaluateGetTimePeriod(EventBean[] eventsPerStream,
boolean newData,
ExprEvaluatorContext context)
|
boolean |
hasVariable()
|
boolean |
isConstantResult()
Returns true if the expression node's evaluation value doesn't depend on any events data, as must be determined at validation time, which is bottom-up and therefore reliably allows each node to determine constant value. |
boolean |
isHasDay()
Indicator whether the time period has a day part child expression. |
boolean |
isHasHour()
Indicator whether the time period has a hour part child expression. |
boolean |
isHasMillisecond()
Indicator whether the time period has a millisecond part child expression. |
boolean |
isHasMinute()
Indicator whether the time period has a minute part child expression. |
boolean |
isHasMonth()
Indicator whether the time period has a month part child expression. |
boolean |
isHasSecond()
Indicator whether the time period has a second part child expression. |
boolean |
isHasWeek()
Indicator whether the time period has a week part child expression. |
boolean |
isHasYear()
Indicator whether the time period has a year part child expression. |
ExprTimePeriodEvalDeltaNonConst |
nonconstEvaluator()
|
Methods inherited from interface com.espertech.esper.epl.expression.core.ExprNode |
---|
accept, accept, acceptChildnodes, addChildNode, addChildNodes, equalsNode, getChildNodes, getExprEvaluator, getPrecedence, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL |
Methods inherited from interface com.espertech.esper.epl.expression.core.ExprValidator |
---|
validate |
Method Detail |
---|
boolean hasVariable()
ExprTimePeriodEvalDeltaConst constEvaluator(ExprEvaluatorContext context)
ExprTimePeriodEvalDeltaNonConst nonconstEvaluator()
double evaluateAsSeconds(EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext context)
TimePeriod evaluateGetTimePeriod(EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext context)
boolean isHasDay()
boolean isHasHour()
boolean isHasMinute()
boolean isHasSecond()
boolean isHasMillisecond()
boolean isHasYear()
boolean isHasMonth()
boolean isHasWeek()
boolean isConstantResult()
ExprNode
isConstantResult
in interface ExprNode
|
© 2006-2016 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |