org.eigenbase.rex
Class RexToSqlNodeConverterImpl
java.lang.Object
org.eigenbase.rex.RexToSqlNodeConverterImpl
- All Implemented Interfaces:
- RexToSqlNodeConverter
public class RexToSqlNodeConverterImpl
- extends Object
- implements RexToSqlNodeConverter
Standard implementation of RexToSqlNodeConverter
.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/rex/RexToSqlNodeConverterImpl.java#8 $
- Author:
- Sunny Choi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
convertletTable
private final RexSqlConvertletTable convertletTable
RexToSqlNodeConverterImpl
public RexToSqlNodeConverterImpl(RexSqlConvertletTable convertletTable)
convertCall
public SqlNode convertCall(RexCall call)
- Description copied from interface:
RexToSqlNodeConverter
- Converts a
RexCall
to a SqlNode
expression.
- Specified by:
convertCall
in interface RexToSqlNodeConverter
- Parameters:
call
- RexCall to translate
- Returns:
- SqlNode
convertLiteral
public SqlNode convertLiteral(RexLiteral literal)
- Description copied from interface:
RexToSqlNodeConverter
- Converts a
RexLiteral
to a SqlLiteral
.
- Specified by:
convertLiteral
in interface RexToSqlNodeConverter
- Parameters:
literal
- RexLiteral to translate
- Returns:
- SqlNode
convertInputRef
public SqlNode convertInputRef(RexInputRef ref)
- Description copied from interface:
RexToSqlNodeConverter
- Converts a
RexInputRef
to a SqlIdentifier
.
- Specified by:
convertInputRef
in interface RexToSqlNodeConverter
- Parameters:
ref
- RexInputRef to translate
- Returns:
- SqlNode