{
if (!isActiveCache)
{
return new EventTable[] {new UnindexedEventTableList(pollResult, streamNum)};
}
PropertyIndexedEventTableSingleCoerceAllFactory factory = new PropertyIndexedEventTableSingleCoerceAllFactory(streamNum, eventType, propertyName, coercionType);
EventTable[] tables = factory.makeEventTables();
for (EventTable table : tables) {
table.add(pollResult.toArray(new EventBean[pollResult.size()]));
}
return tables;
}