Class SplunkDataReader
- java.lang.Object
-
- org.apache.camel.component.splunk.support.SplunkDataReader
-
public class SplunkDataReader extends Object
-
-
Constructor Summary
Constructors Constructor Description SplunkDataReader(SplunkEndpoint endpoint, ConsumerType consumerType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()StringgetEarliestTime()StringgetInitEarliestTime()StringgetLatestTime()StringgetSearch()List<SplunkEvent>read()List<SplunkEvent>read(SplunkResultProcessor callback)
-
-
-
Constructor Detail
-
SplunkDataReader
public SplunkDataReader(SplunkEndpoint endpoint, ConsumerType consumerType)
-
-
Method Detail
-
getCount
public int getCount()
-
getSearch
public String getSearch()
-
getEarliestTime
public String getEarliestTime()
-
getLatestTime
public String getLatestTime()
-
getInitEarliestTime
public String getInitEarliestTime()
-
read
public List<SplunkEvent> read() throws Exception
- Throws:
Exception
-
read
public List<SplunkEvent> read(SplunkResultProcessor callback) throws Exception
- Throws:
Exception
-
-