Class EmptyTimeRange

java.lang.Object
org.graylog2.plugin.indexer.searches.timeranges.TimeRange
org.graylog.plugins.views.search.engine.EmptyTimeRange

public class EmptyTimeRange extends TimeRange
Dummy class to allow constructing an empty query instance.
  • Constructor Details

    • EmptyTimeRange

      public EmptyTimeRange()
  • Method Details

    • type

      public String type()
      Specified by:
      type in class TimeRange
    • getFrom

      public org.joda.time.DateTime getFrom()
      Specified by:
      getFrom in class TimeRange
    • getTo

      public org.joda.time.DateTime getTo()
      Specified by:
      getTo in class TimeRange
    • emptyTimeRange

      public static TimeRange emptyTimeRange()