public class IndexNestedLoopJoinedRowIterator extends AbstractJoinedRowIterator
When there is an index defined on the left subtree?s table instead of on the right, the optimizer swaps the subtrees to make an ANL join possible. When neither subtree?s table has an index defined on the join column, the optimizer creats a dynamic index on one of the subtree.
| Constructor and Description |
|---|
IndexNestedLoopJoinedRowIterator(RowIterator left,
int leftJoinColumn,
MutableIndexedRowIterator rightIndex,
int rightColumnCount,
boolean rightOuter,
boolean swapLeftAndRight) |
| Modifier and Type | Method and Description |
|---|---|
protected RowIterator |
generateRightRowIterator() |
java.lang.String |
toString() |
current, currentIndex, getJoinCondition, getLeftRowIterator, getRightSideColumnCount, getRowDecorator, hasCurrent, hasNext, hasPrevious, isRightOuter, isSwapLeftAndRight, next, nextIndex, previous, previousIndex, reset, setJoinCondition, setLeftRowIterator, setRightOuter, setRightSideColumnCount, setSwapLeftAndRightpublic IndexNestedLoopJoinedRowIterator(RowIterator left, int leftJoinColumn, MutableIndexedRowIterator rightIndex, int rightColumnCount, boolean rightOuter, boolean swapLeftAndRight) throws AxionException
AxionExceptionprotected RowIterator generateRightRowIterator() throws AxionException
generateRightRowIterator in class AbstractJoinedRowIteratorAxionExceptionpublic java.lang.String toString()
toString in class AbstractJoinedRowIterator