net.esper.filter
Class IndexFactory

java.lang.Object
  extended by net.esper.filter.IndexFactory

public class IndexFactory
extends Object

Factory for FilterParamIndexBase instances based on event property name and filter operator type.


Constructor Summary
IndexFactory()
           
 
Method Summary
static FilterParamIndexBase createIndex(EventType eventType, String propertyName, FilterOperator filterOperator)
          Factory for indexes that store filter parameter constants for a given event property and filter operator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexFactory

public IndexFactory()
Method Detail

createIndex

public static FilterParamIndexBase createIndex(EventType eventType,
                                               String propertyName,
                                               FilterOperator filterOperator)
Factory for indexes that store filter parameter constants for a given event property and filter operator.

Does not perform any check of validity of property name.

Parameters:
eventType - is the event type to create an index for
propertyName - is the event property name
filterOperator - is the type of index to use
Returns:
the proper index based on the filter operator type

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