Class LogResults
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.logging.LogResults
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class LogResults extends java.lang.Object implements java.io.SerializableThe results of a query to the logging system. Contains a set of events, and potentially an estimate of the total number of events that might be available, if the filter set a limit.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description LogResults(java.util.List<LogEvent> events)LogResults(java.util.List<LogEvent> events, int estimatedTotalResults)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEstimatedTotalResults()If the query was page limited (limitPageTo() on the LogQueryConfig builder), and would have had more results, this is an estimate of the number.java.util.List<LogEvent>getEvents()
 
- 
- 
- 
Method Detail- 
getEventspublic java.util.List<LogEvent> getEvents() 
 - 
getEstimatedTotalResultspublic int getEstimatedTotalResults() If the query was page limited (limitPageTo() on the LogQueryConfig builder), and would have had more results, this is an estimate of the number. If the underlying system can't provide this information, this will return 0. Also, this is only expected to be calculated the "first" time, which generally means when pageLimit!=0 and offset==0 on the filter.
 
- 
 
-