Class JoinStrategy
- java.lang.Object
-
- org.teiid.query.processor.relational.JoinStrategy
-
- Direct Known Subclasses:
MergeJoinStrategy
,NestedTableJoinStrategy
public abstract class JoinStrategy extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected JoinNode
joinNode
protected org.teiid.query.processor.relational.SourceState
leftSource
protected int
reserved
protected org.teiid.query.processor.relational.SourceState
rightSource
-
Constructor Summary
Constructors Constructor Description JoinStrategy()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract JoinStrategy
clone()
void
close()
void
initialize(JoinNode joinNode)
protected void
loadLeft()
protected void
loadRight()
protected void
openLeft()
protected void
openRight()
protected List
outputTuple(List leftTuple, List rightTuple)
Output a combined, projected tuple based on tuple parts from the left and right.protected abstract void
process()
-
-
-
Field Detail
-
joinNode
protected JoinNode joinNode
-
leftSource
protected org.teiid.query.processor.relational.SourceState leftSource
-
rightSource
protected org.teiid.query.processor.relational.SourceState rightSource
-
reserved
protected int reserved
-
-
Method Detail
-
close
public void close()
-
initialize
public void initialize(JoinNode joinNode)
-
loadLeft
protected void loadLeft() throws TeiidComponentException, TeiidProcessingException
-
loadRight
protected void loadRight() throws TeiidComponentException, TeiidProcessingException
-
outputTuple
protected List outputTuple(List leftTuple, List rightTuple)
Output a combined, projected tuple based on tuple parts from the left and right.- Parameters:
leftTuple
- Left tuple partrightTuple
- Right tuple part
-
process
protected abstract void process() throws TeiidComponentException, TeiidProcessingException
-
clone
public abstract JoinStrategy clone()
-
openLeft
protected void openLeft() throws TeiidComponentException, TeiidProcessingException
-
openRight
protected void openRight() throws TeiidComponentException, TeiidProcessingException
-
-