net.esper.eql.lookup
Class IndexedTableLookupStrategyCoercing

java.lang.Object
  extended by net.esper.eql.lookup.IndexedTableLookupStrategy
      extended by net.esper.eql.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 net.esper.eql.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 net.esper.eql.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