@Override
  public ReturnCode filterCell(final Cell c) {
    if (filterOutRow) {
      return ReturnCode.NEXT_ROW;
    }
    return ReturnCode.INCLUDE;
  }
Set the chance that a row is included.
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/RandomRowFilter.java