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