public interface SqlNodeToRexConverter
Modifier and Type | Method and Description |
---|---|
RexNode |
convertCall(SqlRexContext cx,
SqlCall call)
|
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 . |
RexNode convertCall(SqlRexContext cx, SqlCall call)
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
.Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.