@Override public void reset() throws Exception { MutableObjectIterator<IT1> input1 = this.taskContext.getInput(0); MutableObjectIterator<IT2> input2 = this.taskContext.getInput(1); if (objectReuseEnabled) { if (buildSideIndex == 0 && probeSideIndex == 1) { final ReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (ReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input2); } else { final ReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (ReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input1); } } else { if (buildSideIndex == 0 && probeSideIndex == 1) { final NonReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (NonReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input2); } else { final NonReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (NonReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input1); } } }
@Override public void reset() throws Exception { MutableObjectIterator<IT1> input1 = this.taskContext.getInput(0); MutableObjectIterator<IT2> input2 = this.taskContext.getInput(1); if (objectReuseEnabled) { if (buildSideIndex == 0 && probeSideIndex == 1) { final ReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (ReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input2); } else { final ReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (ReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input1); } } else { if (buildSideIndex == 0 && probeSideIndex == 1) { final NonReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (NonReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input2); } else { final NonReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (NonReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input1); } } }
@Override public void reset() throws Exception { MutableObjectIterator<IT1> input1 = this.taskContext.getInput(0); MutableObjectIterator<IT2> input2 = this.taskContext.getInput(1); if (objectReuseEnabled) { if (buildSideIndex == 0 && probeSideIndex == 1) { final ReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (ReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input2); } else { final ReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (ReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input1); } } else { if (buildSideIndex == 0 && probeSideIndex == 1) { final NonReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (NonReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input2); } else { final NonReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (NonReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input1); } } }
@Override public void reset() throws Exception { MutableObjectIterator<IT1> input1 = this.taskContext.getInput(0); MutableObjectIterator<IT2> input2 = this.taskContext.getInput(1); if (objectReuseEnabled) { if (buildSideIndex == 0 && probeSideIndex == 1) { final ReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (ReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input2); } else { final ReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (ReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input1); } } else { if (buildSideIndex == 0 && probeSideIndex == 1) { final NonReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (NonReusingBuildFirstReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input2); } else { final NonReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT> matchIterator = (NonReusingBuildSecondReOpenableHashJoinIterator<IT1, IT2, OT>) this.matchIterator; matchIterator.reopenProbe(input1); } } }