public final class FilterSpecParamExprNode extends FilterSpecParam
FilterSpecCompiled
filter specification.EMPTY_PARAM_ARRAY
Constructor and Description |
---|
FilterSpecParamExprNode(FilterSpecLookupable lookupable,
FilterOperator filterOperator,
ExprNode exprNode,
java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> taggedEventTypes,
java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> arrayEventTypes,
VariableService variableService,
EventAdapterService eventAdapterService,
ConfigurationInformation configurationInformation,
java.lang.String statementName,
boolean hasSubquery)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ExprNode |
getExprNode()
Returns the expression node of the boolean expression this filter parameter represents.
|
ExprNodeAdapterBase |
getFilterValue(MatchedEventMap matchedEvents,
ExprEvaluatorContext exprEvaluatorContext)
Return the filter parameter constant to filter for.
|
java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> |
getTaggedEventTypes()
Returns the map of tag/stream names to event types that the filter expressions map use (for patterns)
|
int |
hashCode() |
java.lang.String |
toString() |
getFilterOperator, getLookupable, toArray
public FilterSpecParamExprNode(FilterSpecLookupable lookupable, FilterOperator filterOperator, ExprNode exprNode, java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> taggedEventTypes, java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> arrayEventTypes, VariableService variableService, EventAdapterService eventAdapterService, ConfigurationInformation configurationInformation, java.lang.String statementName, boolean hasSubquery) throws java.lang.IllegalArgumentException
lookupable
- is the lookup-ablefilterOperator
- is expected to be the BOOLEAN_EXPR operatorexprNode
- represents the boolean expressiontaggedEventTypes
- is null if the expression doesn't need other streams, or is filled with a ordered list of stream names and typesarrayEventTypes
- is a map of name tags and event type per tag for repeat-expressions that generate an array of eventsvariableService
- - provides access to variableseventAdapterService
- for creating event types and event beansjava.lang.IllegalArgumentException
- for illegal argspublic ExprNode getExprNode()
public java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> getTaggedEventTypes()
public final ExprNodeAdapterBase getFilterValue(MatchedEventMap matchedEvents, ExprEvaluatorContext exprEvaluatorContext)
FilterSpecParam
getFilterValue
in class FilterSpecParam
matchedEvents
- is the prior results that can be used to determine filter parameterspublic final java.lang.String toString()
toString
in class FilterSpecParam
public boolean equals(java.lang.Object obj)
equals
in class FilterSpecParam
public int hashCode()
hashCode
in class FilterSpecParam