org.eigenbase.sql2rel
Class RelStructuredTypeFlattener.RewriteRexShuttle

java.lang.Object
  extended by org.eigenbase.rex.RexShuttle
      extended by org.eigenbase.sql2rel.RelStructuredTypeFlattener.RewriteRexShuttle
All Implemented Interfaces:
RexVisitor<RexNode>
Enclosing class:
RelStructuredTypeFlattener

private class RelStructuredTypeFlattener.RewriteRexShuttle
extends RexShuttle


Constructor Summary
private RelStructuredTypeFlattener.RewriteRexShuttle()
           
 
Method Summary
private  RexNode flattenComparison(RexBuilder rexBuilder, SqlOperator op, RexNode[] exprs)
           
private  RelDataType removeDistinct(RelDataType type)
           
 RexNode visitCall(RexCall rexCall)
           
 RexNode visitFieldAccess(RexFieldAccess fieldAccess)
           
 RexNode visitInputRef(RexInputRef input)
           
 
Methods inherited from class org.eigenbase.rex.RexShuttle
apply, apply, visitArray, visitCorrelVariable, visitDynamicParam, visitLiteral, visitLocalRef, visitOver, visitRangeRef, visitWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelStructuredTypeFlattener.RewriteRexShuttle

private RelStructuredTypeFlattener.RewriteRexShuttle()
Method Detail

visitInputRef

public RexNode visitInputRef(RexInputRef input)
Specified by:
visitInputRef in interface RexVisitor<RexNode>
Overrides:
visitInputRef in class RexShuttle

removeDistinct

private RelDataType removeDistinct(RelDataType type)

visitFieldAccess

public RexNode visitFieldAccess(RexFieldAccess fieldAccess)
Specified by:
visitFieldAccess in interface RexVisitor<RexNode>
Overrides:
visitFieldAccess in class RexShuttle

visitCall

public RexNode visitCall(RexCall rexCall)
Specified by:
visitCall in interface RexVisitor<RexNode>
Overrides:
visitCall in class RexShuttle

flattenComparison

private RexNode flattenComparison(RexBuilder rexBuilder,
                                  SqlOperator op,
                                  RexNode[] exprs)