Class IntervalTree<VALUE>
- java.lang.Object
-
- org.apache.pinot.broker.routing.segmentpruner.interval.IntervalTree<VALUE>
-
public class IntervalTree<VALUE> extends Object
TheIntervalTreeclass represents read-only balanced binary interval tree map (from intervals to values)
-
-
Constructor Summary
Constructors Constructor Description IntervalTree(Map<VALUE,Interval> valueToIntervalMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<VALUE>searchAll(Interval searchInterval)Find all values whose intervals intersect with the input interval.
-