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
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable SqlNodeconvertCall(RexToSqlNodeConverter converter, RexCall call) Converts a call to an operator into aSqlCallto the same operator.protected voidCreates 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 aSqlCallto 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
-