private void putOffsetValues(int num) {
    Region region = utils.getRegion("exampleRegion");
    for (int i = 1; i <= num; i++) {
      region.put("KEY-" + i, new Portfolio(i + 1));
    }
  }
Tests adding entries to compact range index where there are undefined and null values
for the key
geode-core/src/integrationTest/java/org/apache/geode/cache/query/internal/index/CompactRangeIndexJUnitTest.java