public final class FilterSpecCompiled extends Object
Constructor and Description |
---|
FilterSpecCompiled(EventType eventType,
String eventTypeName,
FilterSpecPlanForge filterParameters,
PropertyEvaluatorForge optionalPropertyEvaluator)
Constructor - validates parameter list against event type, throws exception if invalid
property names or mismatcing filter operators are found.
|
public FilterSpecCompiled(EventType eventType, String eventTypeName, FilterSpecPlanForge filterParameters, PropertyEvaluatorForge optionalPropertyEvaluator)
eventType
- is the event typefilterParameters
- is a list of filter parameterseventTypeName
- is the name of the event typeoptionalPropertyEvaluator
- optional if evaluating properties returned by filtered eventsIllegalArgumentException
- if validation invalidpublic void setFilterCallbackId(int filterCallbackId)
public final EventType getFilterForEventType()
public final FilterSpecPlanForge getParameters()
public String getFilterForEventTypeName()
public PropertyEvaluatorForge getOptionalPropertyEvaluator()
public EventType getResultEventType()
public boolean equalsTypeAndFilter(FilterSpecCompiled other)
other
- filter to compareprotected static FilterSpecPlanForge sortRemoveDups(FilterSpecPlanForge parameters)
protected static FilterSpecPlanPathForge sortRemoveDups(FilterSpecPlanPathForge parameters)
public CodegenMethod makeCodegen(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope)
public static List<FilterSpecParamExprNodeForge> makeExprNodeList(List<FilterSpecCompiled> filterSpecCompileds, List<FilterSpecParamExprNodeForge> additionalBooleanExpressions)
public void traverseFilterBooleanExpr(Consumer<FilterSpecParamExprNodeForge> consumer)
Copyright © 2005–2020. All rights reserved.