Package org.apache.druid.client.indexing
Class ClientKillUnusedSegmentsTaskQuery
- java.lang.Object
-
- org.apache.druid.client.indexing.ClientKillUnusedSegmentsTaskQuery
-
- All Implemented Interfaces:
ClientTaskQuery
public class ClientKillUnusedSegmentsTaskQuery extends Object implements ClientTaskQuery
Client representation oforg.apache.druid.indexing.common.task.KillUnusedSegmentsTask. JSON searialization fields of this class must correspond to those oforg.apache.druid.indexing.common.task.KillUnusedSegmentsTask, except foridandcontextfields.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)IntegergetBatchSize()StringgetDataSource()StringgetId()org.joda.time.IntervalgetInterval()IntegergetLimit()BooleangetMarkAsUnused()Deprecated.org.joda.time.DateTimegetMaxUsedStatusLastUpdatedTime()StringgetType()inthashCode()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceClientTaskQuery
-
getType
public String getType()
- Specified by:
getTypein interfaceClientTaskQuery
-
getDataSource
public String getDataSource()
- Specified by:
getDataSourcein interfaceClientTaskQuery
-
getInterval
public org.joda.time.Interval getInterval()
-
getMarkAsUnused
@Deprecated public Boolean getMarkAsUnused()
Deprecated.This field has been deprecated as "kill" tasks should not be responsible for marking segments as unused. Instead, users should call the Coordinator API/{dataSourceName}/markUnusedto explicitly mark segments as unused. Segments may also be marked unused by the Coordinator if they become overshadowed or have aDropRuleapplied to them.
-
getBatchSize
public Integer getBatchSize()
-
getMaxUsedStatusLastUpdatedTime
@Nullable public org.joda.time.DateTime getMaxUsedStatusLastUpdatedTime()
-
-