public Result runIndexOrPartitionScanQueryOnOwnedPartitions(Query query) {
        Result result = runIndexOrPartitionScanQueryOnOwnedPartitions(query, true);
        assert result != null;
        return result;
    }
@Test
    public void runFullQuery() {
        Predicate<Object, Object> predicate = Predicates.equal("this", value);
        Query query = Query.of()
                .mapName(map.getName())
                .predicate(predicate)
                .iterationType(IterationType.ENTRY)
                .partitionIdSet(SetUtil.allPartitionIds(instance.getPartitionService().getPartitions().size()))
                .build();
        QueryResult result = (QueryResult) queryRunner.runIndexOrPartitionScanQueryOnOwnedPartitions(query);

        assertEquals(1, result.getRows().size());
        assertEquals(map.get(key), toObject(result.getRows().iterator().next().getValue()));
        assertArrayEquals(result.getPartitionIds().toArray(), mapService.getMapServiceContext().getCachedOwnedPartitions().toArray());
    }