stoty commented on code in PR #6060:
URL: https://github.com/apache/hbase/pull/6060#discussion_r1670597290
##########
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FuzzyRowFilter.java:
##########
@@ -161,6 +161,31 @@ private boolean isPreprocessedMask(byte[] mask) {
return true;
}
+ /**
+ * Returns the Fuzzy keys in the format expected by the constructor.
+ * @return the Fuzzy keys in the format expected by the constructor
+ */
+ public List<Pair<byte[], byte[]>> getFuzzyKeys() {
Review Comment:
That would be misleading.
We are not changing the state of the object, we only revert the
preprocessing on the copies that we return.
From the point of view of the caller, he gets back the same keys+masks that
the filter was initialized with, the preprocessing and reverting that is an
implementation detail.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]