com.espertech.esper.core
Class DeliveryConvertorMap

java.lang.Object
  extended by com.espertech.esper.core.DeliveryConvertorMap
All Implemented Interfaces:
DeliveryConvertor

public class DeliveryConvertorMap
extends Object
implements DeliveryConvertor

Converts column results into a Map of key-value pairs.


Constructor Summary
DeliveryConvertorMap(String[] columnNames)
          Ctor.
 
Method Summary
 Object[] convertRow(Object[] columns)
          Convert result row to dispatchable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeliveryConvertorMap

public DeliveryConvertorMap(String[] columnNames)
Ctor.

Parameters:
columnNames - the names for columns
Method Detail

convertRow

public Object[] convertRow(Object[] columns)
Description copied from interface: DeliveryConvertor
Convert result row to dispatchable.

Specified by:
convertRow in interface DeliveryConvertor
Parameters:
columns - to convert
Returns:
converted row

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com