public class SegmentListUsedAction extends Object implements TaskAction<List<io.druid.timeline.DataSegment>>
Constructor and Description |
---|
SegmentListUsedAction(String dataSource,
org.joda.time.Interval interval) |
Modifier and Type | Method and Description |
---|---|
String |
getDataSource() |
org.joda.time.Interval |
getInterval() |
com.fasterxml.jackson.core.type.TypeReference<List<io.druid.timeline.DataSegment>> |
getReturnTypeReference() |
boolean |
isAudited() |
List<io.druid.timeline.DataSegment> |
perform(Task task,
TaskActionToolbox toolbox) |
String |
toString() |
public SegmentListUsedAction(String dataSource, org.joda.time.Interval interval)
public String getDataSource()
public org.joda.time.Interval getInterval()
public com.fasterxml.jackson.core.type.TypeReference<List<io.druid.timeline.DataSegment>> getReturnTypeReference()
getReturnTypeReference
in interface TaskAction<List<io.druid.timeline.DataSegment>>
public List<io.druid.timeline.DataSegment> perform(Task task, TaskActionToolbox toolbox) throws IOException
perform
in interface TaskAction<List<io.druid.timeline.DataSegment>>
IOException
public boolean isAudited()
isAudited
in interface TaskAction<List<io.druid.timeline.DataSegment>>
Copyright © 2011–2015. All rights reserved.