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