@Override
    public int compare(IndexEntry e1, IndexEntry e2) {
      return e1.getValue().getOffset().compareTo(e2.getValue().getOffset());
    }
Represents the different types of index entries.
ambry-store/src/main/java/com/github/ambry/store/PersistentIndex.java