public EventTable[] index(List<EventBean> pollResult, boolean isActiveCache)
{
if (!isActiveCache)
{
return new EventTable[] {new UnindexedEventTableList(pollResult, streamNum)};
}
EventTable[] tables = new EventTable[propertyNames.length];
for (int i = 0; i < propertyNames.length; i++) {
PropertyIndexedEventTableSingleFactory factory = new PropertyIndexedEventTableSingleFactory(streamNum, eventType, propertyNames[i], false, null);
tables[i] = factory.makeEventTables()[0];