Class ResultDeliveryStrategyFactory
java.lang.Object
com.espertech.esper.runtime.internal.subscriber.ResultDeliveryStrategyFactory
Factory for creating a dispatch strategy based on the subscriber object
and the columns produced by a select-clause.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResultDeliveryStrategy
create
(EPStatement statement, Object subscriber, String methodName, Class[] selectClauseTypes, String[] selectClauseColumns, String runtimeURI, com.espertech.esper.common.internal.settings.ClasspathImportService classpathImportService) Creates a strategy implementation that indicates to subscribers the statement results based on the select-clause columns.
-
Constructor Details
-
ResultDeliveryStrategyFactory
public ResultDeliveryStrategyFactory()
-
-
Method Details
-
create
public static ResultDeliveryStrategy create(EPStatement statement, Object subscriber, String methodName, Class[] selectClauseTypes, String[] selectClauseColumns, String runtimeURI, com.espertech.esper.common.internal.settings.ClasspathImportService classpathImportService) throws ResultDeliveryStrategyInvalidException 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 clausestatement
- statementmethodName
- method nameruntimeURI
- runtime URIclasspathImportService
- runtime imports- Returns:
- strategy for dispatching naturals
- Throws:
ResultDeliveryStrategyInvalidException
- if the subscriber is invalid
-