public void nextDataRows(Query query, List<DataRow> dataRows) {
// exclude prefetched rows in the main result
if (prefetchResultsByPath != null && query instanceof PrefetchSelectQuery) {
PrefetchSelectQuery prefetchQuery = (PrefetchSelectQuery) query;
prefetchResultsByPath.put(prefetchQuery.getPrefetchPath(), dataRows);
}
else {
fullResponse.addResultList(dataRows);
}
}