public class HadoopConverterTask extends ConvertSegmentTask
| Modifier and Type | Class and Description |
|---|---|
static class |
HadoopConverterTask.ConverterSubTask |
static class |
HadoopConverterTask.JobInvoker |
ConvertSegmentTask.SubTask| Constructor and Description |
|---|
HadoopConverterTask(String id,
String dataSource,
org.joda.time.Interval interval,
IndexSpec indexSpec,
boolean force,
Boolean validate,
List<String> hadoopDependencyCoordinates,
URI distributedSuccessCache,
String jobPriority,
String segmentOutputPath,
String classpathPrefix) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<Task> |
generateSubTasks(String groupId,
Iterable<io.druid.timeline.DataSegment> segments,
IndexSpec indexSpec,
boolean force,
boolean validate) |
String |
getClasspathPrefix()
Returns an extra classpath that should be prepended to the default classpath when running this task.
|
URI |
getDistributedSuccessCache() |
List<String> |
getHadoopDependencyCoordinates() |
String |
getJobPriority() |
io.druid.timeline.DataSegment |
getSegment() |
String |
getSegmentOutputPath() |
String |
getType()
Returns a descriptive label for this task type.
|
create, create, equals, getIndexSpec, isForce, isValidate, rungetInterval, isReadygetDataSource, getGroupId, getId, getNodeType, getQueryRunner, getTaskLocks, getTaskResource, hashCode, joinId, makeId, success, toStringpublic HadoopConverterTask(String id, String dataSource, org.joda.time.Interval interval, IndexSpec indexSpec, boolean force, Boolean validate, List<String> hadoopDependencyCoordinates, URI distributedSuccessCache, String jobPriority, String segmentOutputPath, String classpathPrefix)
public URI getDistributedSuccessCache()
public String getJobPriority()
public String getSegmentOutputPath()
public String getClasspathPrefix()
TaskgetClasspathPrefix in interface TaskgetClasspathPrefix in class AbstractTaskprotected Iterable<Task> generateSubTasks(String groupId, Iterable<io.druid.timeline.DataSegment> segments, IndexSpec indexSpec, boolean force, boolean validate)
generateSubTasks in class ConvertSegmentTaskpublic io.druid.timeline.DataSegment getSegment()
getSegment in class ConvertSegmentTaskCopyright © 2011–2015. All rights reserved.