com.espertech.esper.epl.join.table
Class PropertyIndexedEventTableCoerceAddFactory
java.lang.Object
com.espertech.esper.epl.join.table.PropertyIndexedEventTableFactory
com.espertech.esper.epl.join.table.PropertyIndexedEventTableCoerceAddFactory
- All Implemented Interfaces:
- EventTableFactory
- Direct Known Subclasses:
- PropertyIndexedEventTableCoerceAllFactory
public class PropertyIndexedEventTableCoerceAddFactory
- extends PropertyIndexedEventTableFactory
Index that organizes events by the event property values into hash buckets. Based on a HashMap
with MultiKeyUntyped
keys that store the property values.
Performs coercion of the index keys before storing the keys.
Takes a list of property names as parameter. Doesn't care which event type the events have as long as the properties
exist. If the same event is added twice, the class throws an exception on add.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
coercers
protected final SimpleNumberCoercer[] coercers
coercionType
protected final java.lang.Class[] coercionType
PropertyIndexedEventTableCoerceAddFactory
public PropertyIndexedEventTableCoerceAddFactory(int streamNum,
EventType eventType,
java.lang.String[] propertyNames,
java.lang.Class[] coercionType)
- Ctor.
- Parameters:
streamNum
- is the stream number of the indexed streameventType
- is the event type of the indexed streampropertyNames
- are the property names to get property valuescoercionType
- are the classes to coerce indexed values to
makeEventTables
public EventTable[] makeEventTables()
- Specified by:
makeEventTables
in interface EventTableFactory
- Overrides:
makeEventTables
in class PropertyIndexedEventTableFactory