Esempio n. 1
0
 public JoinNode(Joinable left, Joinable right, JoinType joinType) {
   this.left = left;
   left.setOutput(this);
   this.right = right;
   right.setOutput(this);
   this.joinType = joinType;
 }
Esempio n. 2
0
 @Override
 public void replaceInput(PlanNode oldInput, PlanNode newInput) {
   if (left == oldInput) {
     left = (Joinable) newInput;
     left.setOutput(this);
   }
   if (right == oldInput) {
     right = (Joinable) newInput;
     right.setOutput(this);
   }
 }
Esempio n. 3
0
 public void setRight(Joinable right) {
   this.right = right;
   right.setOutput(this);
 }
Esempio n. 4
0
 public void setLeft(Joinable left) {
   this.left = left;
   left.setOutput(this);
 }