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

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

public class PropertyIndexedEventTableSingleFactory
extends java.lang.Object
implements EventTableFactory

Index factory that organizes events by the event property values into hash buckets. Based on a HashMap with MultiKeyUntyped keys that store the property values.


Field Summary
protected  java.lang.String optionalIndexName
           
protected  EventPropertyGetter propertyGetter
           
protected  java.lang.String propertyName
           
protected  int streamNum
           
protected  boolean unique
           
 
Constructor Summary
PropertyIndexedEventTableSingleFactory(int streamNum, EventType eventType, java.lang.String propertyName, boolean unique, java.lang.String optionalIndexName)
          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

unique

protected final boolean unique

optionalIndexName

protected final java.lang.String optionalIndexName

propertyGetter

protected final EventPropertyGetter propertyGetter
Constructor Detail

PropertyIndexedEventTableSingleFactory

public PropertyIndexedEventTableSingleFactory(int streamNum,
                                              EventType eventType,
                                              java.lang.String propertyName,
                                              boolean unique,
                                              java.lang.String optionalIndexName)
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