Class ClientKillUnusedSegmentsTaskQuery

  • All Implemented Interfaces:
    ClientTaskQuery

    public class ClientKillUnusedSegmentsTaskQuery
    extends Object
    implements ClientTaskQuery
    Client representation of org.apache.druid.indexing.common.task.KillUnusedSegmentsTask. JSON searialization fields of this class must correspond to those of org.apache.druid.indexing.common.task.KillUnusedSegmentsTask, except for id and context fields.
    • Method Detail

      • 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}/markUnused to explicitly mark segments as unused. Segments may also be marked unused by the Coordinator if they become overshadowed or have a DropRule applied to them.
      • getBatchSize

        public Integer getBatchSize()
      • getMaxUsedStatusLastUpdatedTime

        @Nullable
        public org.joda.time.DateTime getMaxUsedStatusLastUpdatedTime()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object