|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.splunk.ResultsReader
public abstract class ResultsReader
The ResultsReader
class is a base class for the streaming readers
for Splunk search results. This class should not be used to retrieve preview
results for an export search.
Method Summary | |
---|---|
void |
close()
Closes the reader and returns resources. |
Event |
getNextEvent()
Returns the next event in the event stream. |
java.util.Iterator<Event> |
iterator()
Returns an iterator over the events from this reader. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.splunk.SearchResults |
---|
getFields, isPreview |
Method Detail |
---|
public void close() throws java.io.IOException
java.io.IOException
- On IO exception.public final Event getNextEvent() throws java.io.IOException
Event
class to interpret multi-item values.
java.io.IOException
- On IO exception.public final java.util.Iterator<Event> iterator()
iterator
in interface java.lang.Iterable<Event>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |