public static class ConvertSegmentTask.SubTask extends AbstractFixedIntervalTask
| Constructor and Description |
|---|
ConvertSegmentTask.SubTask(String groupId,
io.druid.timeline.DataSegment segment,
IndexSpec indexSpec,
Boolean force,
Boolean validate) |
| Modifier and Type | Method and Description |
|---|---|
io.druid.timeline.DataSegment |
getSegment() |
String |
getType()
Returns a descriptive label for this task type.
|
boolean |
isForce() |
boolean |
isValidate() |
TaskStatus |
run(TaskToolbox toolbox)
Execute a task.
|
getInterval, isReadyequals, getClasspathPrefix, getDataSource, getGroupId, getId, getNodeType, getQueryRunner, getTaskLocks, getTaskResource, hashCode, joinId, makeId, success, toStringpublic boolean isValidate()
public boolean isForce()
public io.druid.timeline.DataSegment getSegment()
public String getType()
Taskpublic TaskStatus run(TaskToolbox toolbox) throws Exception
Tasktoolbox - Toolbox for this taskException - if this task failedCopyright © 2011–2015. All rights reserved.