/** * Returns the {@code InputStream} IO handle for the results from this job. * * @return The results {@code InputStream} IO handle. */ public InputStream getResults() { checkReady(); return getResults(null); }
/** * Returns the {@code InputStream} IO handle for the results from this job. * * @param args Optional arguments (see {@link JobResultsArgs}). * @return The results {@code InputStream} IO handle. */ // NOTE: This overload exists primarily to provide better documentation // for the "args" parameter. public InputStream getResults(JobResultsArgs args) { checkReady(); return getResults((Map<String, Object>) args); }