@Override
  public Cell getNextCellHint(Cell cell) {
    if (reversed) {
      return reversedNextCellHint;
    } else {
      return forwardNextCellHint;
    }
  }
Pass results that have same row prefix.
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java