printIndentation + printIndentStep);
Set<Row> allRows = new TreeSet<Row>(new RowPathComparator(
Arrays.asList(merger.getSelectorNames())));
RowIterator ri1 = branch1.getRows();
while (ri1.hasNext()) {
Row r = ri1.nextRow();
allRows.add(r);
}
log.debug("{} SQL2 JOIN executed first branch, took {} ms.",
genString(printIndentation), System.currentTimeMillis()
- bTime);
// second branch
bTime = System.currentTimeMillis();
QueryResult branch2 = execute(merger,
csInfo.getRightInnerConstraints(), isOuterJoin,
printIndentation + printIndentStep);
RowIterator ri2 = branch2.getRows();
while (ri2.hasNext()) {
Row r = ri2.nextRow();
allRows.add(r);
}
log.debug("{} SQL2 JOIN executed second branch, took {} ms.",
genString(printIndentation), System.currentTimeMillis()
- bTime);