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

java.lang.Object
  extended by com.espertech.esper.epl.join.table.PropertyIndexedEventTableSingleArrayFactory
All Implemented Interfaces:
EventTableFactory

public class PropertyIndexedEventTableSingleArrayFactory
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[] propertyGetters
           
protected  java.lang.String[] propertyNames
           
protected  int streamNum
           
protected  boolean unique
           
 
Constructor Summary
PropertyIndexedEventTableSingleArrayFactory(int streamNum, EventType eventType, java.lang.String[] propertyNames, 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

propertyNames

protected final java.lang.String[] propertyNames

unique

protected final boolean unique

optionalIndexName

protected final java.lang.String optionalIndexName

propertyGetters

protected final EventPropertyGetter[] propertyGetters
Constructor Detail

PropertyIndexedEventTableSingleArrayFactory

public PropertyIndexedEventTableSingleArrayFactory(int streamNum,
                                                   EventType eventType,
                                                   java.lang.String[] propertyNames,
                                                   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