public class PropertyIndexedEventTableCoerceAll extends PropertyIndexedEventTableCoerceAdd
MultiKeyUntyped
keys that store the property values.
Performs coercion of the index keys before storing the keys, and coercion of the lookup keys before lookup.
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.
coercionTypes
propertyIndex
organization, propertyGetters
Constructor and Description |
---|
PropertyIndexedEventTableCoerceAll(EventPropertyGetter[] propertyGetters,
EventTableOrganization organization,
SimpleNumberCoercer[] coercers,
Class[] coercionType) |
Modifier and Type | Method and Description |
---|---|
Set<EventBean> |
lookup(Object[] keys)
Returns the set of events that have the same property value as the given event.
|
getMultiKey
add, clear, destroy, getIndex, getNumberOfEvents, getNumKeys, getProviderClass, isEmpty, iterator, remove
add, addRemove, getOrganization, remove, toQueryPlan
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public PropertyIndexedEventTableCoerceAll(EventPropertyGetter[] propertyGetters, EventTableOrganization organization, SimpleNumberCoercer[] coercers, Class[] coercionType)
public Set<EventBean> lookup(Object[] keys)
lookup
in class PropertyIndexedEventTableUnadorned
keys
- to compare against