Class TimeRangeIteratorFactory


  • public class TimeRangeIteratorFactory
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ITimeRangeIterator getTimeRangeIterator​(long startTime, long endTime, long interval, long slidingStep, boolean isAscending, boolean isIntervalByMonth, boolean isSlidingStepByMonth, boolean isPreAggr)
      The method returns different implements of ITimeRangeIterator depending on the parameters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTimeRangeIterator

        public static ITimeRangeIterator getTimeRangeIterator​(long startTime,
                                                              long endTime,
                                                              long interval,
                                                              long slidingStep,
                                                              boolean isAscending,
                                                              boolean isIntervalByMonth,
                                                              boolean isSlidingStepByMonth,
                                                              boolean isPreAggr)
        The method returns different implements of ITimeRangeIterator depending on the parameters.

        Note: interval and slidingStep stand for the milliseconds if not grouped by month, or the month count if grouped by month.