com.espertech.esper.core.service
Class ResultDeliveryStrategyFactory
java.lang.Object
com.espertech.esper.core.service.ResultDeliveryStrategyFactory
public class ResultDeliveryStrategyFactory
- extends java.lang.Object
Factory for creating a dispatch strategy based on the subscriber object
and the columns produced by a select-clause.
Method Summary |
static ResultDeliveryStrategy |
create(java.lang.String statementName,
java.lang.Object subscriber,
java.lang.String methodName,
java.lang.Class[] selectClauseTypes,
java.lang.String[] selectClauseColumns)
Creates a strategy implementation that indicates to subscribers
the statement results based on the select-clause columns. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultDeliveryStrategyFactory
public ResultDeliveryStrategyFactory()
create
public static ResultDeliveryStrategy create(java.lang.String statementName,
java.lang.Object subscriber,
java.lang.String methodName,
java.lang.Class[] selectClauseTypes,
java.lang.String[] selectClauseColumns)
throws EPSubscriberException
- Creates a strategy implementation that indicates to subscribers
the statement results based on the select-clause columns.
- Parameters:
subscriber
- to indicate toselectClauseTypes
- are the types of each column in the select clauseselectClauseColumns
- the names of each column in the select clause
- Returns:
- strategy for dispatching naturals
- Throws:
EPSubscriberException
- if the subscriber is invalid