Package org.apache.calcite.rex
Class RexSqlStandardConvertletTable
java.lang.Object
org.apache.calcite.rex.RexSqlReflectiveConvertletTable
org.apache.calcite.rex.RexSqlStandardConvertletTable
- All Implemented Interfaces:
RexSqlConvertletTable
Standard implementation of
RexSqlConvertletTable
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable SqlNode
convertCall
(RexToSqlNodeConverter converter, RexCall call) Converts a call to an operator into aSqlCall
to the same operator.protected void
Creates and registers a convertlet for an operator in which the SQL and Rex representations are structurally equivalent.Methods inherited from class org.apache.calcite.rex.RexSqlReflectiveConvertletTable
get, registerOp
-
Constructor Details
-
RexSqlStandardConvertletTable
public RexSqlStandardConvertletTable()
-
-
Method Details
-
convertCall
Converts a call to an operator into aSqlCall
to the same operator.Called automatically via reflection.
- Parameters:
converter
- Convertercall
- Call- Returns:
- Sql call
-
registerEquivOp
Creates and registers a convertlet for an operator in which the SQL and Rex representations are structurally equivalent.- Parameters:
op
- operator instance
-