Class SegmentsToCompact
- java.lang.Object
-
- org.apache.druid.server.coordinator.compact.SegmentsToCompact
-
public class SegmentsToCompact extends Object
List of segments to compact.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SegmentsToCompactfrom(List<org.apache.druid.timeline.DataSegment> segments)org.apache.druid.timeline.DataSegmentgetFirst()longgetNumIntervals()List<org.apache.druid.timeline.DataSegment>getSegments()longgetTotalBytes()org.joda.time.IntervalgetUmbrellaInterval()booleanisEmpty()intsize()StringtoString()
-
-
-
Method Detail
-
from
public static SegmentsToCompact from(List<org.apache.druid.timeline.DataSegment> segments)
-
getSegments
public List<org.apache.druid.timeline.DataSegment> getSegments()
-
getFirst
public org.apache.druid.timeline.DataSegment getFirst()
-
isEmpty
public boolean isEmpty()
-
getTotalBytes
public long getTotalBytes()
-
size
public int size()
-
getUmbrellaInterval
public org.joda.time.Interval getUmbrellaInterval()
-
getNumIntervals
public long getNumIntervals()
-
-