public class RexSqlStandardConvertletTable extends RexSqlReflectiveConvertletTable
RexSqlConvertletTable
.Modifier and Type | Class and Description |
---|---|
private class |
RexSqlStandardConvertletTable.EquivConvertlet
|
Constructor and Description |
---|
RexSqlStandardConvertletTable() |
Modifier and Type | Method and Description |
---|---|
SqlNode |
convertCall(RexToSqlNodeConverter converter,
RexCall call)
Converts a call to an operator into a
SqlCall to the same
operator. |
private SqlNode[] |
convertExpressionList(RexToSqlNodeConverter converter,
java.util.List<RexNode> nodes) |
private void |
registerCaseOp(SqlOperator op)
Creates and registers a convertlet for the CASE operator,
which takes different forms for SQL vs Rex.
|
protected void |
registerEquivOp(SqlOperator op)
Creates and registers a convertlet for an operator in which
the SQL and Rex representations are structurally equivalent.
|
private void |
registerTypeAppendOp(SqlOperator op)
Creates and registers a convertlet for an operator in which
the SQL representation needs the result type appended
as an extra argument (e.g.
|
get, registerOp
public SqlNode convertCall(RexToSqlNodeConverter converter, RexCall call)
SqlCall
to the same
operator.
Called automatically via reflection.
converter
- Convertercall
- Callprivate SqlNode[] convertExpressionList(RexToSqlNodeConverter converter, java.util.List<RexNode> nodes)
protected void registerEquivOp(SqlOperator op)
op
- operator instanceprivate void registerTypeAppendOp(SqlOperator op)
op
- operator instanceprivate void registerCaseOp(SqlOperator op)
op
- instance of CASE operatorCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.