Class ExpressionTreeRewriter<C>
java.lang.Object
io.trino.sql.tree.ExpressionTreeRewriter<C>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Expression>
TdefaultRewrite(T node, C context) Invoke the default rewrite logic explicitly.<T extends Expression>
Tstatic <C,T extends Expression>
TrewriteWith(ExpressionRewriter<C> rewriter, T node, C context) static <T extends Expression>
TrewriteWith(ExpressionRewriter<Void> rewriter, T node)
-
Constructor Details
-
ExpressionTreeRewriter
-
-
Method Details
-
rewriteWith
-
rewriteWith
public static <C,T extends Expression> T rewriteWith(ExpressionRewriter<C> rewriter, T node, C context) -
rewrite
-
defaultRewrite
Invoke the default rewrite logic explicitly. Specifically, it skips the invocation of the expression rewriter for the provided node.
-