Package io.trino.sql.planner
Class PartialTranslator
java.lang.Object
io.trino.sql.planner.PartialTranslator
-
Method Summary
Modifier and TypeMethodDescriptionstatic Map<NodeRef<Expression>, ConnectorExpression> extractPartialTranslations(Expression inputExpression, Session session) ProducesConnectorExpressiontranslations for disjoint components in the input expression in a top-down manner.
-
Method Details
-
extractPartialTranslations
public static Map<NodeRef<Expression>,ConnectorExpression> extractPartialTranslations(Expression inputExpression, Session session) ProducesConnectorExpressiontranslations for disjoint components in the input expression in a top-down manner. i.e. if an expression node is translatable, we do not consider its children.
-