Package io.trino.sql.planner
Class DomainTranslator
java.lang.Object
io.trino.sql.planner.DomainTranslator
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExtractionResult(PlannerContext plannerContext, Session session, Expression predicate, TypeProvider types) Convert an Expression predicate into an ExtractionResult consisting of: 1) A successfully extracted TupleDomain 2) An Expression fragment which represents the part of the original Expression that will need to be re-evaluated after filtering with the TupleDomain.toPredicate(TupleDomain<Symbol> tupleDomain)
-
Constructor Details
-
DomainTranslator
-
-
Method Details
-
toPredicate
-
getExtractionResult
public static DomainTranslator.ExtractionResult getExtractionResult(PlannerContext plannerContext, Session session, Expression predicate, TypeProvider types) Convert an Expression predicate into an ExtractionResult consisting of: 1) A successfully extracted TupleDomain 2) An Expression fragment which represents the part of the original Expression that will need to be re-evaluated after filtering with the TupleDomain.
-