Class CompactionState


  • public class CompactionState
    extends Object
    This class describes what compaction task spec was used to create a given segment. The compaction task is a task that reads Druid segments and overwrites them with new ones. Since this task always reads segments in the same order, the same task spec will always create the same set of segments (not same segment ID, but same content). Note that this class doesn't include all fields in the compaction task spec. Only the configurations that can affect the content of segment should be included.
    See Also:
    DataSegment.lastCompactionState