Package org.apache.druid.segment
Class IncrementalIndexTimeBoundaryInspector
java.lang.Object
org.apache.druid.segment.IncrementalIndexTimeBoundaryInspector
- All Implemented Interfaces:
TimeBoundaryInspector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTimeUpper bound onColumnHolder.TIME_COLUMN_NAME.org.joda.time.DateTimeLower bound onColumnHolder.TIME_COLUMN_NAME.booleanWhether the lower and upper bounds returned byTimeBoundaryInspector.getMinTime()andTimeBoundaryInspector.getMaxTime()are actually found in the dataset.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.segment.TimeBoundaryInspector
getMinMaxInterval
-
Constructor Details
-
IncrementalIndexTimeBoundaryInspector
-
-
Method Details
-
getMinTime
public org.joda.time.DateTime getMinTime()Description copied from interface:TimeBoundaryInspectorLower bound onColumnHolder.TIME_COLUMN_NAME. Matches the lowest timestamp in the dataset ifTimeBoundaryInspector.isMinMaxExact().- Specified by:
getMinTimein interfaceTimeBoundaryInspector
-
getMaxTime
public org.joda.time.DateTime getMaxTime()Description copied from interface:TimeBoundaryInspectorUpper bound onColumnHolder.TIME_COLUMN_NAME. Strict ifTimeBoundaryInspector.isMinMaxExact(). Matches the highest timestamp in the dataset ifTimeBoundaryInspector.isMinMaxExact().- Specified by:
getMaxTimein interfaceTimeBoundaryInspector
-
isMinMaxExact
public boolean isMinMaxExact()Description copied from interface:TimeBoundaryInspectorWhether the lower and upper bounds returned byTimeBoundaryInspector.getMinTime()andTimeBoundaryInspector.getMaxTime()are actually found in the dataset. If true, the bounds are strict and can be used substitutes for aggregationsMIN(__time)andMAX(__time).- Specified by:
isMinMaxExactin interfaceTimeBoundaryInspector
-