public class ExprNodeConverter extends org.apache.calcite.rex.RexVisitorImpl<ExprNodeDesc>
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
ExprNodeConverter(String tabAlias,
org.apache.calcite.rel.type.RelDataType inputRowType,
Set<Integer> vCols,
org.apache.calcite.rel.type.RelDataTypeFactory dTFactory) |
ExprNodeConverter(String tabAlias,
String columnAlias,
org.apache.calcite.rel.type.RelDataType inputRowType,
org.apache.calcite.rel.type.RelDataType outputRowType,
Set<Integer> inputVCols,
org.apache.calcite.rel.type.RelDataTypeFactory dTFactory) |
Modifier and Type | Method and Description |
---|---|
WindowingSpec.WindowFunctionSpec |
getWindowFunctionSpec() |
ExprNodeDesc |
visitCall(org.apache.calcite.rex.RexCall call)
TODO: Handle 1) cast 2) Field Access 3) Windowing Over() 4, Windowing Agg Call
|
ExprNodeDesc |
visitInputRef(org.apache.calcite.rex.RexInputRef inputRef) |
ExprNodeDesc |
visitLiteral(org.apache.calcite.rex.RexLiteral literal)
TODO: 1.
|
ExprNodeDesc |
visitOver(org.apache.calcite.rex.RexOver over) |
public ExprNodeConverter(String tabAlias, org.apache.calcite.rel.type.RelDataType inputRowType, Set<Integer> vCols, org.apache.calcite.rel.type.RelDataTypeFactory dTFactory)
public WindowingSpec.WindowFunctionSpec getWindowFunctionSpec()
public ExprNodeDesc visitInputRef(org.apache.calcite.rex.RexInputRef inputRef)
visitInputRef
in interface org.apache.calcite.rex.RexVisitor<ExprNodeDesc>
visitInputRef
in class org.apache.calcite.rex.RexVisitorImpl<ExprNodeDesc>
public ExprNodeDesc visitCall(org.apache.calcite.rex.RexCall call)
visitCall
in interface org.apache.calcite.rex.RexVisitor<ExprNodeDesc>
visitCall
in class org.apache.calcite.rex.RexVisitorImpl<ExprNodeDesc>
public ExprNodeDesc visitLiteral(org.apache.calcite.rex.RexLiteral literal)
visitLiteral
in interface org.apache.calcite.rex.RexVisitor<ExprNodeDesc>
visitLiteral
in class org.apache.calcite.rex.RexVisitorImpl<ExprNodeDesc>
public ExprNodeDesc visitOver(org.apache.calcite.rex.RexOver over)
visitOver
in interface org.apache.calcite.rex.RexVisitor<ExprNodeDesc>
visitOver
in class org.apache.calcite.rex.RexVisitorImpl<ExprNodeDesc>
Copyright © 2017 The Apache Software Foundation. All rights reserved.