public void run() {
Collection<QueryableEntry> queryableEntries = mapService.getMapServiceContext().getMapContextQuerySupport()
.queryOnPartition(name, predicate, getPartitionId());
result = new QueryResult();
for (QueryableEntry entry : queryableEntries) {
result.add(new QueryResultEntryImpl(entry.getKeyData(), entry.getIndexKey(), entry.getValueData()));
}
final List<Integer> partitions = Collections.singletonList(getPartitionId());
result.setPartitionIds(partitions);
}