Interface ITimeRangeIterator

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      long currentOutputTime()
      As there is only one timestamp can be output for a time range, this method will return the output time based on leftCloseRightOpen or not.
      default org.apache.iotdb.tsfile.read.common.TimeRange getFinalTimeRange​(org.apache.iotdb.tsfile.read.common.TimeRange timeRange, boolean leftCRightO)  
      org.apache.iotdb.tsfile.read.common.TimeRange getFirstTimeRange()
      return the first time range by sorting order
      long getTotalIntervalNum()  
      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)
    • Method Detail

      • getFirstTimeRange

        org.apache.iotdb.tsfile.read.common.TimeRange getFirstTimeRange()
        return the first time range by sorting order
      • hasNextTimeRange

        boolean hasNextTimeRange()
        Returns:
        whether current iterator has next time range
      • nextTimeRange

        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)
      • isAscending

        boolean isAscending()
      • getFinalTimeRange

        default org.apache.iotdb.tsfile.read.common.TimeRange getFinalTimeRange​(org.apache.iotdb.tsfile.read.common.TimeRange timeRange,
                                                                                boolean leftCRightO)
      • currentOutputTime

        long currentOutputTime()
        As there is only one timestamp can be output for a time range, this method will return the output time based on leftCloseRightOpen or not.
        Returns:
        minTime if leftCloseRightOpen, else maxTime.
      • getTotalIntervalNum

        long getTotalIntervalNum()