net.esper.eql.spec
Class PatternStreamSpecCompiled
java.lang.Object
net.esper.eql.spec.StreamSpecBase
net.esper.eql.spec.PatternStreamSpecCompiled
- All Implemented Interfaces:
- StreamSpec, StreamSpecCompiled, MetaDefItem
public class PatternStreamSpecCompiled
- extends StreamSpecBase
- implements StreamSpecCompiled
Specification for building an event stream out of a pattern statement and views staggered onto the
pattern statement.
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternStreamSpecCompiled
public PatternStreamSpecCompiled(EvalNode evalNode,
Map<String,EventType> taggedEventTypes,
List<ViewSpec> viewSpecs,
String optionalStreamName)
- Ctor.
- Parameters:
evalNode
- - 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 changeoptionalStreamName
- - stream name, or null if none supplied
getEvalNode
public EvalNode getEvalNode()
- Returns the pattern expression evaluation node for the top pattern operator.
- Returns:
- parent pattern expression node
getTaggedEventTypes
public Map<String,EventType> getTaggedEventTypes()
- Returns event types tagged in the pattern expression.
- Returns:
- map of tag and event type tagged in pattern expression