diff --git a/hugegraph-server/hugegraph-hbase/src/main/java/org/apache/hugegraph/backend/store/hbase/HbaseSessions.java b/hugegraph-server/hugegraph-hbase/src/main/java/org/apache/hugegraph/backend/store/hbase/HbaseSessions.java index 274051b318..40c9590230 100644 --- a/hugegraph-server/hugegraph-hbase/src/main/java/org/apache/hugegraph/backend/store/hbase/HbaseSessions.java +++ b/hugegraph-server/hugegraph-hbase/src/main/java/org/apache/hugegraph/backend/store/hbase/HbaseSessions.java @@ -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); }