Package org.apache.druid.client.indexing
Class ClientCompactionIntervalSpec
java.lang.Object
org.apache.druid.client.indexing.ClientCompactionIntervalSpec
InputSpec for
ClientCompactionIOConfig.
Should be synchronized with org.apache.druid.indexing.common.task.CompactionIntervalSpec.-
Constructor Summary
ConstructorsConstructorDescriptionClientCompactionIntervalSpec(org.joda.time.Interval interval, String sha256OfSortedSegmentIds) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ClientCompactionIntervalSpecfromSegments(List<DataSegment> segments, Granularity segmentGranularity) org.joda.time.IntervalgetType()inthashCode()toString()
-
Constructor Details
-
ClientCompactionIntervalSpec
public ClientCompactionIntervalSpec(org.joda.time.Interval interval, @Nullable String sha256OfSortedSegmentIds)
-
-
Method Details
-
fromSegments
public static ClientCompactionIntervalSpec fromSegments(List<DataSegment> segments, @Nullable Granularity segmentGranularity) -
getType
-
getInterval
public org.joda.time.Interval getInterval() -
getSha256OfSortedSegmentIds
-
equals
-
hashCode
public int hashCode() -
toString
-