com.espertech.esper.pattern
Class PatternContextFactoryDefault
java.lang.Object
com.espertech.esper.pattern.PatternContextFactoryDefault
- All Implemented Interfaces:
- PatternContextFactory
public class PatternContextFactoryDefault
- extends java.lang.Object
- implements PatternContextFactory
Default pattern context factory.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternContextFactoryDefault
public PatternContextFactoryDefault()
createContext
public PatternContext createContext(StatementContext statementContext,
int streamId,
EvalRootFactoryNode rootNode,
MatchedEventMapMeta matchedEventMapMeta,
boolean allowResilient)
- Description copied from interface:
PatternContextFactory
- Create a pattern context.
- Specified by:
createContext
in interface PatternContextFactory
- Parameters:
statementContext
- is the statement information and servicesstreamId
- is the stream idrootNode
- is the pattern root node
- Returns:
- pattern context
createPatternAgentContext
public PatternAgentInstanceContext createPatternAgentContext(PatternContext patternContext,
AgentInstanceContext agentInstanceContext,
boolean hasConsumingFilter)
- Specified by:
createPatternAgentContext
in interface PatternContextFactory