public interface CompactionSegmentIterator extends Iterator<List<DataSegment>>
DataSegment.compareTo(org.apache.druid.timeline.DataSegment)).| Modifier and Type | Method and Description |
|---|---|
Map<String,CompactionStatistics> |
totalCompactedStatistics()
Return a map of dataSourceName to CompactionStatistics.
|
Map<String,CompactionStatistics> |
totalSkippedStatistics()
Return a map of dataSourceName to CompactionStatistics.
|
forEachRemaining, hasNext, next, removeMap<String,CompactionStatistics> totalCompactedStatistics()
Iterator.next() becuase it does not needs compaction.
Note that the aggregations returned by this method is only up to the current point of the iterator being iterated.Map<String,CompactionStatistics> totalSkippedStatistics()
Iterator.next() becuase it cannot be compacted.
Note that the aggregations returned by this method is only up to the current point of the iterator being iterated.Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.