Package io.trino.orc
Class TupleDomainOrcPredicate
- java.lang.Object
-
- io.trino.orc.TupleDomainOrcPredicate
-
- All Implemented Interfaces:
OrcPredicate
public class TupleDomainOrcPredicate extends Object implements OrcPredicate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTupleDomainOrcPredicate.TupleDomainOrcPredicateBuilder
-
Field Summary
-
Fields inherited from interface io.trino.orc.OrcPredicate
TRUE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TupleDomainOrcPredicate.TupleDomainOrcPredicateBuilderbuilder()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 Detail
-
builder
public static TupleDomainOrcPredicate.TupleDomainOrcPredicateBuilder builder()
-
matches
public boolean matches(long numberOfRows, ColumnMetadata<ColumnStatistics> allColumnStatistics)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
public static Domain getDomain(Type type, long rowCount, ColumnStatistics columnStatistics)
-
-