private boolean isCellAfterCurrentWriter(Cell cell) {
      return !Arrays.equals(currentWriterEndKey, StripeStoreFileManager.OPEN_KEY)
        && (comparator.compareRows(cell, currentWriterEndKey, 0, currentWriterEndKey.length) >= 0);
    }
@param targetBoundaries The boundaries on which writers/files are separated.
@param majorRangeFrom   Major range is the range for which at least one file should be
                        written (because all files are included in compaction).
                        majorRangeFrom is the left boundary.
@param majorRangeTo     The right boundary of majorRange (see majorRangeFrom).
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StripeMultiFileWriter.java