@Internal public interface SqlExprToRexConverter
RexNode
.Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rex.RexNode |
convertToRexNode(String expr)
Converts a SQL expression to a
RexNode expression. |
org.apache.calcite.rex.RexNode[] |
convertToRexNodes(String[] exprs)
Converts an array of SQL expressions to an array of
RexNode expressions. |
String |
expand(String expr)
Converts the given SQL expression string to an expanded string with fully qualified function
calls and escaped identifiers.
|
String expand(String expr)
E.g. my_udf(f0) + 1
to `my_catalog`.`my_database`.`my_udf`(`f0`) + 1
org.apache.calcite.rex.RexNode convertToRexNode(String expr)
RexNode
expression.expr
- a SQL expression e.g. `my_catalog`.`my_database`.`my_udf`(`f0`) + 1
org.apache.calcite.rex.RexNode[] convertToRexNodes(String[] exprs)
RexNode
expressions.exprs
- a SQL expression e.g. `my_catalog`.`my_database`.`my_udf`(`f0`) + 1
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.