public interface PatternContextFactory
Modifier and Type | Method and Description |
---|---|
PatternContext |
createContext(StatementContext statementContext,
int streamId,
EvalRootFactoryNode rootNode,
MatchedEventMapMeta matchedEventMapMeta,
boolean allowResilient)
Create a pattern context.
|
PatternAgentInstanceContext |
createPatternAgentContext(PatternContext patternContext,
AgentInstanceContext agentInstanceContext,
boolean hasConsumingFilter) |
PatternContext createContext(StatementContext statementContext, int streamId, EvalRootFactoryNode rootNode, MatchedEventMapMeta matchedEventMapMeta, boolean allowResilient)
statementContext
- is the statement information and servicesstreamId
- is the stream idrootNode
- is the pattern root nodeallowResilient
- indicator whether resilience is allowed or notmatchedEventMapMeta
- match metadataPatternAgentInstanceContext createPatternAgentContext(PatternContext patternContext, AgentInstanceContext agentInstanceContext, boolean hasConsumingFilter)