public interface SearchResults extends java.lang.Iterable<Event>
SearchResults
interface represents Splunk search results.Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getFields()
Returns a collection of field names from the results.
|
boolean |
isPreview()
Indicates whether the results are a preview from an unfinished search.
|
boolean isPreview()
true
if the results are a preview, false
if not.java.util.Collection<java.lang.String> getFields()
Note that any given result will contain a subset of these fields.