private static boolean matchesQuery(KeyValue kv, Set<String> qualSet, int maxVersions,
    Map<String, Long> lastDelTimeMap) {
    Long lastDelTS = lastDelTimeMap.get(getRowQualStr(kv));
    long ts = kv.getTimestamp();
    return qualSet.contains(qualStr(kv)) && ts >= TIMESTAMPS[TIMESTAMPS.length - maxVersions]
      && (lastDelTS == null || ts > lastDelTS);
  }
The probability to delete a row/column pair
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiColumnScanner.java