Class ClusterCompactionConfig

java.lang.Object
org.apache.druid.server.coordinator.ClusterCompactionConfig

public class ClusterCompactionConfig extends Object
Cluster-level compaction configs. All fields of this class are nullable. A non-null value denotes that the corresponding field has been explicitly specified.
  • Constructor Details

  • Method Details

    • getCompactionTaskSlotRatio

      public double getCompactionTaskSlotRatio()
    • getMaxCompactionTaskSlots

      public int getMaxCompactionTaskSlots()
    • getCompactionPolicy

      public CompactionCandidateSearchPolicy getCompactionPolicy()
    • isUseSupervisors

      public boolean isUseSupervisors()
    • getEngine

      public CompactionEngine getEngine()
    • isStoreCompactionStatePerSegment

      public boolean isStoreCompactionStatePerSegment()
      Whether to persist last compaction state directly in segments for backwards compatibility.

      In a future release this option will be removed and last compaction state will no longer be persisted in segments. Instead, it will only be stored in the metadata store with a fingerprint id that segments will reference. Some operators may want to disable this behavior early to begin saving space in segment metadatastore table entries.

    • 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
    • toBuilder

      public ClusterCompactionConfig.Builder toBuilder()
    • builder

      public static ClusterCompactionConfig.Builder builder()