Package org.apache.calcite.rex
Class RexSqlReflectiveConvertletTable
java.lang.Object
org.apache.calcite.rex.RexSqlReflectiveConvertletTable
- All Implemented Interfaces:
RexSqlConvertletTable
- Direct Known Subclasses:
RexSqlStandardConvertletTable
Implementation of
RexSqlConvertletTable
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable RexSqlConvertlet
Returns the convertlet applicable to a given expression.protected void
registerOp
(SqlOperator op, RexSqlConvertlet convertlet) Registers a convertlet for a given operator instance.
-
Constructor Details
-
RexSqlReflectiveConvertletTable
public RexSqlReflectiveConvertletTable()
-
-
Method Details
-
get
Description copied from interface:RexSqlConvertletTable
Returns the convertlet applicable to a given expression.- Specified by:
get
in interfaceRexSqlConvertletTable
-
registerOp
Registers a convertlet for a given operator instance.- Parameters:
op
- Operator instance, saySqlStdOperatorTable.MINUS
convertlet
- Convertlet
-