Package org.apache.calcite.rex
Interface RexToSqlNodeConverter
-
- All Known Implementing Classes:
RexToSqlNodeConverterImpl
public interface RexToSqlNodeConverter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SqlNode
convertCall(RexCall call)
SqlNode
convertInputRef(RexInputRef ref)
Converts aRexInputRef
to aSqlIdentifier
.SqlNode
convertLiteral(RexLiteral literal)
Converts aRexLiteral
to aSqlLiteral
.SqlNode
convertNode(RexNode node)
-
-
-
Method Detail
-
convertNode
SqlNode convertNode(RexNode node)
Converts aRexNode
to aSqlNode
expression, typically by dispatching to one of the other interface methods.- Parameters:
node
- RexNode to translate- Returns:
- SqlNode, or null if no translation was available
-
convertCall
SqlNode convertCall(RexCall call)
- Parameters:
call
- RexCall to translate- Returns:
- SqlNode, or null if no translation was available
-
convertLiteral
SqlNode convertLiteral(RexLiteral literal)
Converts aRexLiteral
to aSqlLiteral
.- Parameters:
literal
- RexLiteral to translate- Returns:
- SqlNode, or null if no translation was available
-
convertInputRef
SqlNode convertInputRef(RexInputRef ref)
Converts aRexInputRef
to aSqlIdentifier
.- Parameters:
ref
- RexInputRef to translate- Returns:
- SqlNode, or null if no translation was available
-
-