public class NewestSegmentFirstPolicy extends Object implements CompactionSegmentSearchPolicy
| Constructor and Description |
|---|
NewestSegmentFirstPolicy(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
CompactionSegmentIterator |
reset(Map<String,DataSourceCompactionConfig> compactionConfigs,
Map<String,VersionedIntervalTimeline<String,DataSegment>> dataSources,
Map<String,List<org.joda.time.Interval>> skipIntervals)
Reset the current states of this policy.
|
public NewestSegmentFirstPolicy(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public CompactionSegmentIterator reset(Map<String,DataSourceCompactionConfig> compactionConfigs, Map<String,VersionedIntervalTimeline<String,DataSegment>> dataSources, Map<String,List<org.joda.time.Interval>> skipIntervals)
CompactionSegmentSearchPolicyreset in interface CompactionSegmentSearchPolicyCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.