result = table.lookupConstants(rangeValues[0]);
}
else {
PropertyCompositeEventTable table = (PropertyCompositeEventTable) tablePair.getSecond();
Class[] rangeCoercion = table.getOptRangeCoercedTypes();
CompositeIndexLookup lookup = CompositeIndexLookupFactory.make(keyValues, rangeValues, rangeCoercion);
result = new HashSet<EventBean>();
lookup.lookup(table.getIndex(), result);
}
if (result != null) {
return result;
}
return Collections.EMPTY_LIST;