public class SameIntervalMergeTask extends AbstractFixedIntervalTask
| Modifier and Type | Class and Description |
|---|---|
static class |
SameIntervalMergeTask.SubTask |
| Constructor and Description |
|---|
SameIntervalMergeTask(String id,
String dataSource,
org.joda.time.Interval interval,
List<AggregatorFactory> aggregators,
Boolean rollup,
IndexSpec indexSpec,
Boolean buildV9Directly,
Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
List<AggregatorFactory> |
getAggregators() |
Boolean |
getBuildV9Directly() |
IndexSpec |
getIndexSpec() |
Boolean |
getRollup() |
String |
getType()
Returns a descriptive label for this task type.
|
static String |
makeId(String id,
String typeName,
String dataSource,
org.joda.time.Interval interval) |
TaskStatus |
run(TaskToolbox toolbox)
Execute a task.
|
getInterval, isReadycanRestore, equals, getClasspathPrefix, getContext, getContextValue, getDataSource, getGroupId, getId, getNodeType, getQueryRunner, getTaskLocks, getTaskResource, hashCode, joinId, stopGracefully, success, toStringpublic List<AggregatorFactory> getAggregators()
public Boolean getRollup()
public IndexSpec getIndexSpec()
public Boolean getBuildV9Directly()
public static String makeId(String id, String typeName, String dataSource, org.joda.time.Interval interval)
public String getType()
Taskpublic TaskStatus run(TaskToolbox toolbox) throws Exception
Tasktoolbox - Toolbox for this taskException - if this task failedCopyright © 2011–2017. All rights reserved.