public class EvalFilterForgeNode extends EvalForgeNodeBase
audit, factoryNodeId
Constructor and Description |
---|
EvalFilterForgeNode(boolean attachPatternText,
FilterSpecRaw filterSpecification,
String eventAsName,
Integer consumptionLevel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
collectSelfFilterAndSchedule(List<FilterSpecCompiled> filters,
List<ScheduleHandleCallbackProvider> schedules) |
Integer |
getConsumptionLevel() |
String |
getEventAsName()
Returns the tag for any matching events to this filter, or null since tags are optional.
|
int |
getEventAsTagNumber() |
FilterSpecCompiled |
getFilterSpecCompiled()
Returns filter specification.
|
PatternExpressionPrecedenceEnum |
getPrecedence()
Returns precendence.
|
FilterSpecRaw |
getRawFilterSpec()
Returns the raw (unoptimized/validated) filter definition.
|
protected void |
inlineCodegen(CodegenMethod method,
SAIFFInitializeSymbol symbols,
CodegenClassScope classScope) |
boolean |
isFilterChildNonQuitting() |
boolean |
isStateful() |
protected String |
nameOfFactory() |
void |
setEventAsTagNumber(int eventAsTagNumber) |
void |
setFilterSpec(FilterSpecCompiled filterSpec)
Sets a validated and optimized filter specification
|
void |
toPrecedenceFreeEPL(StringWriter writer) |
String |
toString() |
protected Class |
typeOfFactory() |
addChildNode, addChildNodes, getChildNodes, getFactoryNodeId, isAudit, makeCodegen, setAudit, setFactoryNodeId, toEPL
public EvalFilterForgeNode(boolean attachPatternText, FilterSpecRaw filterSpecification, String eventAsName, Integer consumptionLevel)
attachPatternText
- whether to attach EPL subexpression textfilterSpecification
- specifies the filter propertieseventAsName
- is the name to use for adding matching events to the MatchedEventMap
table used when indicating truth value of true.consumptionLevel
- when using @consumepublic FilterSpecRaw getRawFilterSpec()
public final FilterSpecCompiled getFilterSpecCompiled()
public void setFilterSpec(FilterSpecCompiled filterSpec)
filterSpec
- is the optimized filterpublic final String getEventAsName()
public Integer getConsumptionLevel()
public boolean isFilterChildNonQuitting()
public int getEventAsTagNumber()
public void setEventAsTagNumber(int eventAsTagNumber)
public boolean isStateful()
public void toPrecedenceFreeEPL(StringWriter writer)
toPrecedenceFreeEPL
in class EvalForgeNodeBase
public PatternExpressionPrecedenceEnum getPrecedence()
EvalForgeNode
protected Class typeOfFactory()
typeOfFactory
in class EvalForgeNodeBase
protected String nameOfFactory()
nameOfFactory
in class EvalForgeNodeBase
protected void inlineCodegen(CodegenMethod method, SAIFFInitializeSymbol symbols, CodegenClassScope classScope)
inlineCodegen
in class EvalForgeNodeBase
public void collectSelfFilterAndSchedule(List<FilterSpecCompiled> filters, List<ScheduleHandleCallbackProvider> schedules)
Copyright © 2005–2019. All rights reserved.