Class TimeRangeIteratorFactory
- java.lang.Object
-
- org.apache.iotdb.db.mpp.aggregation.timerangeiterator.TimeRangeIteratorFactory
-
public class TimeRangeIteratorFactory extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ITimeRangeIteratorgetTimeRangeIterator(long startTime, long endTime, long interval, long slidingStep, boolean isAscending, boolean isIntervalByMonth, boolean isSlidingStepByMonth, boolean leftCRightO, boolean outputPartialTimeWindow)The method returns different implements of ITimeRangeIterator depending on the parameters.
-
-
-
Method Detail
-
getTimeRangeIterator
public static ITimeRangeIterator getTimeRangeIterator(long startTime, long endTime, long interval, long slidingStep, boolean isAscending, boolean isIntervalByMonth, boolean isSlidingStepByMonth, boolean leftCRightO, boolean outputPartialTimeWindow)
The method returns different implements of ITimeRangeIterator depending on the parameters.Note: interval and slidingStep is always stand for the milliseconds in this method.
-
-