public class NewestSegmentFirstIterator extends Object implements CompactionSegmentIterator
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
List<DataSegment> |
next() |
Map<String,CompactionStatistics> |
totalCompactedStatistics()
Return a map of dataSourceName to CompactionStatistics.
|
Map<String,CompactionStatistics> |
totalSkippedStatistics()
Return a map of dataSourceName to CompactionStatistics.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic Map<String,CompactionStatistics> totalCompactedStatistics()
CompactionSegmentIteratorIterator.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.totalCompactedStatistics in interface CompactionSegmentIteratorpublic Map<String,CompactionStatistics> totalSkippedStatistics()
CompactionSegmentIteratorIterator.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.totalSkippedStatistics in interface CompactionSegmentIteratorpublic boolean hasNext()
hasNext in interface Iterator<List<DataSegment>>public List<DataSegment> next()
next in interface Iterator<List<DataSegment>>Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.