Apache9 commented on a change in pull request #774: HBASE-23221 Polish the WAL
interface after HBASE-23181
URL: https://github.com/apache/hbase/pull/774#discussion_r340397870
##########
File path: hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
##########
@@ -898,6 +898,15 @@ public static boolean matchingColumn(final Cell left,
final byte[] fam, final by
return matchingQualifier(left, qual);
}
+ /**
+ * @return True if matching column family and the qualifier starts with
<code>qual</code>
+ */
+ public static boolean matchingColumnFamilyAndQualifierPrefix(final Cell
left, final byte[] fam,
+ final byte[] qual) {
+ if (!matchingFamily(left, fam)) return false;
Review comment:
Checkstyle warning
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services