All Superinterfaces:
ExprNode, ExprNodeRenderable, ExprValidator
All Known Implementing Classes:
ExprTimePeriodImpl

public interface ExprTimePeriod extends ExprNode
Expression representing a time period.

Child nodes to this expression carry the actual parts and must return a numeric value.

  • Method Details

    • hasVariable

      boolean hasVariable()
    • getTimePeriodComputeForge

      TimePeriodComputeForge getTimePeriodComputeForge()
    • getTimePeriodEval

      TimePeriodEval getTimePeriodEval()
    • evaluateAsSeconds

      double evaluateAsSeconds(EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext context)
    • evaluateGetTimePeriod

      TimePeriod evaluateGetTimePeriod(EventBean[] eventsPerStream, boolean newData, ExprEvaluatorContext context)
    • isHasDay

      boolean isHasDay()
      Indicator whether the time period has a day part child expression.
      Returns:
      true for part present, false for not present
    • isHasHour

      boolean isHasHour()
      Indicator whether the time period has a hour part child expression.
      Returns:
      true for part present, false for not present
    • isHasMinute

      boolean isHasMinute()
      Indicator whether the time period has a minute part child expression.
      Returns:
      true for part present, false for not present
    • isHasSecond

      boolean isHasSecond()
      Indicator whether the time period has a second part child expression.
      Returns:
      true for part present, false for not present
    • isHasMillisecond

      boolean isHasMillisecond()
      Indicator whether the time period has a millisecond part child expression.
      Returns:
      true for part present, false for not present
    • isHasMicrosecond

      boolean isHasMicrosecond()
      Indicator whether the time period has a microsecond part child expression.
      Returns:
      true for part present, false for not present
    • isHasYear

      boolean isHasYear()
      Indicator whether the time period has a year part child expression.
      Returns:
      true for part present, false for not present
    • isHasMonth

      boolean isHasMonth()
      Indicator whether the time period has a month part child expression.
      Returns:
      true for part present, false for not present
    • isHasWeek

      boolean isHasWeek()
      Indicator whether the time period has a week part child expression.
      Returns:
      true for part present, false for not present
    • isConstantResult

      boolean isConstantResult()
    • evaluateGetTimePeriodCodegen

      CodegenExpression evaluateGetTimePeriodCodegen(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
    • evaluateAsSecondsCodegen

      CodegenExpression evaluateAsSecondsCodegen(CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
    • makeTimePeriodAnonymous

      CodegenExpression makeTimePeriodAnonymous(CodegenMethod method, CodegenClassScope classScope)