org.eigenbase.rex
Class RexSqlStandardConvertletTable
java.lang.Object
org.eigenbase.rex.RexSqlReflectiveConvertletTable
org.eigenbase.rex.RexSqlStandardConvertletTable
- All Implemented Interfaces:
- RexSqlConvertletTable
public class RexSqlStandardConvertletTable
- extends RexSqlReflectiveConvertletTable
Standard implementation of RexSqlConvertletTable
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RexSqlStandardConvertletTable
public RexSqlStandardConvertletTable()
convertCall
public SqlNode convertCall(RexToSqlNodeConverter converter,
RexCall call)
- Converts a call to an operator into a
SqlCall
to the same
operator.
Called automatically via reflection.
- Parameters:
converter
- Convertercall
- Call
- Returns:
- Sql call
convertExpression
private SqlNode convertExpression(RexToSqlNodeConverter converter,
RexNode expr)
- Converts an expression from
RexNode
to SqlNode
format.
- Parameters:
converter
- Converterexpr
- Expression to translate
- Returns:
- Converted expression
convertExpressionList
private SqlNode[] convertExpressionList(RexToSqlNodeConverter converter,
RexNode[] nodes)
convertBinaryOp
private SqlNode convertBinaryOp(SqlOperator operator,
RexToSqlNodeConverter converter,
RexCall call)
convertPrefixOp
private SqlNode convertPrefixOp(SqlOperator operator,
RexToSqlNodeConverter converter,
RexCall call)
convertPostfixOp
private SqlNode convertPostfixOp(SqlOperator operator,
RexToSqlNodeConverter converter,
RexCall call)