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