code: @Override
    protected long download(T object, File outFile) throws IOException
    {
      openObjectFunction.open(object, outFile);
      return outFile.length();
    }
docs: Downloads the entire resultset object into a file. This avoids maintaining a
  persistent connection to the database. The retry is performed at the query execution layer.
  
  @param object  sql query for which the resultset is to be downloaded
  @param outFile a file which the object data is stored
  
  @return size of downloaded resultset