cshannon commented on code in PR #3830:
URL: https://github.com/apache/accumulo/pull/3830#discussion_r1356900786


##########
core/src/main/java/org/apache/accumulo/core/data/Range.java:
##########
@@ -305,6 +320,20 @@ public boolean afterEndKey(Key key) {
     return stop.compareTo(key) <= 0;
   }
 
+  /**
+   * Determines if the given row is after the ending row of this range.
+   *
+   * @param row row to check
+   * @return true if the given row is after the range, otherwise false
+   */
+  public boolean afterEndRow(Text row) {
+    if (infiniteStopKey) {
+      return false;
+    }
+
+    return stopKeyInclusive ? stop.getRow().compareTo(row) < 0 : 
stop.getRow().compareTo(row) <= 0;

Review Comment:
   It is likely not going to be worth the effort to do that so I will get rid 
of these new methods.



-- 
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]

Reply via email to