Package io.trino.orc.metadata.statistics
Class BinaryStatistics
- java.lang.Object
-
- io.trino.orc.metadata.statistics.BinaryStatistics
-
- All Implemented Interfaces:
StatisticsHasher.Hashable
public class BinaryStatistics extends Object implements StatisticsHasher.Hashable
-
-
Field Summary
Fields Modifier and Type Field Description static longBINARY_VALUE_BYTES_OVERHEAD
-
Constructor Summary
Constructors Constructor Description BinaryStatistics(long sum)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHash(StatisticsHasher hasher)longgetRetainedSizeInBytes()longgetSum()StringtoString()
-
-
-
Field Detail
-
BINARY_VALUE_BYTES_OVERHEAD
public static final long BINARY_VALUE_BYTES_OVERHEAD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSum
public long getSum()
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
-
addHash
public void addHash(StatisticsHasher hasher)
- Specified by:
addHashin interfaceStatisticsHasher.Hashable
-
-