public class NewestSegmentFirstPolicy extends Object implements CompactionSegmentSearchPolicy
| Constructor and Description |
|---|
NewestSegmentFirstPolicy() |
| Modifier and Type | Method and Description |
|---|---|
CompactionSegmentIterator |
reset(Map<String,DataSourceCompactionConfig> compactionConfigs,
Map<String,org.apache.druid.timeline.VersionedIntervalTimeline<String,org.apache.druid.timeline.DataSegment>> dataSources)
Reset the current states of this policy.
|
public CompactionSegmentIterator reset(Map<String,DataSourceCompactionConfig> compactionConfigs, Map<String,org.apache.druid.timeline.VersionedIntervalTimeline<String,org.apache.druid.timeline.DataSegment>> dataSources)
CompactionSegmentSearchPolicyreset in interface CompactionSegmentSearchPolicyCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.