@Override
    public int seekTo(ExtendedCell key) throws IOException {
      return seekTo(key, true);
    }
Within a loaded block, seek looking for the last key that is smaller than (or equal to?) the
key we are interested in. A note on the seekBefore: if you have seekBefore = true, AND the
first key in the block = key, then you'll get thrown exceptions. The caller has to check for
that case and load the previous block as appropriate. the key to find find the key before the
given key in case of exact match.
@return 0 in case of an exact key match, 1 in case of an inexact match, -2 in case of an
        inexact match and furthermore, the input key less than the first key of current
        block(e.g. using a faked index key)
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.java