com.espertech.esper.epl.join.table
Class PropertyIndexedEventTableCoerceAdd
java.lang.Object
com.espertech.esper.epl.join.table.PropertyIndexedEventTable
com.espertech.esper.epl.join.table.PropertyIndexedEventTableCoerceAdd
- All Implemented Interfaces:
- EventTable, java.lang.Iterable<EventBean>
- Direct Known Subclasses:
- PropertyIndexedEventTableCoerceAll
public class PropertyIndexedEventTableCoerceAdd
- extends PropertyIndexedEventTable
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 com.espertech.esper.epl.join.table.PropertyIndexedEventTable |
add, add, addRemove, clear, getIndex, getNumberOfEvents, getNumKeys, getOrganization, isEmpty, iterator, lookup, remove, remove, toQueryPlan |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
coercionTypes
protected final java.lang.Class[] coercionTypes
PropertyIndexedEventTableCoerceAdd
public PropertyIndexedEventTableCoerceAdd(EventPropertyGetter[] propertyGetters,
EventTableOrganization organization,
SimpleNumberCoercer[] coercers,
java.lang.Class[] coercionTypes)
getMultiKey
protected MultiKeyUntyped getMultiKey(EventBean theEvent)
- Description copied from class:
PropertyIndexedEventTable
- Determine multikey for index access.
- Overrides:
getMultiKey
in class PropertyIndexedEventTable
- Parameters:
theEvent
- to get properties from for key
- Returns:
- multi key