@Override
  public boolean filterRowKey(Cell firstRowCell) {
    // if stopRowKey is <= buffer, then true, filter row.
    if (filterAllRemaining()) return true;
    int cmp =
      CellComparator.getInstance().compareRows(firstRowCell, stopRowKey, 0, stopRowKey.length);
    done = reversed ? cmp < 0 : cmp > 0;
    return done;
  }
A Filter that stops after the given row. There is no "RowStopFilter" because the Scan spec allows
you to specify a stop row. Use this filter to include the stop row, eg: [A,Z].
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/InclusiveStopFilter.java