@Override
  public CloseableIterator<CachedDeserializable> getKey(Object indexKey) {

    return new KeyItr(map.subMap(new Pair(indexKey, ByteComparator.MIN_BYTES), true,
        new Pair(indexKey, ByteComparator.MAX_BYTES), true).entrySet().iterator());
  }
A dummy implementation of an IndexMap. Keeps all of the entries in memory, but in serialized
form.
geode-core/src/main/java/org/apache/geode/internal/cache/persistence/query/mock/IndexMapImpl.java