public class OverlordActionBasedUsedSegmentLister extends Object implements UsedSegmentLister
| Constructor and Description | 
|---|
OverlordActionBasedUsedSegmentLister(TaskToolbox toolbox)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<DataSegment> | 
getUsedSegmentsForIntervals(String dataSource,
                           List<org.joda.time.Interval> intervals)
Get all segments which may include any data in the interval and are flagged as used. 
 | 
@Inject public OverlordActionBasedUsedSegmentLister(TaskToolbox toolbox)
public List<DataSegment> getUsedSegmentsForIntervals(String dataSource, List<org.joda.time.Interval> intervals) throws IOException
UsedSegmentListergetUsedSegmentsForIntervals in interface UsedSegmentListerdataSource - The datasource to queryintervals - The intervals for which used segments are to be returnedIOExceptionCopyright © 2011–2018. All rights reserved.