Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
haohao0103 committed Nov 27, 2023
1 parent 9b52d39 commit 4c5d119
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,10 @@ default R scan(String table, long limit) {

/**
* Scan records by rowkey prefix from a table
* TODO: setRowPrefixFilter deprecated since HBase 2.5.0, will be removed in 4.0.0,
* use setStartStopRowForPrefixScan(byte[]) instead.
*/
default R scan(String table, byte[] prefix) {
// TODO: setRowPrefixFilter deprecated since HBase 2.5.0,
// will be removed in 4.0.0,setStartStopRowForPrefixScan(byte[]) instead.
final Scan scan = new Scan().setRowPrefixFilter(prefix);
return this.scan(table, scan);
}
Expand Down

0 comments on commit 4c5d119

Please sign in to comment.