public class ResultDeliveryStrategyMap extends Object implements ResultDeliveryStrategy
Modifier and Type | Field and Description |
---|---|
protected String[] |
columnNames |
protected Method |
method |
protected EPStatement |
statement |
protected Object |
subscriber |
Constructor and Description |
---|
ResultDeliveryStrategyMap(EPStatement statement,
Object subscriber,
Method method,
String[] columnNames,
com.espertech.esper.common.internal.settings.ClasspathImportService classpathImportService)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
protected Map[] |
convert(com.espertech.esper.common.client.EventBean[] events) |
void |
execute(com.espertech.esper.common.internal.collection.UniformPair<com.espertech.esper.common.client.EventBean[]> result)
Execute the dispatch.
|
protected final EPStatement statement
protected final Object subscriber
protected final Method method
protected final String[] columnNames
public ResultDeliveryStrategyMap(EPStatement statement, Object subscriber, Method method, String[] columnNames, com.espertech.esper.common.internal.settings.ClasspathImportService classpathImportService)
subscriber
- the object to deliver tomethod
- the delivery methodcolumnNames
- the column names for the mapstatement
- statementclasspathImportService
- runtime importspublic void execute(com.espertech.esper.common.internal.collection.UniformPair<com.espertech.esper.common.client.EventBean[]> result)
ResultDeliveryStrategy
execute
in interface ResultDeliveryStrategy
result
- is the insert and remove stream to indicateprotected Map[] convert(com.espertech.esper.common.client.EventBean[] events)
Copyright © 2005–2018. All rights reserved.