public void createPartitionRegion(final String name, final Class constraint, VM vm) {
    vm.invoke(new CacheSerializableRunnable("Create Partition region") {
      private static final long serialVersionUID = 1L;

      @Override
      public void run2() throws CacheException {
        createPartitionRegion(name, constraint);
      }
    });
  }
Utility class for testing supported queries
geode-dunit/src/main/java/org/apache/geode/cache/query/QueryTestUtils.java