private void outerMatch() { List<?> tuple = currentTuple; currentTuple = null; if (!matched && joinNode.getJoinType() == JoinType.JOIN_LEFT_OUTER) { this.joinNode.addBatchRow(outputTuple(tuple, this.rightSource.getOuterVals())); } }
private void outerMatch() { List<?> tuple = currentTuple; currentTuple = null; if (!matched && joinNode.getJoinType() == JoinType.JOIN_LEFT_OUTER) { this.joinNode.addBatchRow(outputTuple(tuple, this.rightSource.getOuterVals())); } }
private void outerMatch() { List<?> tuple = currentTuple; currentTuple = null; if (!matched && joinNode.getJoinType() == JoinType.JOIN_LEFT_OUTER) { this.joinNode.addBatchRow(outputTuple(tuple, this.rightSource.getOuterVals())); } }
joinNode.addBatchRow(outputTuple); joinNode.addBatchRow(outputTuple(this.leftSource.getCurrentTuple(), this.rightSource.getOuterVals()));
joinNode.addBatchRow(outputTuple); joinNode.addBatchRow(outputTuple(this.leftSource.getCurrentTuple(), this.rightSource.getOuterVals()));
joinNode.addBatchRow(outputTuple); joinNode.addBatchRow(outputTuple(this.leftSource.getCurrentTuple(), this.rightSource.getOuterVals()));
this.leftScanState = ScanState.READ; if (this.joinNode.getJoinType().isOuter()) { this.joinNode.addBatchRow(outputTuple(this.leftSource.getCurrentTuple(), this.rightSource.getOuterVals())); this.joinNode.addBatchRow(outputTuple(this.leftSource.getOuterVals(), this.rightSource.getCurrentTuple())); this.loopState = LoopState.LOAD_OUTER; //only one match is needed for semi join this.joinNode.addBatchRow(outputTuple); continue; this.joinNode.addBatchRow(outputTuple(this.leftSource.getOuterVals(), this.rightSource.getCurrentTuple())); } else if (this.joinNode.getJoinType().isOuter()) { this.joinNode.addBatchRow(outputTuple(this.leftSource.getCurrentTuple(), this.rightSource.getOuterVals()));
this.leftScanState = ScanState.READ; if (this.joinNode.getJoinType().isOuter()) { this.joinNode.addBatchRow(outputTuple(this.leftSource.getCurrentTuple(), this.rightSource.getOuterVals())); this.joinNode.addBatchRow(outputTuple(this.leftSource.getOuterVals(), this.rightSource.getCurrentTuple())); this.loopState = LoopState.LOAD_OUTER; //only one match is needed for semi join this.joinNode.addBatchRow(outputTuple); if (singleMatch && wasMatched) { throw new ExpressionEvaluationException(QueryPlugin.Event.TEIID31293, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31293)); this.joinNode.addBatchRow(outputTuple(this.leftSource.getOuterVals(), this.rightSource.getCurrentTuple())); } else if (this.joinNode.getJoinType().isOuter()) { this.joinNode.addBatchRow(outputTuple(this.leftSource.getCurrentTuple(), this.rightSource.getOuterVals()));
this.leftScanState = ScanState.READ; if (this.joinNode.getJoinType().isOuter()) { this.joinNode.addBatchRow(outputTuple(this.leftSource.getCurrentTuple(), this.rightSource.getOuterVals())); this.joinNode.addBatchRow(outputTuple(this.leftSource.getOuterVals(), this.rightSource.getCurrentTuple())); this.loopState = LoopState.LOAD_OUTER; //only one match is needed for semi join this.joinNode.addBatchRow(outputTuple); if (singleMatch && wasMatched) { throw new ExpressionEvaluationException(QueryPlugin.Event.TEIID31293, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31293)); this.joinNode.addBatchRow(outputTuple(this.leftSource.getOuterVals(), this.rightSource.getCurrentTuple())); } else if (this.joinNode.getJoinType().isOuter()) { this.joinNode.addBatchRow(outputTuple(this.leftSource.getCurrentTuple(), this.rightSource.getOuterVals()));
List<?> tuple = this.currentTuple; this.currentTuple = null; this.joinNode.addBatchRow(outputTuple(this.leftSource.getOuterVals(), tuple)); continue; if (matches) { matched = true; this.joinNode.addBatchRow(outputTuple);
List<?> tuple = this.currentTuple; this.currentTuple = null; this.joinNode.addBatchRow(outputTuple(this.leftSource.getOuterVals(), tuple)); continue; this.joinNode.addBatchRow(outputTuple);
List<?> tuple = this.currentTuple; this.currentTuple = null; this.joinNode.addBatchRow(outputTuple(this.leftSource.getOuterVals(), tuple)); continue; this.joinNode.addBatchRow(outputTuple);