com.espertech.esper.epl.join.table
Class PropertySortedEventTableFactory

java.lang.Object
  extended by com.espertech.esper.epl.join.table.PropertySortedEventTableFactory
All Implemented Interfaces:
EventTableFactory
Direct Known Subclasses:
PropertySortedEventTableCoercedFactory

public class PropertySortedEventTableFactory
extends java.lang.Object
implements EventTableFactory

Index that organizes events by the event property values into a single TreeMap sortable non-nested index with Object keys that store the property values.


Field Summary
protected  EventPropertyGetter propertyGetter
          Getters for properties.
protected  java.lang.String propertyName
           
protected  int streamNum
           
 
Constructor Summary
PropertySortedEventTableFactory(int streamNum, EventType eventType, java.lang.String propertyName)
          Ctor.
 
Method Summary
 java.lang.Class getEventTableClass()
           
 EventTable[] makeEventTables()
           
 java.lang.String toQueryPlan()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

streamNum

protected final int streamNum

propertyName

protected final java.lang.String propertyName

propertyGetter

protected final EventPropertyGetter propertyGetter
Getters for properties.

Constructor Detail

PropertySortedEventTableFactory

public PropertySortedEventTableFactory(int streamNum,
                                       EventType eventType,
                                       java.lang.String propertyName)
Ctor.

Parameters:
streamNum - - the stream number that is indexed
eventType - - types of events indexed
Method Detail

makeEventTables

public EventTable[] makeEventTables()
Specified by:
makeEventTables in interface EventTableFactory

getEventTableClass

public java.lang.Class getEventTableClass()
Specified by:
getEventTableClass in interface EventTableFactory

toQueryPlan

public java.lang.String toQueryPlan()
Specified by:
toQueryPlan in interface EventTableFactory

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com