public static class ConvertSegmentTask.SubTask extends AbstractFixedIntervalTask
| Constructor and Description |
|---|
SubTask(String groupId,
DataSegment segment,
IndexSpec indexSpec,
Boolean force,
Boolean validate,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory,
Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
DataSegment |
getSegment() |
String |
getType()
Returns a descriptive label for this task type.
|
boolean |
isForce() |
boolean |
isValidate() |
TaskStatus |
run(TaskToolbox toolbox)
Execute a task.
|
getInterval, isReadycanRestore, equals, getClasspathPrefix, getContext, getDataSource, getGroupId, getId, getNodeType, getQueryRunner, getTaskResource, hashCode, stopGracefully, success, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContextValue, getContextValue, getPrioritypublic SubTask(String groupId, DataSegment segment, IndexSpec indexSpec, Boolean force, Boolean validate, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory, Map<String,Object> context)
public boolean isValidate()
public boolean isForce()
public DataSegment getSegment()
public String getType()
Taskpublic TaskStatus run(TaskToolbox toolbox) throws Exception
Tasktoolbox - Toolbox for this taskException - if this task failedCopyright © 2011–2018. All rights reserved.