public class SegmentInsertAction extends Object implements TaskAction<Set<io.druid.timeline.DataSegment>>
Constructor and Description |
---|
SegmentInsertAction(Set<io.druid.timeline.DataSegment> segments) |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.core.type.TypeReference<Set<io.druid.timeline.DataSegment>> |
getReturnTypeReference() |
Set<io.druid.timeline.DataSegment> |
getSegments() |
boolean |
isAudited() |
Set<io.druid.timeline.DataSegment> |
perform(Task task,
TaskActionToolbox toolbox) |
String |
toString() |
public SegmentInsertAction(Set<io.druid.timeline.DataSegment> segments)
public Set<io.druid.timeline.DataSegment> getSegments()
public com.fasterxml.jackson.core.type.TypeReference<Set<io.druid.timeline.DataSegment>> getReturnTypeReference()
getReturnTypeReference
in interface TaskAction<Set<io.druid.timeline.DataSegment>>
public Set<io.druid.timeline.DataSegment> perform(Task task, TaskActionToolbox toolbox) throws IOException
perform
in interface TaskAction<Set<io.druid.timeline.DataSegment>>
IOException
public boolean isAudited()
isAudited
in interface TaskAction<Set<io.druid.timeline.DataSegment>>
Copyright © 2011–2016. All rights reserved.