com.espertech.esper.epl.spec
Class MatchRecognizeInterval

java.lang.Object
  extended by com.espertech.esper.epl.spec.MatchRecognizeInterval
All Implemented Interfaces:
MetaDefItem, java.io.Serializable

public class MatchRecognizeInterval
extends java.lang.Object
implements MetaDefItem, java.io.Serializable

Interval specification within match_recognize.

See Also:
Serialized Form

Constructor Summary
MatchRecognizeInterval(ExprTimePeriod timePeriodExpr, boolean orTerminated)
          Ctor.
 
Method Summary
 long getScheduleBackwardDelta(long fromTime, AgentInstanceContext agentInstanceContext)
          Returns the number of milliseconds.
 long getScheduleForwardDelta(long fromTime, AgentInstanceContext agentInstanceContext)
          Returns the number of milliseconds.
 ExprTimePeriod getTimePeriodExpr()
          Returns the time period.
 boolean isOrTerminated()
           
 void validate(ExprValidationContext validationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchRecognizeInterval

public MatchRecognizeInterval(ExprTimePeriod timePeriodExpr,
                              boolean orTerminated)
Ctor.

Parameters:
timePeriodExpr - time period
Method Detail

getTimePeriodExpr

public ExprTimePeriod getTimePeriodExpr()
Returns the time period.

Returns:
time period

getScheduleForwardDelta

public long getScheduleForwardDelta(long fromTime,
                                    AgentInstanceContext agentInstanceContext)
Returns the number of milliseconds.

Returns:
msec

getScheduleBackwardDelta

public long getScheduleBackwardDelta(long fromTime,
                                     AgentInstanceContext agentInstanceContext)
Returns the number of milliseconds.

Returns:
msec

isOrTerminated

public boolean isOrTerminated()

validate

public void validate(ExprValidationContext validationContext)
              throws ExprValidationException
Throws:
ExprValidationException

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com