/** * Returns the {@code InputStream} IO handle for the results from this job. * * @param args Optional arguments. * For a list of possible parameters, see the Request parameters for the * <a href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTsearch#GET_search.2Fjobs.2F.7Bsearch_id.7D.2Fresults" * target="_blank">GET search/jobs/{search_id}/results</a> * endpoint in the REST API documentation. * @return The results {@code InputStream} IO handle. */ public InputStream getResults(Map args) { return getEventsMethod("/results", args); }
/** * Returns the {@code InputStream} IO handle for this job's events. * * @param args Optional arguments. * For a list of possible parameters, see the Request parameters for the * <a href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTsearch#GET_search.2Fjobs.2F.7Bsearch_id.7D.2Fevents" * target="_blank">GET search/jobs/{search_id}/events</a> * endpoint in the REST API documentation. * * @return The event {@code InputStream} IO handle. */ public InputStream getEvents(Map args) { return getEventsMethod("/events", args); }
/** * Returns the {@code InputStream} IO handle for the preview results from * this job. * * @param args Optional arguments. * For a list of possible parameters, see the Request parameters for the * <a href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTsearch#GET_search.2Fjobs.2F.7Bsearch_id.7D.2Fresults_preview" * target="_blank">GET search/jobs/{search_id}/results_preview</a> * endpoint in the REST API documentation. * @return The preview results {@code InputStream} IO handle. */ public InputStream getResultsPreview(Map args) { return getEventsMethod("/results_preview", args); }