Package io.trino.orc.metadata.statistics
Class DoubleStatistics
- java.lang.Object
-
- io.trino.orc.metadata.statistics.DoubleStatistics
-
- All Implemented Interfaces:
RangeStatistics<Double>,StatisticsHasher.Hashable
public class DoubleStatistics extends Object implements RangeStatistics<Double>, StatisticsHasher.Hashable
-
-
Field Summary
Fields Modifier and Type Field Description static longDOUBLE_VALUE_BYTES
-
Constructor Summary
Constructors Constructor Description DoubleStatistics(Double minimum, Double maximum)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHash(StatisticsHasher hasher)booleanequals(Object o)DoublegetMax()DoublegetMin()longgetRetainedSizeInBytes()inthashCode()StringtoString()
-
-
-
Field Detail
-
DOUBLE_VALUE_BYTES
public static final long DOUBLE_VALUE_BYTES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMin
public Double getMin()
- Specified by:
getMinin interfaceRangeStatistics<Double>
-
getMax
public Double getMax()
- Specified by:
getMaxin interfaceRangeStatistics<Double>
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
- Specified by:
getRetainedSizeInBytesin interfaceRangeStatistics<Double>
-
addHash
public void addHash(StatisticsHasher hasher)
- Specified by:
addHashin interfaceStatisticsHasher.Hashable
-
-