public static class SizeStatisticsCollectorCursor.SizeStatisticsResults extends Object
Modifier and Type | Method and Description |
---|---|
double |
getAverage()
Get the mean size (in bytes) of combined key-value pairs in the requested key range.
|
double |
getAverageKeySize()
Get the mean size (in bytes) of keys in the requested key range.
|
double |
getAverageValueSize()
Get the mean size (in bytes) of values in the requested key range.
|
long |
getKeyCount()
Get the total number of keys in the requested key range.
|
long |
getKeySize()
Get the total size (in bytes) of all keys in the requested key range.
|
long |
getMaxKeySize()
Get the size (in bytes) of the largest key in the requested key range.
|
long |
getMaxValueSize()
Get the size (in bytes) of the largest value in the requested key range.
|
double |
getMedian()
Get an estimate for the size of the median key-value pair.
|
double |
getP90()
Get an estimate for the size of the 90th percentile key-value pair.
|
double |
getP95()
Get an estimate for the size of the 95th percentile key-value pair.
|
double |
getProportion(double proportion)
Get an estimate for the size for which the provided proportion of key-value pairs have a combined
size that is less than that size.
|
long[] |
getSizeBuckets()
Get an array of buckets used to get an estimate of size distribution.
|
long |
getTotalSize()
Get the total size (in bytes) of all keys and values in the requested key range.
|
long |
getValueSize()
Get the total size (in bytes) of all values in the requested key range.
|
@Nonnull public long getKeyCount()
@Nonnull public long getKeySize()
@Nonnull public long getMaxKeySize()
@Nonnull public long getValueSize()
@Nonnull public long getMaxValueSize()
@Nonnull public long getTotalSize()
@Nonnull public double getAverageKeySize()
@Nonnull public double getAverageValueSize()
@Nonnull public double getAverage()
@Nonnull public long[] getSizeBuckets()
public double getProportion(double proportion)
proportion
- the proportion of key-value pairs that should have a size less than the returned sizepublic double getMedian()
public double getP90()
public double getP95()