Class ClientCompactionIntervalSpec

java.lang.Object
org.apache.druid.client.indexing.ClientCompactionIntervalSpec
All Implemented Interfaces:
ClientCompactionInputSpec
Direct Known Subclasses:
ClientMinorCompactionInputSpec

public class ClientCompactionIntervalSpec extends Object implements ClientCompactionInputSpec
InputSpec for ClientCompactionIOConfig.

Should be synchronized with org.apache.druid.indexing.common.task.CompactionIntervalSpec and org.apache.druid.indexing.common.task.UncompactedInputSpec.

  • Field Details

  • Constructor Details

    • ClientCompactionIntervalSpec

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

    • getInterval

      public org.joda.time.Interval getInterval()
      Specified by:
      getInterval in interface ClientCompactionInputSpec
      Returns:
      non-null Interval that this input spec operates on.
    • getSha256OfSortedSegmentIds

      @Nullable public String getSha256OfSortedSegmentIds()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object