public class InternalEventRouterImpl extends Object implements InternalEventRouter
Constructor and Description |
---|
InternalEventRouterImpl(String engineURI,
EngineImportService engineImportService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPreprocessing(InternalEventRouterDesc internalEventRouterDesc,
InternalRoutePreprocessView outputView,
StatementAgentInstanceLock agentInstanceLock,
boolean hasSubselect) |
InternalEventRouterDesc |
getValidatePreprocessing(EventType eventType,
UpdateDesc desc,
Annotation[] annotations,
String statementName) |
boolean |
isHasPreprocessing()
Return true to indicate that there is pre-processing to take place.
|
EventBean |
preprocess(EventBean theEvent,
ExprEvaluatorContext exprEvaluatorContext)
Pre-process the event.
|
void |
removePreprocessing(EventType eventType,
UpdateDesc desc)
Remove preprocessing.
|
void |
route(EventBean theEvent,
EPStatementHandle statementHandle,
InternalEventRouteDest routeDest,
ExprEvaluatorContext exprEvaluatorContext,
boolean addToFront)
Route the event such that the event is processed as required.
|
void |
setInsertIntoListener(InsertIntoListener insertIntoListener) |
public InternalEventRouterImpl(String engineURI, EngineImportService engineImportService)
engineURI
- engine URIengineImportService
- engine importspublic boolean isHasPreprocessing()
isHasPreprocessing
in interface InternalEventRouter
public EventBean preprocess(EventBean theEvent, ExprEvaluatorContext exprEvaluatorContext)
preprocess
in interface InternalEventRouter
theEvent
- to preprocessexprEvaluatorContext
- expression evaluation contextpublic void setInsertIntoListener(InsertIntoListener insertIntoListener)
setInsertIntoListener
in interface InternalEventRouter
public void route(EventBean theEvent, EPStatementHandle statementHandle, InternalEventRouteDest routeDest, ExprEvaluatorContext exprEvaluatorContext, boolean addToFront)
InternalEventRouter
route
in interface InternalEventRouter
theEvent
- to routestatementHandle
- provides statement resourcesrouteDest
- routing destinationexprEvaluatorContext
- context for expression evalauationaddToFront
- indicator whether to add to front queuepublic InternalEventRouterDesc getValidatePreprocessing(EventType eventType, UpdateDesc desc, Annotation[] annotations, String statementName) throws ExprValidationException
getValidatePreprocessing
in interface InternalEventRouter
ExprValidationException
public void addPreprocessing(InternalEventRouterDesc internalEventRouterDesc, InternalRoutePreprocessView outputView, StatementAgentInstanceLock agentInstanceLock, boolean hasSubselect)
addPreprocessing
in interface InternalEventRouter
public void removePreprocessing(EventType eventType, UpdateDesc desc)
InternalEventRouter
removePreprocessing
in interface InternalEventRouter
eventType
- type to remove fordesc
- update statement specification