@Deprecated
  public Scan setRowPrefixFilter(byte[] rowPrefix) {
    return setStartStopRowForPrefixScan(rowPrefix);
  }
<p>
Set a filter (using stopRow and startRow) so the result set only contains rows where the rowKey
starts with the specified prefix.
</p>
<p>
This is a utility method that converts the desired rowPrefix into the appropriate values for
the startRow and stopRow to achieve the desired result.
</p>
<p>
This can safely be used in combination with setFilter.
</p>
<p>
<strong>This CANNOT be used in combination with withStartRow and/or withStopRow.</strong> Such
a combination will yield unexpected and even undefined results.
</p>
@param rowPrefix the prefix all rows must start with. (Set <i>null</i> to remove the filter.)
@deprecated since 2.5.0, will be removed in 4.0.0. The name of this method is considered to be
            confusing as it does not use a {@link Filter} but uses setting the startRow and
            stopRow instead. Use {@link #setStartStopRowForPrefixScan(byte[])} instead.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java