Interface CompactionSegmentSearchPolicy
-
- All Known Implementing Classes:
NewestSegmentFirstPolicy
public interface CompactionSegmentSearchPolicySegment searching policy used byCompactSegments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompactionSegmentIteratorreset(Map<String,DataSourceCompactionConfig> compactionConfigs, Map<String,org.apache.druid.timeline.SegmentTimeline> dataSources, Map<String,List<org.joda.time.Interval>> skipIntervals)Reset the current states of this policy.
-
-
-
Method Detail
-
reset
CompactionSegmentIterator reset(Map<String,DataSourceCompactionConfig> compactionConfigs, Map<String,org.apache.druid.timeline.SegmentTimeline> dataSources, Map<String,List<org.joda.time.Interval>> skipIntervals)
Reset the current states of this policy. This method should be called whenever iterating starts.
-
-