Class InternalEventRouterEntry

java.lang.Object
com.espertech.esper.common.internal.context.util.InternalEventRouterEntry

public class InternalEventRouterEntry extends Object
Pre-Processing entry for routing an event internally.
  • 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 statement
      drop - whether to drop the event if matched
      optionalWhereClause - where clause, or null if none provided
      assignments - event property assignments
      writer - writes values to an event
      wideners - for widening types to write
      outputView - for indicating output
      statementContext - statement context
      hasSubselect - indicator whether there are subselects
      specialPropWriters - 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

      public ExprEvaluator getOptionalWhereClause()
      Returns the where-clause or null if none defined
      Returns:
      where-clause
    • getAssignments

      public ExprEvaluator[] getAssignments()
      Returns the expressions providing values for assignment.
      Returns:
      assignment expressions
    • getWriter

      public EventBeanWriter getWriter()
      Returns the writer to the event for writing property values.
      Returns:
      writer
    • getWideners

      public TypeWidener[] getWideners()
      Returns the type wideners to use or null if none required.
      Returns:
      wideners.
    • getOutputView

      public InternalRoutePreprocessView getOutputView()
      Returns the output view.
      Returns:
      output view
    • getStatementContext

      public StatementContext getStatementContext()
    • isHasSubselect

      public boolean isHasSubselect()
    • getSpecialPropWriters

      public InternalEventRouterWriter[] getSpecialPropWriters()