org.teiid.query.processor.relational
Class AccessNode
java.lang.Object
org.teiid.query.processor.relational.RelationalNode
org.teiid.query.processor.relational.SubqueryAwareRelationalNode
org.teiid.query.processor.relational.AccessNode
- All Implemented Interfaces:
- java.lang.Cloneable, BatchCollector.BatchProducer
- Direct Known Subclasses:
- DependentAccessNode, DependentProcedureAccessNode
public class AccessNode
- extends SubqueryAwareRelationalNode
| Methods inherited from class org.teiid.query.processor.relational.RelationalNode |
addBatchRow, addChild, close, copy, createLookupMap, getBatchSize, getBufferManager, getChildren, getClassName, getConnectionID, getContext, getDataManager, getElements, getEstimateNodeCardinality, getID, getNodeStatistics, getOutputElements, getParent, getProjectionIndexes, hasPendingRows, initialize, isBatchFull, isClosed, isLastBatch, nextBatch, nodeToString, projectTuple, pullBatch, setContext, 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 |
AccessNode
protected AccessNode()
AccessNode
public AccessNode(int nodeID)
reset
public void reset()
- Overrides:
reset in class SubqueryAwareRelationalNode
setCommand
public void setCommand(Command command)
getCommand
public Command getCommand()
setModelName
public void setModelName(java.lang.String name)
getModelName
public java.lang.String getModelName()
setShouldEvaluateExpressions
public void setShouldEvaluateExpressions(boolean shouldEvaluate)
open
public void open()
throws TeiidComponentException,
TeiidProcessingException
- Overrides:
open in class RelationalNode
- Throws:
TeiidComponentException
TeiidProcessingException
prepareNextCommand
protected boolean prepareNextCommand(Command atomicCommand)
throws TeiidComponentException,
TeiidProcessingException
- Throws:
TeiidComponentException
TeiidProcessingException
nextBatchDirect
public TupleBatch nextBatchDirect()
throws BlockedException,
TeiidComponentException,
TeiidProcessingException
- Description copied from class:
RelationalNode
- Template method for subclasses to implement.
- Specified by:
nextBatchDirect in class RelationalNode
- Returns:
-
- Throws:
BlockedException
TeiidComponentException
TeiidProcessingException - if exception related to user input occured
processCommandsIndividually
protected boolean processCommandsIndividually()
hasNextCommand
protected boolean hasNextCommand()
closeDirect
public void closeDirect()
- Overrides:
closeDirect in class SubqueryAwareRelationalNode
getNodeString
protected void getNodeString(java.lang.StringBuffer str)
- Overrides:
getNodeString in class RelationalNode
clone
public java.lang.Object clone()
- Description copied from class:
RelationalNode
- All the implementation of Cloneable interface need to implement clone() method.
The plan is only clonable in the pre-execution stage, not the execution state
(things like program state, result sets, etc). It's only safe to call that method in between query processings,
in other words, it's only safe to call clone() on a plan after nextTuple() returns null,
meaning the plan has finished processing.
- Specified by:
clone in class RelationalNode
copy
protected void copy(AccessNode source,
AccessNode target)
getDescriptionProperties
public PlanNode getDescriptionProperties()
- Overrides:
getDescriptionProperties in class RelationalNode
getConnectorBindingId
public java.lang.String getConnectorBindingId()
setConnectorBindingId
public void setConnectorBindingId(java.lang.String connectorBindingId)
Copyright © 2010. All Rights Reserved.