public interface ExprTimePeriod extends ExprNode
Child nodes to this expression carry the actual parts and must return a numeric value.
Modifier and Type | Method and Description |
---|---|
double |
evaluateAsSeconds(EventBean[] eventsPerStream,
boolean newData,
ExprEvaluatorContext context) |
CodegenExpression |
evaluateAsSecondsCodegen(CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
TimePeriod |
evaluateGetTimePeriod(EventBean[] eventsPerStream,
boolean newData,
ExprEvaluatorContext context) |
CodegenExpression |
evaluateGetTimePeriodCodegen(CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
TimePeriodComputeForge |
getTimePeriodComputeForge() |
TimePeriodEval |
getTimePeriodEval() |
boolean |
hasVariable() |
boolean |
isConstantResult() |
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 |
isHasMicrosecond()
Indicator whether the time period has a microsecond 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.
|
CodegenExpression |
makeTimePeriodAnonymous(CodegenMethod method,
CodegenClassScope classScope) |
accept, accept, acceptChildnodes, addChildNode, addChildNodes, equalsNode, getChildNodes, getForge, getPrecedence, replaceUnlistedChildNode, setChildNode, setChildNodes
toEPL
validate
boolean hasVariable()
TimePeriodComputeForge getTimePeriodComputeForge()
TimePeriodEval getTimePeriodEval()
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 isHasMicrosecond()
boolean isHasYear()
boolean isHasMonth()
boolean isHasWeek()
boolean isConstantResult()
CodegenExpression evaluateGetTimePeriodCodegen(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
CodegenExpression evaluateAsSecondsCodegen(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
CodegenExpression makeTimePeriodAnonymous(CodegenMethod method, CodegenClassScope classScope)
Copyright © 2005–2018. All rights reserved.