public class ExpressionConverter extends Object implements ExpressionVisitor<org.apache.calcite.rex.RexNode>
RexNode
.Constructor and Description |
---|
ExpressionConverter(org.apache.calcite.tools.RelBuilder relBuilder) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
extractValue(ValueLiteralExpression literal,
Class<T> clazz)
Extracts a value from a literal.
|
static List<org.apache.calcite.rex.RexNode> |
toRexNodes(CallExpressionConvertRule.ConvertContext context,
List<Expression> expr) |
org.apache.calcite.rex.RexNode |
visit(CallExpression call) |
org.apache.calcite.rex.RexNode |
visit(Expression other) |
org.apache.calcite.rex.RexNode |
visit(FieldReferenceExpression fieldReference) |
org.apache.calcite.rex.RexNode |
visit(TypeLiteralExpression typeLiteral) |
org.apache.calcite.rex.RexNode |
visit(ValueLiteralExpression valueLiteral) |
public ExpressionConverter(org.apache.calcite.tools.RelBuilder relBuilder)
public org.apache.calcite.rex.RexNode visit(CallExpression call)
visit
in interface ExpressionVisitor<org.apache.calcite.rex.RexNode>
public org.apache.calcite.rex.RexNode visit(ValueLiteralExpression valueLiteral)
visit
in interface ExpressionVisitor<org.apache.calcite.rex.RexNode>
public org.apache.calcite.rex.RexNode visit(FieldReferenceExpression fieldReference)
visit
in interface ExpressionVisitor<org.apache.calcite.rex.RexNode>
public org.apache.calcite.rex.RexNode visit(TypeLiteralExpression typeLiteral)
visit
in interface ExpressionVisitor<org.apache.calcite.rex.RexNode>
public org.apache.calcite.rex.RexNode visit(Expression other)
visit
in interface ExpressionVisitor<org.apache.calcite.rex.RexNode>
public static List<org.apache.calcite.rex.RexNode> toRexNodes(CallExpressionConvertRule.ConvertContext context, List<Expression> expr)
public static <T> T extractValue(ValueLiteralExpression literal, Class<T> clazz)
DecimalData
.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.