use of com.hazelcast.map.impl.query.QueryResultRow in project hazelcast by hazelcast.
the class NodeQueryCacheEndToEndConstructor method populateWithValues.
private void populateWithValues(InternalQueryCache queryCache, Collection<QueryResult> resultSets) {
for (QueryResult queryResult : resultSets) {
try {
if (queryResult == null) {
continue;
}
for (QueryResultRow row : queryResult) {
Data keyData = row.getKey();
Data valueData = row.getValue();
queryCache.setInternal(keyData, valueData, false, EntryEventType.ADDED);
}
} catch (Throwable t) {
throw ExceptionUtil.rethrow(t);
}
}
}
Aggregations