public Long read() throws IOException {
    if (reader == null) {
      initReader();
    }
    assert reader != null;
    return reader.read();
  }
public Long read ( ) throws IOException { if ( reader == null ) { initReader ( ) ; } assert reader != null ; return reader . read ( ) ; }
@return the index of added Chunk record or null if finished
@throws IOException