com.espertech.esper.core.service
Class ResultDeliveryStrategyMap

java.lang.Object
  extended by com.espertech.esper.core.service.ResultDeliveryStrategyMap
All Implemented Interfaces:
ResultDeliveryStrategy

public class ResultDeliveryStrategyMap
extends java.lang.Object
implements ResultDeliveryStrategy

A result delivery strategy that uses an "update" method that accepts a pair of map array.


Constructor Summary
ResultDeliveryStrategyMap(java.lang.String statementName, java.lang.Object subscriber, java.lang.reflect.Method method, java.lang.String[] columnNames)
          Ctor.
 
Method Summary
 void execute(UniformPair<EventBean[]> result)
          Execute the dispatch.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultDeliveryStrategyMap

public ResultDeliveryStrategyMap(java.lang.String statementName,
                                 java.lang.Object subscriber,
                                 java.lang.reflect.Method method,
                                 java.lang.String[] columnNames)
Ctor.

Parameters:
subscriber - the object to deliver to
method - the delivery method
columnNames - the column names for the map
Method Detail

execute

public void execute(UniformPair<EventBean[]> result)
Description copied from interface: ResultDeliveryStrategy
Execute the dispatch.

Specified by:
execute in interface ResultDeliveryStrategy
Parameters:
result - is the insert and remove stream to indicate

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