public class RexToSqlNodeConverterImpl extends java.lang.Object implements RexToSqlNodeConverter
RexToSqlNodeConverter
.Modifier and Type | Field and Description |
---|---|
private RexSqlConvertletTable |
convertletTable |
Constructor and Description |
---|
RexToSqlNodeConverterImpl(RexSqlConvertletTable convertletTable) |
Modifier and Type | Method and Description |
---|---|
SqlNode |
convertCall(RexCall call)
|
SqlNode |
convertInputRef(RexInputRef ref)
Converts a
RexInputRef to a SqlIdentifier . |
SqlNode |
convertLiteral(RexLiteral literal)
Converts a
RexLiteral to a SqlLiteral . |
SqlNode |
convertNode(RexNode node)
|
private final RexSqlConvertletTable convertletTable
public RexToSqlNodeConverterImpl(RexSqlConvertletTable convertletTable)
public SqlNode convertNode(RexNode node)
RexToSqlNodeConverter
RexNode
to a SqlNode
expression,
typically by dispatching to one of the other interface methods.convertNode
in interface RexToSqlNodeConverter
node
- RexNode to translatepublic SqlNode convertCall(RexCall call)
RexToSqlNodeConverter
convertCall
in interface RexToSqlNodeConverter
call
- RexCall to translatepublic SqlNode convertLiteral(RexLiteral literal)
RexToSqlNodeConverter
RexLiteral
to a SqlLiteral
.convertLiteral
in interface RexToSqlNodeConverter
literal
- RexLiteral to translatepublic SqlNode convertInputRef(RexInputRef ref)
RexToSqlNodeConverter
RexInputRef
to a SqlIdentifier
.convertInputRef
in interface RexToSqlNodeConverter
ref
- RexInputRef to translateCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.