Class TupleDomainOrcPredicate
java.lang.Object
io.trino.orc.TupleDomainOrcPredicate
- All Implemented Interfaces:
OrcPredicate
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from interface io.trino.orc.OrcPredicate
TRUE -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static booleancheckInBloomFilter(BloomFilter bloomFilter, Object predicateValue, Type sqlType) static DomaingetDomain(Type type, long rowCount, ColumnStatistics columnStatistics) booleanmatches(long numberOfRows, ColumnMetadata<ColumnStatistics> allColumnStatistics) Should the ORC reader process a file section with the specified statistics.
-
Method Details
-
builder
-
matches
Description copied from interface:OrcPredicateShould the ORC reader process a file section with the specified statistics.- Specified by:
matchesin interfaceOrcPredicate- Parameters:
numberOfRows- the number of rows in the segment; this can be used withColumnStatisticsto determine if a column is only nullallColumnStatistics- column statistics
-
checkInBloomFilter
public static boolean checkInBloomFilter(BloomFilter bloomFilter, Object predicateValue, Type sqlType) -
getDomain
-