|
||||||||
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.
Constructor Summary | |
---|---|
ResultsReader(java.io.InputStream inputStream)
Class constructor. |
Method Summary | |
---|---|
void |
close()
Closes the reader and returns resources. |
abstract Event |
getNextEvent()
Returns the next event in the event stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultsReader(java.io.InputStream inputStream) throws java.io.IOException
inputStream
- The unread return input stream from a Splunk query or
export.
java.io.IOException
- On IO exception.Method Detail |
---|
public void close() throws java.io.IOException
java.io.IOException
- On IO exception.public abstract Event getNextEvent() throws java.io.IOException
Event
class to interpret multi-item values.
java.io.IOException
- On IO exception.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |