|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SqlNodeToRexConverter
Converts expressions from SqlNode
to RexNode
.
Method Summary | |
---|---|
RexNode |
convertCall(SqlRexContext cx,
SqlCall call)
Converts a SqlCall to a RexNode expression. |
RexLiteral |
convertInterval(SqlRexContext cx,
SqlIntervalQualifier intervalQualifier)
Converts a SQL Interval Qualifier to a
REX literal . |
RexNode |
convertLiteral(SqlRexContext cx,
SqlLiteral literal)
Converts a SQL literal to a REX
literal . |
Method Detail |
---|
RexNode convertCall(SqlRexContext cx, SqlCall call)
SqlCall
to a RexNode
expression.
RexNode convertLiteral(SqlRexContext cx, SqlLiteral literal)
SQL literal
to a REX
literal
.
The result is RexNode
, not RexLiteral
because if the
literal is NULL (or the boolean Unknown value), we make a CAST(NULL
AS type)
expression.
RexLiteral convertInterval(SqlRexContext cx, SqlIntervalQualifier intervalQualifier)
SQL Interval Qualifier
to a
REX literal
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |