Package org.apache.calcite.rex
Class RexToSqlNodeConverterImpl
java.lang.Object
org.apache.calcite.rex.RexToSqlNodeConverterImpl
- All Implemented Interfaces:
RexToSqlNodeConverter
Standard implementation of
RexToSqlNodeConverter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable SqlNodeconvertCall(RexCall call) @Nullable SqlNodeConverts aRexInputRefto aSqlIdentifier.@Nullable SqlNodeconvertLiteral(RexLiteral literal) Converts aRexLiteralto aSqlLiteral.@Nullable SqlNodeconvertNode(RexNode node)
-
Constructor Details
-
RexToSqlNodeConverterImpl
-
-
Method Details
-
convertNode
Description copied from interface:RexToSqlNodeConverterConverts aRexNodeto aSqlNodeexpression, typically by dispatching to one of the other interface methods.- Specified by:
convertNodein interfaceRexToSqlNodeConverter- Parameters:
node- RexNode to translate- Returns:
- SqlNode, or null if no translation was available
-
convertCall
Description copied from interface:RexToSqlNodeConverter- Specified by:
convertCallin interfaceRexToSqlNodeConverter- Parameters:
call- RexCall to translate- Returns:
- SqlNode, or null if no translation was available
-
convertLiteral
Description copied from interface:RexToSqlNodeConverterConverts aRexLiteralto aSqlLiteral.- Specified by:
convertLiteralin interfaceRexToSqlNodeConverter- Parameters:
literal- RexLiteral to translate- Returns:
- SqlNode, or null if no translation was available
-
convertInputRef
Description copied from interface:RexToSqlNodeConverterConverts aRexInputRefto aSqlIdentifier.- Specified by:
convertInputRefin interfaceRexToSqlNodeConverter- Parameters:
ref- RexInputRef to translate- Returns:
- SqlNode, or null if no translation was available
-