@Override
    public synchronized boolean next(Void key, RowContainer<R> value) throws IOException {
      if (isEOF || in.available() == 0) {
        isEOF = true;
        return false;
      }

      // the deserializer is responsible for actually reading each record from
      // the stream
      try {
        value.row = deserializer.deserialize(value.row);
        if (value.row == null) {
          isEOF = true;
          return false;
        }
        return true;
      } catch (EOFException e) {
        isEOF = true;
        return false;
      }
    }
Returns the next row # and value.

@param key
         - void as these files have a value only
@param value
         - the row container which is always re-used, but the internal
         value may be set to a new Object
@return whether the key and value were read. True if they were and false
        if EOF
@exception IOException
             from the deserializer
ql/src/java/org/apache/hadoop/hive/ql/io/FlatFileInputFormat.java