public class ResultDeliveryStrategyMap extends java.lang.Object implements ResultDeliveryStrategy
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
columnNames |
protected net.sf.cglib.reflect.FastMethod |
fastMethod |
protected EPStatement |
statement |
protected java.lang.Object |
subscriber |
Constructor and Description |
---|
ResultDeliveryStrategyMap(EPStatement statement,
java.lang.Object subscriber,
java.lang.reflect.Method method,
java.lang.String[] columnNames,
EngineImportService engineImportService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map[] |
convert(EventBean[] events) |
void |
execute(UniformPair<EventBean[]> result)
Execute the dispatch.
|
protected final EPStatement statement
protected final java.lang.Object subscriber
protected final net.sf.cglib.reflect.FastMethod fastMethod
protected final java.lang.String[] columnNames
public ResultDeliveryStrategyMap(EPStatement statement, java.lang.Object subscriber, java.lang.reflect.Method method, java.lang.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 indicateprotected java.util.Map[] convert(EventBean[] events)