|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SqlRexContext
Contains the context necessary for a SqlRexConvertlet to convert a
SqlNode expression into a RexNode.
| Method Summary | |
|---|---|
RexNode |
convertExpression(SqlNode expr)
Converts an expression from SqlNode to RexNode format. |
RexNode |
convertLiteral(SqlLiteral literal)
Converts a literal. |
DefaultValueFactory |
getDefaultValueFactory()
Returns the factory which supplies default values for INSERT, UPDATE, and NEW. |
RexBuilder |
getRexBuilder()
Returns the RexBuilder to use to create RexNode objects. |
RexRangeRef |
getSubqueryExpr(SqlCall call)
Returns the expression used to access a given IN or EXISTS sub-query. |
RelDataTypeFactory |
getTypeFactory()
Returns the type factory. |
SqlValidator |
getValidator()
Returns the validator. |
| Method Detail |
|---|
RexNode convertExpression(SqlNode expr)
SqlNode to RexNode format.
expr - Expression to translate
RexBuilder getRexBuilder()
RexBuilder to use to create RexNode objects.
RexRangeRef getSubqueryExpr(SqlCall call)
sub-query.
call - IN or EXISTS expression
RelDataTypeFactory getTypeFactory()
DefaultValueFactory getDefaultValueFactory()
SqlValidator getValidator()
RexNode convertLiteral(SqlLiteral literal)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||