Package io.trino.sql.planner
Class PartialTranslator
- java.lang.Object
-
- io.trino.sql.planner.PartialTranslator
-
public final class PartialTranslator extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<NodeRef<Expression>,ConnectorExpression>extractPartialTranslations(Expression inputExpression, Session session, TypeAnalyzer typeAnalyzer, TypeProvider typeProvider)ProducesConnectorExpressiontranslations for disjoint components in the {@param inputExpression} in a top-down manner.
-
-
-
Method Detail
-
extractPartialTranslations
public static Map<NodeRef<Expression>,ConnectorExpression> extractPartialTranslations(Expression inputExpression, Session session, TypeAnalyzer typeAnalyzer, TypeProvider typeProvider)
ProducesConnectorExpressiontranslations for disjoint components in the {@param inputExpression} in a top-down manner. i.e. if an expression node is translatable, we do not consider its children.
-
-