net.esper.pattern
Interface PatternContextFactory
- All Known Implementing Classes:
- PatternContextFactoryDefault
public interface PatternContextFactory
Factory for pattern context instances, creating context objects for each distinct pattern based on the
patterns root node and stream id.
createContext
PatternContext createContext(StatementContext statementContext,
int streamId,
EvalRootNode rootNode)
- Create a pattern context.
- Parameters:
statementContext
- is the statement information and servicesstreamId
- is the stream idrootNode
- is the pattern root node
- Returns:
- pattern context