Class ClientCompactionIntervalSpec


  • public class ClientCompactionIntervalSpec
    extends Object
    InputSpec for ClientCompactionIOConfig. Should be synchronized with org.apache.druid.indexing.common.task.CompactionIntervalSpec.
    • Constructor Detail

      • ClientCompactionIntervalSpec

        public ClientCompactionIntervalSpec​(org.joda.time.Interval interval,
                                            @Nullable
                                            String sha256OfSortedSegmentIds)
    • Method Detail

      • fromSegments

        public static ClientCompactionIntervalSpec fromSegments​(List<org.apache.druid.timeline.DataSegment> segments,
                                                                @Nullable
                                                                org.apache.druid.java.util.common.granularity.Granularity segmentGranularity)
      • getType

        public String getType()
      • getInterval

        public org.joda.time.Interval getInterval()
      • getSha256OfSortedSegmentIds

        @Nullable
        public String getSha256OfSortedSegmentIds()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object