Class AdjustOperatorsSchemaVisitor
java.lang.Object
org.apache.drill.exec.planner.physical.visitor.BasePrelVisitor<Prel,Void,RuntimeException>
  
org.apache.drill.exec.planner.physical.visitor.AdjustOperatorsSchemaVisitor
- All Implemented Interfaces:
- PrelVisitor<Prel,- Void, - RuntimeException> 
AdjustOperatorsSchemaVisitor visits corresponding operators' which depending upon their functionality
 adjusts their output row types. The adjusting mechanism is unique to each operator. In case of joins this visitor
 adjusts the field names to make sure that upstream operator only sees that there are unique field names even though
 the children of the join has same field names. Whereas in case of lateral/unnest operators it changes the correlated
 field and also the unnest operator's output row type.
- 
Field SummaryFields inherited from interface org.apache.drill.exec.planner.physical.visitor.PrelVisitorlogger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic PreladjustSchema(Prel prel) voidvisitLateral(LateralJoinPrel prel, Void value) visitUnnest(UnnestPrel prel, Void value) Methods inherited from class org.apache.drill.exec.planner.physical.visitor.BasePrelVisitorvisitExchange, visitLeaf, visitProject, visitScan, visitScan, visitScreen, visitTableModify, visitWriter
- 
Constructor Details- 
AdjustOperatorsSchemaVisitorpublic AdjustOperatorsSchemaVisitor()
 
- 
- 
Method Details- 
adjustSchema
- 
visitPrel- Specified by:
- visitPrelin interface- PrelVisitor<Prel,- Void, - RuntimeException> 
- Overrides:
- visitPrelin class- BasePrelVisitor<Prel,- Void, - RuntimeException> 
- Throws:
- RuntimeException
 
- 
unRegisterpublic void unRegister()
- 
visitJoin- Specified by:
- visitJoinin interface- PrelVisitor<Prel,- Void, - RuntimeException> 
- Overrides:
- visitJoinin class- BasePrelVisitor<Prel,- Void, - RuntimeException> 
- Throws:
- RuntimeException
 
- 
visitLateral- Specified by:
- visitLateralin interface- PrelVisitor<Prel,- Void, - RuntimeException> 
- Overrides:
- visitLateralin class- BasePrelVisitor<Prel,- Void, - RuntimeException> 
- Throws:
- RuntimeException
 
- 
visitUnnest- Specified by:
- visitUnnestin interface- PrelVisitor<Prel,- Void, - RuntimeException> 
- Overrides:
- visitUnnestin class- BasePrelVisitor<Prel,- Void, - RuntimeException> 
- Throws:
- RuntimeException
 
 
-