@Override
    public void close() throws IOException {
      if (in != null) {
        in.close();
        in = null;
      }
    }
A private cache of the key value so it doesn't need to be loaded twice from the scanner.
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/HFileInputFormat.java