public class SegmentInsertAction extends Object implements TaskAction<Set<io.druid.timeline.DataSegment>>
| Constructor and Description |
|---|
SegmentInsertAction(Set<io.druid.timeline.DataSegment> segments) |
SegmentInsertAction(Set<io.druid.timeline.DataSegment> segments,
boolean allowOlderVersions) |
| 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 |
isAllowOlderVersions() |
boolean |
isAudited() |
Set<io.druid.timeline.DataSegment> |
perform(Task task,
TaskActionToolbox toolbox) |
String |
toString() |
SegmentInsertAction |
withAllowOlderVersions(boolean _allowOlderVersions) |
public SegmentInsertAction(Set<io.druid.timeline.DataSegment> segments)
public SegmentInsertAction(Set<io.druid.timeline.DataSegment> segments, boolean allowOlderVersions)
public Set<io.druid.timeline.DataSegment> getSegments()
public boolean isAllowOlderVersions()
public SegmentInsertAction withAllowOlderVersions(boolean _allowOlderVersions)
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>>IOExceptionpublic boolean isAudited()
isAudited in interface TaskAction<Set<io.druid.timeline.DataSegment>>Copyright © 2011–2015. All rights reserved.