Interface ClientTaskQuery

All Known Implementing Classes:
ClientCompactionTaskQuery, ClientKillUnusedSegmentsTaskQuery

public interface ClientTaskQuery
org.apache.druid.indexing.common.task.Task representations for clients. The magic conversion happens right at the moment of making a REST query: OverlordClient.runTask(String, Object) serializes ClientTaskQuery objects and org.apache.druid.indexing.overlord.http.OverlordResource.taskPost() deserializes org.apache.druid.indexing.common.task.Task objects from the same bytes. Therefore JSON serialization fields of ClientTaskQuery objects must match with those of the corresponding org.apache.druid.indexing.common.task.Task objects.
  • Method Details