Class RelativeRange
java.lang.Object
org.graylog2.plugin.indexer.searches.timeranges.TimeRange
org.graylog2.plugin.indexer.searches.timeranges.RelativeRange
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RelativeRangeallTime()static RelativeRangecreate(int range) abstract OptionalIntfrom()org.joda.time.DateTimegetFrom()intgetRange()org.joda.time.DateTimegetTo()booleanabstract OptionalIntrange()abstract OptionalIntto()type()
-
Field Details
-
RELATIVE
- See Also:
-
-
Constructor Details
-
RelativeRange
public RelativeRange()
-
-
Method Details
-
type
-
range
-
from
-
to
-
getRange
public int getRange() -
getFrom
public org.joda.time.DateTime getFrom() -
getTo
public org.joda.time.DateTime getTo() -
isAllMessages
public boolean isAllMessages() -
create
- Throws:
InvalidRangeParametersException
-
allTime
-