Package io.hawt.log
Class LogResults
- java.lang.Object
-
- io.hawt.log.LogResults
-
- All Implemented Interfaces:
java.io.Serializable
public class LogResults extends java.lang.Object implements java.io.SerializableResults of a query which also records the first and last timestamp searched- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LogResults()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEvent(LogEvent event)java.util.List<LogEvent>getEvents()java.lang.LonggetFromTimestamp()java.lang.StringgetHost()java.lang.LonggetToTimestamp()voidsetEvents(java.util.List<LogEvent> events)voidsetFromTimestamp(java.lang.Long fromTimestamp)voidsetHost(java.lang.String host)voidsetToTimestamp(java.lang.Long toTimestamp)
-
-
-
Method Detail
-
addEvent
public void addEvent(LogEvent event)
-
getEvents
public java.util.List<LogEvent> getEvents()
-
setEvents
public void setEvents(java.util.List<LogEvent> events)
-
getFromTimestamp
public java.lang.Long getFromTimestamp()
-
setFromTimestamp
public void setFromTimestamp(java.lang.Long fromTimestamp)
-
getToTimestamp
public java.lang.Long getToTimestamp()
-
setToTimestamp
public void setToTimestamp(java.lang.Long toTimestamp)
-
getHost
public java.lang.String getHost()
-
setHost
public void setHost(java.lang.String host)
-
-