Class PreAggrWindowWithNaturalMonthIterator

    • Constructor Summary

      Constructors 
      Constructor Description
      PreAggrWindowWithNaturalMonthIterator​(long startTime, long endTime, long interval, long slidingStep, boolean isAscending, boolean isSlidingStepByMonth, boolean isIntervalByMonth)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.iotdb.tsfile.read.common.TimeRange getFirstTimeRange()
      return the first time range by sorting order
      boolean hasNextTimeRange()  
      boolean isAscending()  
      org.apache.iotdb.tsfile.read.common.TimeRange nextTimeRange()
      return the next time range according to curStartTime (the start time of the last returned time range)
      • Methods inherited from class java.lang.Object

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

      • PreAggrWindowWithNaturalMonthIterator

        public PreAggrWindowWithNaturalMonthIterator​(long startTime,
                                                     long endTime,
                                                     long interval,
                                                     long slidingStep,
                                                     boolean isAscending,
                                                     boolean isSlidingStepByMonth,
                                                     boolean isIntervalByMonth)
    • Method Detail

      • hasNextTimeRange

        public boolean hasNextTimeRange()
        Specified by:
        hasNextTimeRange in interface ITimeRangeIterator
        Returns:
        whether current iterator has next time range
      • nextTimeRange

        public org.apache.iotdb.tsfile.read.common.TimeRange nextTimeRange()
        Description copied from interface: ITimeRangeIterator
        return the next time range according to curStartTime (the start time of the last returned time range)
        Specified by:
        nextTimeRange in interface ITimeRangeIterator