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
UsedSegmentLister
getUsedSegmentsForIntervals
in interface UsedSegmentLister
dataSource
- The datasource to queryintervals
- The intervals for which used segments are to be returnedIOException
Copyright © 2011–2017. All rights reserved.