com.espertech.esper.core.service
Class ResultDeliveryStrategyFactory

java.lang.Object
  extended by 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.


Constructor Summary
ResultDeliveryStrategyFactory()
           
 
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
 

Constructor Detail

ResultDeliveryStrategyFactory

public ResultDeliveryStrategyFactory()
Method Detail

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 to
selectClauseTypes - are the types of each column in the select clause
selectClauseColumns - the names of each column in the select clause
Returns:
strategy for dispatching naturals
Throws:
EPSubscriberException - if the subscriber is invalid

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