Class InternalEventRouterEntry
java.lang.Object
com.espertech.esper.common.internal.context.util.InternalEventRouterEntry
Pre-Processing entry for routing an event internally.
-
Constructor Summary
ConstructorDescriptionInternalEventRouterEntry
(int priority, boolean drop, ExprEvaluator optionalWhereClause, ExprEvaluator[] assignments, EventBeanWriter writer, TypeWidener[] wideners, InternalEventRouterWriter[] specialPropWriters, InternalRoutePreprocessView outputView, StatementContext statementContext, boolean hasSubselect) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the expressions providing values for assignment.Returns the where-clause or null if none definedReturns the output view.int
Returns the execution priority.Returns the type wideners to use or null if none required.Returns the writer to the event for writing property values.boolean
isDrop()
Returns indicator whether dropping events if the where-clause matches.boolean
-
Constructor Details
-
InternalEventRouterEntry
public InternalEventRouterEntry(int priority, boolean drop, ExprEvaluator optionalWhereClause, ExprEvaluator[] assignments, EventBeanWriter writer, TypeWidener[] wideners, InternalEventRouterWriter[] specialPropWriters, InternalRoutePreprocessView outputView, StatementContext statementContext, boolean hasSubselect) Ctor.- Parameters:
priority
- priority of statementdrop
- whether to drop the event if matchedoptionalWhereClause
- where clause, or null if none providedassignments
- event property assignmentswriter
- writes values to an eventwideners
- for widening types to writeoutputView
- for indicating outputstatementContext
- statement contexthasSubselect
- indicator whether there are subselectsspecialPropWriters
- special writers if any
-
-
Method Details
-
getPriority
public int getPriority()Returns the execution priority.- Returns:
- priority
-
isDrop
public boolean isDrop()Returns indicator whether dropping events if the where-clause matches.- Returns:
- drop events
-
getOptionalWhereClause
Returns the where-clause or null if none defined- Returns:
- where-clause
-
getAssignments
Returns the expressions providing values for assignment.- Returns:
- assignment expressions
-
getWriter
Returns the writer to the event for writing property values.- Returns:
- writer
-
getWideners
Returns the type wideners to use or null if none required.- Returns:
- wideners.
-
getOutputView
Returns the output view.- Returns:
- output view
-
getStatementContext
-
isHasSubselect
public boolean isHasSubselect() -
getSpecialPropWriters
-