com.espertech.esper.filter
Class IndexFactory
java.lang.Object
com.espertech.esper.filter.IndexFactory
public class IndexFactory
- extends Object
Factory for FilterParamIndexBase
instances based on event property name and filter operator type.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexFactory
public IndexFactory()
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 forpropertyName
- is the event property namefilterOperator
- is the type of index to use
- Returns:
- the proper index based on the filter operator type