Class BatchIndexingJob
java.lang.Object
org.apache.druid.indexing.template.BatchIndexingJob
A batch indexing job that can be launched by the Overlord as a task.
A job may contain the
ClientTaskQuery itself or an MSQ query that gets converted
by the Broker to a ControllerTask and is then submitted to the Overlord.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBatchIndexingJob(ClientTaskQuery task, ClientSqlQuery msqQuery) -
Method Summary
-
Constructor Details
-
BatchIndexingJob
-
-
Method Details
-
getNonNullMsqQuery
- Returns:
- MSQ query to be run in this job, if any.
- Throws:
NullPointerException- if this not an MSQ job.
-
getNonNullTask
- Returns:
- Task to be run in this job, if any.
- Throws:
NullPointerException- if this is an MSQ job.
-
isMsq
public boolean isMsq()- Returns:
- true if this is an MSQ SQL job.
-
toString
-