public class OverlordActionBasedUsedSegmentLister extends Object implements UsedSegmentLister
| Constructor and Description |
|---|
OverlordActionBasedUsedSegmentLister(TaskToolbox toolbox) |
| Modifier and Type | Method and Description |
|---|---|
List<io.druid.timeline.DataSegment> |
getUsedSegmentsForInterval(String dataSource,
org.joda.time.Interval interval)
Get all segments which may include any data in the interval and are flagged as used.
|
@Inject public OverlordActionBasedUsedSegmentLister(TaskToolbox toolbox)
public List<io.druid.timeline.DataSegment> getUsedSegmentsForInterval(String dataSource, org.joda.time.Interval interval) throws IOException
UsedSegmentListergetUsedSegmentsForInterval in interface UsedSegmentListerdataSource - The datasource to queryinterval - The interval for which all applicable and used datasources are requested. Start is inclusive, end is exclusiveIOExceptionCopyright © 2011–2015. All rights reserved.