Package io.trino.sql.planner
Class DomainTranslator
java.lang.Object
io.trino.sql.planner.DomainTranslator
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetExtractionResult(PlannerContext plannerContext, Session session, Expression predicate) 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.static ExpressiontoPredicate(TupleDomain<Symbol> tupleDomain)
-
Method Details
-
toPredicate
-
getExtractionResult
public static DomainTranslator.ExtractionResult getExtractionResult(PlannerContext plannerContext, Session session, Expression predicate) 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.
-