public class PatternStreamSpecRaw extends StreamSpecBase implements StreamSpecRaw
Modifier and Type | Class and Description |
---|---|
static class |
PatternStreamSpecRaw.FilterForFilterFactoryNodes |
Constructor and Description |
---|
PatternStreamSpecRaw(EvalFactoryNode evalFactoryNode,
ViewSpec[] viewSpecs,
java.lang.String optionalStreamName,
StreamSpecOptions streamSpecOptions,
boolean suppressSameEventMatches,
boolean discardPartialsOnMatch)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
PatternStreamSpecCompiled |
compile(StatementContext context,
java.util.Set<java.lang.String> eventTypeReferences,
boolean isInsertInto,
java.util.Collection<java.lang.Integer> assignedTypeNumberStack,
boolean isJoin,
boolean isContextDeclaration,
boolean isOnTrigger)
Compiles a raw stream specification consisting event type information and filter expressions
to an validated, optimized form for use with filter service
|
PatternStreamSpecCompiled |
compile(StatementContext context,
java.util.Set<java.lang.String> eventTypeReferences,
boolean isInsertInto,
java.util.Collection<java.lang.Integer> assignedTypeNumberStack,
MatchEventSpec priorTags,
java.util.Set<java.lang.String> priorAllTags,
boolean isJoin,
boolean isContextDeclaration,
boolean isOnTrigger) |
EvalFactoryNode |
getEvalFactoryNode()
Returns the pattern expression evaluation node for the top pattern operator.
|
boolean |
isDiscardPartialsOnMatch() |
boolean |
isSuppressSameEventMatches() |
getOptionalStreamName, getOptions, getViewSpecs
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOptionalStreamName, getOptions, getViewSpecs
public PatternStreamSpecRaw(EvalFactoryNode evalFactoryNode, 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 dataoptionalStreamName
- - stream name, or null if none suppliedstreamSpecOptions
- - additional options, such as unidirectional stream in a joinpublic EvalFactoryNode getEvalFactoryNode()
public PatternStreamSpecCompiled compile(StatementContext context, java.util.Set<java.lang.String> eventTypeReferences, boolean isInsertInto, java.util.Collection<java.lang.Integer> assignedTypeNumberStack, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger) throws ExprValidationException
StreamSpecRaw
compile
in interface StreamSpecRaw
context
- statement-level serviceseventTypeReferences
- event type names used by the statementisInsertInto
- true for insert-intoisJoin
- indicates whether a join or not a joinisContextDeclaration
- indicates whether declared as part of the context declarations, if anyExprValidationException
- to indicate validation errorspublic PatternStreamSpecCompiled compile(StatementContext context, java.util.Set<java.lang.String> eventTypeReferences, boolean isInsertInto, java.util.Collection<java.lang.Integer> assignedTypeNumberStack, MatchEventSpec priorTags, java.util.Set<java.lang.String> priorAllTags, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger) throws ExprValidationException
ExprValidationException
public boolean isSuppressSameEventMatches()
public boolean isDiscardPartialsOnMatch()