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,
java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> taggedEventTypes,
java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> arrayEventTypes,
java.util.LinkedHashSet<java.lang.String> allTags,
ViewSpec[] viewSpecs,
java.lang.String optionalStreamName,
StreamSpecOptions streamSpecOptions,
boolean suppressSameEventMatches,
boolean discardPartialsOnMatch)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.util.LinkedHashSet<java.lang.String> |
getAllTags() |
java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.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() |
java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> |
getTaggedEventTypes()
Returns event types tagged in the pattern expression.
|
boolean |
isDiscardPartialsOnMatch() |
boolean |
isSuppressSameEventMatches() |
getOptionalStreamName, getOptions, getViewSpecs
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOptionalStreamName, getOptions, getViewSpecs
public PatternStreamSpecCompiled(EvalFactoryNode evalFactoryNode, java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> taggedEventTypes, java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> arrayEventTypes, java.util.LinkedHashSet<java.lang.String> allTags, ViewSpec[] viewSpecs, java.lang.String optionalStreamName, StreamSpecOptions streamSpecOptions, boolean suppressSameEventMatches, boolean discardPartialsOnMatch)
evalFactoryNode
- - pattern evaluation node representing pattern statementviewSpecs
- - specifies what view to use to derive datataggedEventTypes
- - event tags and their types as specified in the pattern, copied to allow original collection to changearrayEventTypes
- - event tags and their types as specified in the pattern for any repeat-expressions that generate an array of eventsoptionalStreamName
- - stream name, or null if none suppliedstreamSpecOptions
- - additional stream options such as unidirectional stream in a join, applicable for joinspublic EvalFactoryNode getEvalFactoryNode()
public java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> getTaggedEventTypes()
public java.util.LinkedHashMap<java.lang.String,Pair<EventType,java.lang.String>> getArrayEventTypes()
public MatchedEventMapMeta getMatchedEventMapMeta()
public java.util.LinkedHashSet<java.lang.String> getAllTags()
public boolean isSuppressSameEventMatches()
public boolean isDiscardPartialsOnMatch()