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 java.lang.Class[] |
coercionTypes |
propertyIndex
organization, propertyGetters
Constructor and Description |
---|
PropertyIndexedEventTableCoerceAdd(EventPropertyGetter[] propertyGetters,
EventTableOrganization organization,
SimpleNumberCoercer[] coercers,
java.lang.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
public PropertyIndexedEventTableCoerceAdd(EventPropertyGetter[] propertyGetters, EventTableOrganization organization, SimpleNumberCoercer[] coercers, java.lang.Class[] coercionTypes)
protected MultiKeyUntyped getMultiKey(EventBean theEvent)
PropertyIndexedEventTable
getMultiKey
in class PropertyIndexedEventTable
theEvent
- to get properties from for key