com.espertech.esper.core.service
Class InternalEventRouterEntry

java.lang.Object
  extended by com.espertech.esper.core.service.InternalEventRouterEntry

public class InternalEventRouterEntry
extends java.lang.Object

Pre-Processing entry for routing an event internally.


Constructor Summary
InternalEventRouterEntry(int priority, boolean drop, ExprNode optionalWhereClause, ExprNode[] assignments, EventBeanWriter writer, TypeWidener[] wideners, InternalRoutePreprocessView outputView, StatementAgentInstanceLock agentInstanceLock, boolean hasSubselect)
          Ctor.
 
Method Summary
 StatementAgentInstanceLock getAgentInstanceLock()
           
 ExprEvaluator[] getAssignments()
          Returns the expressions providing values for assignment.
 ExprEvaluator getOptionalWhereClause()
          Returns the where-clause or null if none defined
 InternalRoutePreprocessView getOutputView()
          Returns the output view.
 int getPriority()
          Returns the execution priority.
 TypeWidener[] getWideners()
          Returns the type wideners to use or null if none required.
 EventBeanWriter getWriter()
          Returns the writer to the event for writing property values.
 boolean isDrop()
          Returns indicator whether dropping events if the where-clause matches.
 boolean isHasSubselect()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalEventRouterEntry

public InternalEventRouterEntry(int priority,
                                boolean drop,
                                ExprNode optionalWhereClause,
                                ExprNode[] assignments,
                                EventBeanWriter writer,
                                TypeWidener[] wideners,
                                InternalRoutePreprocessView outputView,
                                StatementAgentInstanceLock agentInstanceLock,
                                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
agentInstanceLock -
Method Detail

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

getAgentInstanceLock

public StatementAgentInstanceLock getAgentInstanceLock()

isHasSubselect

public boolean isHasSubselect()

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com