From 4c5d119e05abb68bc0f920104e8531dc31643df2 Mon Sep 17 00:00:00 2001 From: haohao0103 <956322745@qq.com> Date: Mon, 27 Nov 2023 17:38:40 +0800 Subject: [PATCH] #2177 --- .../apache/hugegraph/backend/store/hbase/HbaseSessions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }