public class SegmentRowCountDistribution extends Object
| Constructor and Description |
|---|
SegmentRowCountDistribution() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRowCountToDistribution(long rowCount)
Increments the count for a particular bucket held in this class
|
void |
addTombstoneToDistribution()
Increments the count for number of tombstones in the distribution
|
void |
forEachDimension(ObjIntConsumer<String> consumer)
Gives the consumer the range dimension and the associated count.
|
void |
removeRowCountFromDistribution(long rowCount)
Decrements the count for a particular bucket held in this class
|
void |
removeTombstoneFromDistribution()
Decrements the count for the number of tombstones in he distribution.
|
public void addRowCountToDistribution(long rowCount)
rowCount - the number of rows to figure out which bucket to incrementpublic void removeRowCountFromDistribution(long rowCount)
rowCount - the count which determines which bucket to decrementpublic void addTombstoneToDistribution()
public void removeTombstoneFromDistribution()
public void forEachDimension(ObjIntConsumer<String> consumer)
consumer - Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.