public static class HadoopConverterTask.ConverterSubTask extends HadoopTask
IS_DRUID_URL| Constructor and Description |
|---|
ConverterSubTask(List<DataSegment> segments,
HadoopConverterTask parent,
Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
HadoopConverterTask |
getParent() |
List<DataSegment> |
getSegments() |
String |
getType()
Returns a descriptive label for this task type.
|
boolean |
isReady(TaskActionClient taskActionClient)
Execute preflight actions for a task.
|
TaskStatus |
run(TaskToolbox toolbox)
Execute a task.
|
buildClassLoader, buildClassLoader, getHadoopDependencyCoordinates, invokeForeignLoadercanRestore, equals, getClasspathPrefix, getContext, getContextValue, getDataSource, getGroupId, getId, getNodeType, getQueryRunner, getTaskLocks, getTaskResource, hashCode, joinId, makeId, stopGracefully, success, toStringpublic ConverterSubTask(List<DataSegment> segments, HadoopConverterTask parent, Map<String,Object> context)
public List<DataSegment> getSegments()
public HadoopConverterTask getParent()
public String getType()
Taskpublic boolean isReady(TaskActionClient taskActionClient) throws Exception
TasktaskActionClient - action client for this task (not the full toolbox)Exception - if the task should be considered a failurepublic TaskStatus run(TaskToolbox toolbox) throws Exception
Tasktoolbox - Toolbox for this taskException - if this task failedCopyright © 2011–2017. All rights reserved.