Package org.apache.druid.client.indexing
Class ClientCompactionIntervalSpec
- java.lang.Object
-
- org.apache.druid.client.indexing.ClientCompactionIntervalSpec
-
public class ClientCompactionIntervalSpec extends Object
InputSpec forClientCompactionIOConfig. Should be synchronized with org.apache.druid.indexing.common.task.CompactionIntervalSpec.
-
-
Constructor Summary
Constructors Constructor Description ClientCompactionIntervalSpec(org.joda.time.Interval interval, String sha256OfSortedSegmentIds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ClientCompactionIntervalSpecfromSegments(List<org.apache.druid.timeline.DataSegment> segments, org.apache.druid.java.util.common.granularity.Granularity segmentGranularity)org.joda.time.IntervalgetInterval()StringgetSha256OfSortedSegmentIds()StringgetType()inthashCode()StringtoString()
-
-
-
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()
-
-