next = join(lhsTuple, queueIterator.next()); } else { boolean eq = nextLhsTuple != null && lhsKey.equals(nextLhsKey); advance(true); if (eq) { if (lhsKey.equals(rhsKey)) { next = join(lhsTuple, rhsTuple); if (nextLhsTuple != null && lhsKey.equals(nextLhsKey)) { queue.offer(rhsTuple); if (nextRhsTuple == null || !rhsKey.equals(nextRhsKey)) { queueIterator = queue.iterator(); advance(true); throw new SQLExceptionInfo.Builder(SQLExceptionCode.SINGLE_ROW_SUBQUERY_RETURNS_MULTIPLE_ROWS).build().buildException(); } else if (nextRhsTuple == null || !rhsKey.equals(nextRhsKey)) { advance(true); } else if (isSingleValueOnly) {
next = join(lhsTuple, queueIterator.next()); } else { boolean eq = nextLhsTuple != null && lhsKey.equals(nextLhsKey); advance(true); if (eq) { if (lhsKey.equals(rhsKey)) { next = join(lhsTuple, rhsTuple); if (nextLhsTuple != null && lhsKey.equals(nextLhsKey)) { queue.offer(rhsTuple); if (nextRhsTuple == null || !rhsKey.equals(nextRhsKey)) { queueIterator = queue.iterator(); advance(true); throw new SQLExceptionInfo.Builder(SQLExceptionCode.SINGLE_ROW_SUBQUERY_RETURNS_MULTIPLE_ROWS).build().buildException(); } else if (nextRhsTuple == null || !rhsKey.equals(nextRhsKey)) { advance(true); } else if (isSingleValueOnly) {
next = join(lhsTuple, queueIterator.next()); } else { boolean eq = nextLhsTuple != null && lhsKey.equals(nextLhsKey); advance(true); if (eq) { if (lhsKey.equals(rhsKey)) { next = join(lhsTuple, rhsTuple); if (nextLhsTuple != null && lhsKey.equals(nextLhsKey)) { queue.offer(rhsTuple); if (nextRhsTuple == null || !rhsKey.equals(nextRhsKey)) { queueIterator = queue.iterator(); advance(true); throw new SQLExceptionInfo.Builder(SQLExceptionCode.SINGLE_ROW_SUBQUERY_RETURNS_MULTIPLE_ROWS).build().buildException(); } else if (nextRhsTuple == null || !rhsKey.equals(nextRhsKey)) { advance(true); } else if (isSingleValueOnly) {
while (lhsTuple != null && next == null) { if (rhsTuple != null) { if (lhsKey.equals(rhsKey)) { if (isSemi) { next = lhsTuple;
while (lhsTuple != null && next == null) { if (rhsTuple != null) { if (lhsKey.equals(rhsKey)) { if (isSemi) { next = lhsTuple;
while (lhsTuple != null && next == null) { if (rhsTuple != null) { if (lhsKey.equals(rhsKey)) { if (isSemi) { next = lhsTuple;