Class RexSqlStandardConvertletTable

java.lang.Object
org.apache.calcite.rex.RexSqlReflectiveConvertletTable
org.apache.calcite.rex.RexSqlStandardConvertletTable
All Implemented Interfaces:
RexSqlConvertletTable

public class RexSqlStandardConvertletTable extends RexSqlReflectiveConvertletTable
Standard implementation of RexSqlConvertletTable.
  • Constructor Details

    • RexSqlStandardConvertletTable

      public RexSqlStandardConvertletTable()
  • Method Details

    • convertCall

      public @Nullable SqlNode convertCall(RexToSqlNodeConverter converter, RexCall call)
      Converts a call to an operator into a SqlCall to the same operator.

      Called automatically via reflection.

      Parameters:
      converter - Converter
      call - Call
      Returns:
      Sql call
    • registerEquivOp

      protected void registerEquivOp(SqlOperator op)
      Creates and registers a convertlet for an operator in which the SQL and Rex representations are structurally equivalent.
      Parameters:
      op - operator instance