public class ResultDeliveryStrategyMap extends Object implements ResultDeliveryStrategy
Modifier and Type | Field and Description |
---|---|
protected String[] |
columnNames |
protected net.sf.cglib.reflect.FastMethod |
fastMethod |
protected EPStatement |
statement |
protected Object |
subscriber |
Constructor and Description |
---|
ResultDeliveryStrategyMap(EPStatement statement,
Object subscriber,
Method method,
String[] columnNames,
EngineImportService engineImportService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
protected Map[] |
convert(EventBean[] events) |
void |
execute(UniformPair<EventBean[]> result)
Execute the dispatch.
|
protected final EPStatement statement
protected final Object subscriber
protected final net.sf.cglib.reflect.FastMethod fastMethod
protected final String[] columnNames
public ResultDeliveryStrategyMap(EPStatement statement, Object subscriber, Method method, String[] columnNames, EngineImportService engineImportService)
subscriber
- the object to deliver tomethod
- the delivery methodcolumnNames
- the column names for the mapstatement
- statementengineImportService
- engine importspublic void execute(UniformPair<EventBean[]> result)
ResultDeliveryStrategy
execute
in interface ResultDeliveryStrategy
result
- is the insert and remove stream to indicate