Aarchy commented on code in PR #109:
URL: https://github.com/apache/phoenix-omid/pull/109#discussion_r945500706


##########
hbase-coprocessor/src/main/java/org/apache/omid/transaction/CellSkipFilterBase.java:
##########
@@ -53,21 +53,21 @@ public CellSkipFilterBase(Filter filter) {
      */
     private boolean skipCellVersion(Cell cell) {
         return skipColumn != null
-        && CellUtil.matchingRow(cell, skipColumn.getRowArray(), 
skipColumn.getRowOffset(),
+        && PrivateCellUtil.matchingRows(cell, skipColumn.getRowArray(), 
skipColumn.getRowOffset(),

Review Comment:
   I agree that InterfaceAudience.Private methods should be avoided. 
Nonetheless, I used it here because the class already has a KeyValue field 
which is also InterfaceAudience.Private. 
   An alternative solution could be to use Cell instead of KeyValue, and maybe 
CellUtil.matchingRows(Cell, Cell) instead of this call. How do you think? How 
should line 73 be changed in this case?



-- 
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: dev-unsubscr...@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to