Class NestedLoopJoinStrategy
- java.lang.Object
-
- org.teiid.query.processor.relational.JoinStrategy
-
- org.teiid.query.processor.relational.MergeJoinStrategy
-
- org.teiid.query.processor.relational.NestedLoopJoinStrategy
-
public class NestedLoopJoinStrategy extends MergeJoinStrategy
Nested loop is currently implemented as a degenerate case of merge join. Only for use with Full, Left, Inner, and Cross joins
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.teiid.query.processor.relational.MergeJoinStrategy
MergeJoinStrategy.SortOption
-
-
Field Summary
-
Fields inherited from class org.teiid.query.processor.relational.MergeJoinStrategy
processingSortLeft, processingSortRight, singleMatch, sortLeft, sortRight
-
Fields inherited from class org.teiid.query.processor.relational.JoinStrategy
joinNode, leftSource, reserved, rightSource
-
-
Constructor Summary
Constructors Constructor Description NestedLoopJoinStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NestedLoopJoinStrategy
clone()
protected int
compare(List leftProbe, List rightProbe, int[] leftExpressionIndecies, int[] rightExpressionIndecies)
protected void
loadRight()
String
toString()
-
Methods inherited from class org.teiid.query.processor.relational.MergeJoinStrategy
close, compareToPrevious, compareTuples, getName, initialize, loadLeft, process, resetMatchState, setProcessingSortLeft, setProcessingSortRight, singleMatch
-
Methods inherited from class org.teiid.query.processor.relational.JoinStrategy
openLeft, openRight, outputTuple
-
-
-
-
Method Detail
-
clone
public NestedLoopJoinStrategy clone()
- Overrides:
clone
in classMergeJoinStrategy
- See Also:
MergeJoinStrategy.clone()
-
compare
protected int compare(List leftProbe, List rightProbe, int[] leftExpressionIndecies, int[] rightExpressionIndecies)
- Overrides:
compare
in classMergeJoinStrategy
- See Also:
MergeJoinStrategy.compare(java.util.List, java.util.List, int[], int[])
-
loadRight
protected void loadRight() throws TeiidComponentException, TeiidProcessingException
- Overrides:
loadRight
in classMergeJoinStrategy
- Throws:
TeiidComponentException
TeiidProcessingException
-
toString
public String toString()
- Overrides:
toString
in classMergeJoinStrategy
- See Also:
MergeJoinStrategy.toString()
-
-