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.
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.
|
add, addRemove, clear, getIndex, getNumberOfEvents, getNumKeys, getOrganization, isEmpty, iterator, 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 PropertyIndexedEventTable
keys
- to compare against