Package io.trino.orc.metadata.statistics
Class BooleanStatistics
- java.lang.Object
-
- io.trino.orc.metadata.statistics.BooleanStatistics
-
- All Implemented Interfaces:
StatisticsHasher.Hashable
public class BooleanStatistics extends Object implements StatisticsHasher.Hashable
-
-
Field Summary
Fields Modifier and Type Field Description static longBOOLEAN_VALUE_BYTES
-
Constructor Summary
Constructors Constructor Description BooleanStatistics(long trueValueCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHash(StatisticsHasher hasher)booleanequals(Object o)longgetRetainedSizeInBytes()longgetTrueValueCount()inthashCode()StringtoString()
-
-
-
Field Detail
-
BOOLEAN_VALUE_BYTES
public static final long BOOLEAN_VALUE_BYTES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTrueValueCount
public long getTrueValueCount()
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
-
addHash
public void addHash(StatisticsHasher hasher)
- Specified by:
addHashin interfaceStatisticsHasher.Hashable
-
-