HBASE-14283 Reverse scan doesn’t work with HFile inline index/bloom blocks - 
ADDENDUM


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e80b4473
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e80b4473
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e80b4473

Branch: refs/heads/branch-1.1
Commit: e80b447354f211fc21c2bbc42a0d9bc000835e71
Parents: 0db04a1
Author: Enis Soztutar <e...@apache.org>
Authored: Mon Oct 26 17:36:53 2015 -0700
Committer: Enis Soztutar <e...@apache.org>
Committed: Mon Oct 26 17:37:09 2015 -0700

----------------------------------------------------------------------
 hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e80b4473/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java 
b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
index a89d573..5192074 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
@@ -916,4 +916,8 @@ public final class CellUtil {
   public static boolean matchingType(Cell a, Cell b) {
     return a.getTypeByte() == b.getTypeByte();
   }
+
+  public static boolean matchingTimestamp(Cell a, Cell b) {
+    return CellComparator.compareTimestamps(a, b) == 0;
+  }
 }

Reply via email to