public class PatternContextFactoryDefault extends Object implements PatternContextFactory
Constructor and Description |
---|
PatternContextFactoryDefault() |
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) |
public PatternContext createContext(StatementContext statementContext, int streamId, EvalRootFactoryNode rootNode, MatchedEventMapMeta matchedEventMapMeta, boolean allowResilient)
PatternContextFactory
createContext
in interface PatternContextFactory
statementContext
- is the statement information and servicesstreamId
- is the stream idrootNode
- is the pattern root nodematchedEventMapMeta
- match metadataallowResilient
- indicator whether resilience is allowed or notpublic PatternAgentInstanceContext createPatternAgentContext(PatternContext patternContext, AgentInstanceContext agentInstanceContext, boolean hasConsumingFilter)
createPatternAgentContext
in interface PatternContextFactory