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,
String optionalStreamName,
StreamSpecOptions streamSpecOptions,
boolean suppressSameEventMatches,
boolean discardPartialsOnMatch) |
Modifier and Type | Method and Description |
---|---|
PatternStreamSpecCompiled |
compile(StatementContext context,
Set<String> eventTypeReferences,
boolean isInsertInto,
Collection<Integer> assignedTypeNumberStack,
boolean isJoin,
boolean isContextDeclaration,
boolean isOnTrigger,
String optionalStreamName)
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,
Set<String> eventTypeReferences,
boolean isInsertInto,
Collection<Integer> assignedTypeNumberStack,
MatchEventSpec priorTags,
Set<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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOptionalStreamName, getOptions, getViewSpecs
public PatternStreamSpecRaw(EvalFactoryNode evalFactoryNode, ViewSpec[] viewSpecs, String optionalStreamName, StreamSpecOptions streamSpecOptions, boolean suppressSameEventMatches, boolean discardPartialsOnMatch)
public EvalFactoryNode getEvalFactoryNode()
public PatternStreamSpecCompiled compile(StatementContext context, Set<String> eventTypeReferences, boolean isInsertInto, Collection<Integer> assignedTypeNumberStack, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger, String optionalStreamName) throws ExprValidationException
StreamSpecRaw
compile
in interface StreamSpecRaw
context
- statement-level serviceseventTypeReferences
- event type names used by the statementisInsertInto
- true for insert-intoassignedTypeNumberStack
- for assigning nested type numbersisJoin
- indicates whether a join or not a joinisContextDeclaration
- indicates whether declared as part of the context declarations, if anyisOnTrigger
- indicator for on-triggeroptionalStreamName
- stream nameExprValidationException
- to indicate validation errorspublic PatternStreamSpecCompiled compile(StatementContext context, Set<String> eventTypeReferences, boolean isInsertInto, Collection<Integer> assignedTypeNumberStack, MatchEventSpec priorTags, Set<String> priorAllTags, boolean isJoin, boolean isContextDeclaration, boolean isOnTrigger) throws ExprValidationException
ExprValidationException
public boolean isSuppressSameEventMatches()
public boolean isDiscardPartialsOnMatch()