Class CompactionStatistics
java.lang.Object
org.apache.druid.server.compaction.CompactionStatistics
Used to track statistics for segments in different states of compaction.
totalRows can be null for old segments where row count was not stored.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompactionStatisticsvoiddecrement(CompactionStatistics other) longlonglongvoidincrement(CompactionStatistics other) toString()
-
Constructor Details
-
CompactionStatistics
public CompactionStatistics()
-
-
Method Details
-
create
public static CompactionStatistics create(long bytes, Long totalRows, long numSegments, long numIntervals) -
getTotalBytes
public long getTotalBytes() -
getTotalRows
-
getNumSegments
public long getNumSegments() -
getNumIntervals
public long getNumIntervals() -
increment
-
decrement
-
toString
-