|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.splunk.MultiResultsReader<T>
public class MultiResultsReader<T extends ResultsReader>
The MultiResultsReader
class represents a streaming reader
for Splunk search results. Using <T extends ResultsReader>
allows
specialization of T
in subclasses of MultiResultsReader
, such
as MultiResultsReaderXml
and MultiResultsReaderJson
.
Method Summary | |
---|---|
void |
close()
Closes the reader and releases resources. |
protected T |
getNextElement()
Get the next element. |
java.util.Iterator<SearchResults> |
iterator()
Returns an iterator over the sets of results from this reader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final java.util.Iterator<SearchResults> iterator()
iterator
in interface java.lang.Iterable<SearchResults>
public final void close() throws java.io.IOException
java.io.IOException
protected final T getNextElement()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |