public class PatternStreamSpecCompiled extends StreamSpecBase implements StreamSpecCompiled
The pattern statement is represented by the top EvalNode evaluation node. A pattern statement contains tagged events (i.e. a=A -> b=B). Thus the resulting event type is has properties "a" and "b" of the type of A and B.
EMPTY_STREAM_ARRAY
Constructor and Description |
---|
PatternStreamSpecCompiled(EvalFactoryNode evalFactoryNode,
LinkedHashMap<String,Pair<EventType,String>> taggedEventTypes,
LinkedHashMap<String,Pair<EventType,String>> arrayEventTypes,
LinkedHashSet<String> allTags,
ViewSpec[] viewSpecs,
String optionalStreamName,
StreamSpecOptions streamSpecOptions,
boolean suppressSameEventMatches,
boolean discardPartialsOnMatch) |
Modifier and Type | Method and Description |
---|---|
LinkedHashSet<String> |
getAllTags() |
LinkedHashMap<String,Pair<EventType,String>> |
getArrayEventTypes()
Returns event types tagged in the pattern expression under a repeat-operator.
|
EvalFactoryNode |
getEvalFactoryNode()
Returns the pattern expression evaluation node for the top pattern operator.
|
MatchedEventMapMeta |
getMatchedEventMapMeta() |
LinkedHashMap<String,Pair<EventType,String>> |
getTaggedEventTypes()
Returns event types tagged in the pattern expression.
|
boolean |
isDiscardPartialsOnMatch() |
boolean |
isSuppressSameEventMatches() |
getOptionalStreamName, getOptions, getViewSpecs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOptionalStreamName, getOptions, getViewSpecs
public PatternStreamSpecCompiled(EvalFactoryNode evalFactoryNode, LinkedHashMap<String,Pair<EventType,String>> taggedEventTypes, LinkedHashMap<String,Pair<EventType,String>> arrayEventTypes, LinkedHashSet<String> allTags, ViewSpec[] viewSpecs, String optionalStreamName, StreamSpecOptions streamSpecOptions, boolean suppressSameEventMatches, boolean discardPartialsOnMatch)
public EvalFactoryNode getEvalFactoryNode()
public LinkedHashMap<String,Pair<EventType,String>> getTaggedEventTypes()
public LinkedHashMap<String,Pair<EventType,String>> getArrayEventTypes()
public MatchedEventMapMeta getMatchedEventMapMeta()
public LinkedHashSet<String> getAllTags()
public boolean isSuppressSameEventMatches()
public boolean isDiscardPartialsOnMatch()