Class OutputConditionExpressionFactory
java.lang.Object
com.espertech.esper.common.internal.epl.output.condition.OutputConditionExpressionFactory
- All Implemented Interfaces:
StatementReadyCallback
,OutputConditionFactory
public class OutputConditionExpressionFactory
extends Object
implements OutputConditionFactory, StatementReadyCallback
Output condition for output rate limiting that handles when-then expressions for controlling output.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EPTypeClass
protected int
protected StateMgmtSetting
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Variable[]
instantiateOutputCondition
(AgentInstanceContext agentInstanceContext, OutputCallback outputCallback) boolean
void
ready
(StatementContext statementContext, ModuleIncidentals moduleIncidentals, boolean recovery) void
setAndWhenTerminatedExpressionNodeEval
(ExprEvaluator andWhenTerminatedExpressionNodeEval) void
setScheduleCallbackId
(int scheduleCallbackId) void
setStartConditionOnCreation
(boolean startConditionOnCreation) void
setStateMgmtSetting
(StateMgmtSetting stateMgmtSetting) void
setUsingBuiltinProperties
(boolean usingBuiltinProperties) void
setVariableReadWritePackage
(VariableReadWritePackage variableReadWritePackage) void
setVariableReadWritePackageAfterTerminated
(VariableReadWritePackage variableReadWritePackageAfterTerminated) void
setVariables
(Variable[] variables) void
setWhenExpressionNodeEval
(ExprEvaluator whenExpressionNodeEval)
-
Field Details
-
EPTYPE
-
scheduleCallbackId
protected int scheduleCallbackId -
stateMgmtSetting
-
-
Constructor Details
-
OutputConditionExpressionFactory
public OutputConditionExpressionFactory()
-
-
Method Details
-
setWhenExpressionNodeEval
-
setAndWhenTerminatedExpressionNodeEval
public void setAndWhenTerminatedExpressionNodeEval(ExprEvaluator andWhenTerminatedExpressionNodeEval) -
setStartConditionOnCreation
public void setStartConditionOnCreation(boolean startConditionOnCreation) -
setUsingBuiltinProperties
public void setUsingBuiltinProperties(boolean usingBuiltinProperties) -
setScheduleCallbackId
public void setScheduleCallbackId(int scheduleCallbackId) -
getWhenExpressionNodeEval
-
getAndWhenTerminatedExpressionNodeEval
-
isStartConditionOnCreation
public boolean isStartConditionOnCreation() -
getBuiltinPropertiesEventType
-
getVariableReadWritePackage
-
getVariableReadWritePackageAfterTerminated
-
setVariableReadWritePackage
-
setVariableReadWritePackageAfterTerminated
public void setVariableReadWritePackageAfterTerminated(VariableReadWritePackage variableReadWritePackageAfterTerminated) -
getVariables
-
setVariables
-
ready
public void ready(StatementContext statementContext, ModuleIncidentals moduleIncidentals, boolean recovery) - Specified by:
ready
in interfaceStatementReadyCallback
-
instantiateOutputCondition
public OutputCondition instantiateOutputCondition(AgentInstanceContext agentInstanceContext, OutputCallback outputCallback) - Specified by:
instantiateOutputCondition
in interfaceOutputConditionFactory
-
getScheduleCallbackId
public int getScheduleCallbackId() -
getStateMgmtSetting
-
setStateMgmtSetting
-