PropertySortedEventTable table;
if (coercionType == null) {
table = new PropertySortedEventTable(streamNum, eventType, propertyName);
}
else {
table = new PropertySortedEventTableCoerced(streamNum, eventType, propertyName, coercionType);
}
table.add(pollResult.toArray(new EventBean[pollResult.size()]));
return table;
}