This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-3 by this push:
new 08ef143b8c0 HBASE-30052 Fix copied Javadoc in
MultipleColumnPrefixFilter (#8019)
08ef143b8c0 is described below
commit 08ef143b8c071e85fc3b871fdd36ea795b2ca208
Author: JinHyuk Kim <[email protected]>
AuthorDate: Sun Apr 5 23:56:13 2026 +0900
HBASE-30052 Fix copied Javadoc in MultipleColumnPrefixFilter (#8019)
Signed-off-by: Duo Zhang <[email protected]>
(cherry picked from commit c62bc9e4b1f00d07e48c63b2714a3fc44062af42)
---
.../org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git
a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.java
b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.java
index 00d84fee9e3..d2b9396ed98 100644
---
a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.java
+++
b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.java
@@ -37,9 +37,10 @@ import
org.apache.hbase.thirdparty.com.google.protobuf.UnsafeByteOperations;
import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos;
/**
- * This filter is used for selecting only those keys with columns that matches
a particular prefix.
- * For example, if prefix is 'an', it will pass keys will columns like 'and',
'anti' but not keys
- * with columns like 'ball', 'act'.
+ * This filter is used for selecting only those keys with columns that match
any of the given
+ * prefixes. For example, if prefixes are 'an' and 'ba', it will pass keys
with columns like 'and',
+ * 'anti', 'ball' but not keys with columns like 'cat', 'act'. The prefixes
are stored in a sorted
+ * set and the filter uses seek hints to efficiently skip columns that do not
match any prefix.
*/
@InterfaceAudience.Public
public class MultipleColumnPrefixFilter extends FilterBase implements
HintingFilter {