|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.processor.relational.RelationalNode
com.metamatrix.query.processor.relational.ProjectNode
public class ProjectNode
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ProjectNode(int nodeID)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
All the implementation of Cloneable interface need to implement clone() method. |
protected void |
copy(ProjectNode source,
ProjectNode target)
|
java.util.Map |
getDescriptionProperties()
Get a description as a set of properties of primitive types such as String, Integer, etc. |
protected void |
getNodeString(java.lang.StringBuffer str)
|
java.util.List |
getSelectSymbols()
return List of select symbols |
TupleBatch |
nextBatchDirect()
Template method for subclasses to implement. |
void |
open()
|
protected void |
prepareToProcessTuple(java.util.Map elementMap,
java.util.List currentTuple)
This method is called by RelationalNode.nextBatch() just after the current
tuple is pulled from the child processor node and just before any
processing is done (in this case, before the tuple is projected). |
void |
reset()
|
void |
setSelectSymbols(java.util.List symbols)
|
| Methods inherited from class com.metamatrix.query.processor.relational.RelationalNode |
|---|
addBatchRow, addChild, close, copy, createLookupMap, getBatchSize, getBufferManager, getChildDescriptionProperties, getChildPlans, getChildren, getClassName, getConnectionID, getContext, getDataManager, getElements, getEstimateNodeCardinality, getID, getNodeStatistics, getParent, initialize, isBatchFull, isClosed, nextBatch, nodeToString, projectTuple, pullBatch, setElements, setEstimateDepAccessCardinality, setEstimateDepJoinCost, setEstimateJoinCost, setEstimateNodeCardinality, setEstimateNodeSetSize, setID, setParent, terminateBatches, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectNode(int nodeID)
| Method Detail |
|---|
public void reset()
reset in class RelationalNodepublic java.util.List getSelectSymbols()
public void setSelectSymbols(java.util.List symbols)
public void open()
throws MetaMatrixComponentException,
MetaMatrixProcessingException
open in class RelationalNodeMetaMatrixComponentException
MetaMatrixProcessingException
public TupleBatch nextBatchDirect()
throws BlockedException,
MetaMatrixComponentException,
MetaMatrixProcessingException
RelationalNode
nextBatchDirect in class RelationalNodeBlockedException
MetaMatrixComponentException
MetaMatrixProcessingException - if exception related to user input occured
protected void prepareToProcessTuple(java.util.Map elementMap,
java.util.List currentTuple)
throws BlockedException,
MetaMatrixComponentException,
MetaMatrixProcessingException
RelationalNode.nextBatch() just after the current
tuple is pulled from the child processor node and just before any
processing is done (in this case, before the tuple is projected).
This gives subclasses a chance to do any custom processing - for example,
to examine the current tuple in order to execute correlated subqueries.
elementMap - Map of ElementSymbol elements to Integer indices into
the currentTuple parametercurrentTuple - the current tuple about to be processed by
this node
MetaMatrixProcessingException - for exception due to user input or modeling
BlockedException
MetaMatrixComponentExceptionprotected void getNodeString(java.lang.StringBuffer str)
getNodeString in class RelationalNodepublic java.lang.Object clone()
RelationalNode
clone in class RelationalNode
protected void copy(ProjectNode source,
ProjectNode target)
public java.util.Map getDescriptionProperties()
Describable
getDescriptionProperties in interface DescribablegetDescriptionProperties in class RelationalNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||