public Set queryLocalMember(String mapName, final Predicate predicate,
final IterationType iterationType, final boolean dataResult) {
checkIfNotPagingPredicate(predicate);
final NodeEngine nodeEngine = this.nodeEngine;
final List<Integer> partitionIds = getLocalPartitionIds(nodeEngine);
final SerializationService serializationService = nodeEngine.getSerializationService();
final Set result = new QueryResultSet(serializationService, iterationType, dataResult);
try {
final Future future = queryOnLocalMember(mapName, predicate, nodeEngine);
final List<Future> futures = Collections.singletonList(future);
addResultsOfPredicate(futures, result, partitionIds);