com.espertech.esper.epl.lookup
Class IndexedTableLookupStrategyCoercing

java.lang.Object
  extended by com.espertech.esper.epl.lookup.IndexedTableLookupStrategy
      extended by com.espertech.esper.epl.lookup.IndexedTableLookupStrategyCoercing
All Implemented Interfaces:
TableLookupStrategy

public class IndexedTableLookupStrategyCoercing
extends IndexedTableLookupStrategy

Index lookup strategy that coerces the key values before performing a lookup.


Field Summary
 
Fields inherited from class com.espertech.esper.epl.lookup.IndexedTableLookupStrategy
index, propertyGetters, streamNumbers
 
Constructor Summary
IndexedTableLookupStrategyCoercing(EventType[] eventTypes, int[] streamNumbers, String[] properties, PropertyIndexedEventTable index, Class[] coercionTypes)
          Ctor.
 
Method Summary
protected  Object[] getKeys(EventBean[] eventsPerStream)
          Get the index lookup keys.
 
Methods inherited from class com.espertech.esper.epl.lookup.IndexedTableLookupStrategy
getIndex, getProperties, lookup, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexedTableLookupStrategyCoercing

public IndexedTableLookupStrategyCoercing(EventType[] eventTypes,
                                          int[] streamNumbers,
                                          String[] properties,
                                          PropertyIndexedEventTable index,
                                          Class[] coercionTypes)
Ctor.

Parameters:
eventTypes - is the event type per stream
streamNumbers - is the stream numbers to get keys from
properties - is the property names
index - is the table to look into
coercionTypes - is the types to coerce to before lookup
Method Detail

getKeys

protected Object[] getKeys(EventBean[] eventsPerStream)
Description copied from class: IndexedTableLookupStrategy
Get the index lookup keys.

Overrides:
getKeys in class IndexedTableLookupStrategy
Parameters:
eventsPerStream - is the events for each stream
Returns:
key object

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