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,
java.lang.Class[] coercionType) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<EventBean> |
lookup(java.lang.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
public PropertyIndexedEventTableCoerceAll(EventPropertyGetter[] propertyGetters, EventTableOrganization organization, SimpleNumberCoercer[] coercers, java.lang.Class[] coercionType)
public java.util.Set<EventBean> lookup(java.lang.Object[] keys)
lookup
in class PropertyIndexedEventTableUnadorned
keys
- to compare against