public class PropertyIndexedEventTableCoerceAdd extends PropertyIndexedEventTableUnadorned
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.
Modifier and Type | Field and Description |
---|---|
protected Class[] |
coercionTypes |
propertyIndex
organization, propertyGetters
Constructor and Description |
---|
PropertyIndexedEventTableCoerceAdd(EventPropertyGetter[] propertyGetters,
EventTableOrganization organization,
SimpleNumberCoercer[] coercers,
Class[] coercionTypes) |
Modifier and Type | Method and Description |
---|---|
protected MultiKeyUntyped |
getMultiKey(EventBean theEvent)
Determine multikey for index access.
|
add, clear, destroy, getIndex, getNumberOfEvents, getNumKeys, getProviderClass, isEmpty, iterator, lookup, remove
add, addRemove, getOrganization, remove, toQueryPlan
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected final Class[] coercionTypes
public PropertyIndexedEventTableCoerceAdd(EventPropertyGetter[] propertyGetters, EventTableOrganization organization, SimpleNumberCoercer[] coercers, Class[] coercionTypes)
protected MultiKeyUntyped getMultiKey(EventBean theEvent)
PropertyIndexedEventTable
getMultiKey
in class PropertyIndexedEventTable
theEvent
- to get properties from for key