Class DependentProcedureAccessNode
- java.lang.Object
-
- org.teiid.query.processor.relational.RelationalNode
-
- org.teiid.query.processor.relational.SubqueryAwareRelationalNode
-
- org.teiid.query.processor.relational.AccessNode
-
- org.teiid.query.processor.relational.DependentProcedureAccessNode
-
- All Implemented Interfaces:
Cloneable
,BatchCollector.BatchProducer
public class DependentProcedureAccessNode extends AccessNode
-
-
Field Summary
-
Fields inherited from class org.teiid.query.processor.relational.AccessNode
info, nextCommand
-
Fields inherited from class org.teiid.query.processor.relational.RelationalNode
childCount
-
-
Constructor Summary
Constructors Constructor Description DependentProcedureAccessNode(int nodeID, Criteria crit, List references, List defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
All the implementation of Cloneable interface need to implement clone() method.void
closeDirect()
Criteria
getInputCriteria()
protected boolean
hasNextCommand()
void
open()
protected boolean
prepareNextCommand(Command atomicCommand)
protected boolean
processCommandsIndividually()
Boolean
requiresTransaction(boolean transactionalReads)
void
reset()
-
Methods inherited from class org.teiid.query.processor.relational.AccessNode
addBatchRow, copyTo, getCommand, getConformedTo, getConnectorBindingExpression, getConnectorBindingId, getDescriptionProperties, getModelId, getModelName, getNodeString, getObjects, getOriginalSelect, getProjection, getSubPlans, initialize, isShouldEvaluate, minimizeProject, nextBatchDirect, nextCommand, setCommand, setConformedTo, setConnectorBindingExpression, setConnectorBindingId, setModelId, setModelName, setMultiSource, setShouldEvaluateExpressions, setSubPlans, setTransactionSupport
-
Methods inherited from class org.teiid.query.processor.relational.SubqueryAwareRelationalNode
getEvaluator, requiresTransaction, setReferenceValues
-
Methods inherited from class org.teiid.query.processor.relational.RelationalNode
addChild, close, copyTo, createLookupMap, getBatchSize, getBuffer, getBufferDirect, getBufferManager, getChildCount, getChildren, getClassName, getConnectionID, getContext, getDataManager, getElements, getEstimateNodeCardinality, getID, getNodeStatistics, getOutputElements, getParent, getProjectionIndexes, hasBuffer, hasPendingRows, isBatchFull, isClosed, isLastBatch, nextBatch, nodeToString, projectTuple, projectTuple, pullBatch, setContext, setElements, setEstimateDepAccessCardinality, setEstimateDepJoinCost, setEstimateJoinCost, setEstimateNodeCardinality, setEstimateNodeSetSize, setID, setParent, terminateBatches, toString, unwrapException
-
-
-
-
Method Detail
-
clone
public 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.- Overrides:
clone
in classAccessNode
- See Also:
PlanExecutionNode.clone()
-
reset
public void reset()
- Overrides:
reset
in classAccessNode
-
closeDirect
public void closeDirect()
- Overrides:
closeDirect
in classAccessNode
-
open
public void open() throws TeiidComponentException, TeiidProcessingException
- Overrides:
open
in classAccessNode
- Throws:
TeiidComponentException
TeiidProcessingException
-
prepareNextCommand
protected boolean prepareNextCommand(Command atomicCommand) throws TeiidComponentException, TeiidProcessingException
- Overrides:
prepareNextCommand
in classAccessNode
- Throws:
TeiidComponentException
TeiidProcessingException
- See Also:
AccessNode.prepareNextCommand(org.teiid.query.sql.lang.Command)
-
processCommandsIndividually
protected boolean processCommandsIndividually()
- Overrides:
processCommandsIndividually
in classAccessNode
-
hasNextCommand
protected boolean hasNextCommand()
- Overrides:
hasNextCommand
in classAccessNode
- See Also:
PlanExecutionNode.hasNextCommand()
-
getInputCriteria
public Criteria getInputCriteria()
- Returns:
- Returns the inputCriteria.
-
requiresTransaction
public Boolean requiresTransaction(boolean transactionalReads)
- Overrides:
requiresTransaction
in classAccessNode
- Returns:
- true if required, false if not required, and null if a single source command is issued and a transaction may be needed.
-
-