Class EvalEveryDistinctForgeNode
java.lang.Object
com.espertech.esper.common.internal.epl.pattern.core.EvalForgeNodeBase
com.espertech.esper.common.internal.epl.pattern.everydistinct.EvalEveryDistinctForgeNode
- All Implemented Interfaces:
EvalForgeNode
This class represents an 'every-distinct' operator in the evaluation tree representing an event expression.
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.pattern.core.EvalForgeNodeBase
audit, factoryNodeId
-
Constructor Summary
ConstructorDescriptionEvalEveryDistinctForgeNode
(boolean attachPatternText, List<ExprNode> expressions) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectSelfFilterAndSchedule
(Function<Short, CallbackAttribution> callbackAttribution, List<FilterSpecTracked> filters, List<ScheduleHandleTracked> schedules) Returns distinct expressions.Returns all expressions.Returns precendence.protected void
inlineCodegen
(CodegenMethod method, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) boolean
boolean
protected String
void
setConvertor
(MatchedEventConvertorForge convertor) Sets the convertor for matching events to events-per-stream.void
setDistinctExpressions
(List<ExprNode> distinctExpressions, MultiKeyClassRef distincMultiKey, TimePeriodComputeForge timePeriodComputeForge, ExprNode expiryTimeExp) void
toPrecedenceFreeEPL
(StringWriter writer) final String
toString()
protected EPTypeClass
Methods inherited from class com.espertech.esper.common.internal.epl.pattern.core.EvalForgeNodeBase
addChildNode, addChildNodes, getChildNodes, getFactoryNodeId, isAudit, makeCodegen, setAudit, setFactoryNodeId, setStateMgmtSettings, toEPL
-
Constructor Details
-
EvalEveryDistinctForgeNode
Ctor.- Parameters:
expressions
- distinct-value expressionsattachPatternText
- whether to attach EPL subexpression text
-
-
Method Details
-
typeOfFactory
- Specified by:
typeOfFactory
in classEvalForgeNodeBase
-
nameOfFactory
- Specified by:
nameOfFactory
in classEvalForgeNodeBase
-
inlineCodegen
protected void inlineCodegen(CodegenMethod method, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) - Specified by:
inlineCodegen
in classEvalForgeNodeBase
-
collectSelfFilterAndSchedule
public void collectSelfFilterAndSchedule(Function<Short, CallbackAttribution> callbackAttribution, List<FilterSpecTracked> filters, List<ScheduleHandleTracked> schedules) -
toString
-
getExpressions
Returns all expressions.- Returns:
- expressions
-
getDistinctExpressions
Returns distinct expressions.- Returns:
- expressions
-
setConvertor
Sets the convertor for matching events to events-per-stream.- Parameters:
convertor
- convertor
-
setDistinctExpressions
public void setDistinctExpressions(List<ExprNode> distinctExpressions, MultiKeyClassRef distincMultiKey, TimePeriodComputeForge timePeriodComputeForge, ExprNode expiryTimeExp) -
isFilterChildNonQuitting
public boolean isFilterChildNonQuitting() -
isStateful
public boolean isStateful() -
toPrecedenceFreeEPL
- Specified by:
toPrecedenceFreeEPL
in classEvalForgeNodeBase
-
getPrecedence
Description copied from interface:EvalForgeNode
Returns precendence.- Returns:
- precendence
-
appliesTo
- Specified by:
appliesTo
in classEvalForgeNodeBase
-
getDistinctMultiKey
-