public class DecimalStatistics extends Object implements RangeStatistics<BigDecimal>, StatisticsHasher.Hashable
Modifier and Type | Field and Description |
---|---|
static long |
DECIMAL_VALUE_BYTES_OVERHEAD |
Constructor and Description |
---|
DecimalStatistics(BigDecimal minimum,
BigDecimal maximum,
long decimalSizeInBytes) |
Modifier and Type | Method and Description |
---|---|
void |
addHash(StatisticsHasher hasher) |
boolean |
equals(Object o) |
BigDecimal |
getMax() |
BigDecimal |
getMin() |
long |
getRetainedSizeInBytes() |
int |
hashCode() |
String |
toString() |
public static final long DECIMAL_VALUE_BYTES_OVERHEAD
public DecimalStatistics(BigDecimal minimum, BigDecimal maximum, long decimalSizeInBytes)
public BigDecimal getMin()
getMin
in interface RangeStatistics<BigDecimal>
public BigDecimal getMax()
getMax
in interface RangeStatistics<BigDecimal>
public long getRetainedSizeInBytes()
getRetainedSizeInBytes
in interface RangeStatistics<BigDecimal>
public void addHash(StatisticsHasher hasher)
addHash
in interface StatisticsHasher.Hashable
Copyright © 2012–2019. All rights reserved.