com.metamatrix.query.processor.relational
Class DependentProcedureExecutionNode

java.lang.Object
  extended by com.metamatrix.query.processor.relational.RelationalNode
      extended by com.metamatrix.query.processor.relational.PlanExecutionNode
          extended by com.metamatrix.query.processor.relational.DependentProcedureExecutionNode
All Implemented Interfaces:
Describable, java.lang.Cloneable

public class DependentProcedureExecutionNode
extends PlanExecutionNode


Field Summary
 
Fields inherited from interface com.metamatrix.query.processor.Describable
PROP_BINDINGS, PROP_CHILDREN, PROP_CONDITIONS, PROP_CRITERIA, PROP_DATA_COL, PROP_DEFAULT, PROP_DEFAULT_PROGRAM, PROP_ELSE, PROP_ENCODING, PROP_EXECUTION_PLAN, PROP_EXPRESSION, PROP_FORMATTED, PROP_GROUP, PROP_GROUP_COLS, PROP_IN_MEMORY, PROP_INTO_GROUP, PROP_IS_STAGING, PROP_JOIN_CRITERIA, PROP_JOIN_STRATEGY, PROP_JOIN_TYPE, PROP_MESSAGE, PROP_MODEL_NAME, PROP_NAMESPACE, PROP_NAMESPACE_DECL, PROP_NODE_COST_ESTIMATES, PROP_NODE_STATS_LIST, PROP_NODE_STATS_PROPS, PROP_OPTIONAL, PROP_OUTPUT_COLS, PROP_PROGRAM, PROP_PROGRAMS, PROP_RECURSE_DIR, PROP_REMOVE_DUPS, PROP_RESULT_SET, PROP_ROW_LIMIT, PROP_ROW_OFFSET, PROP_SELECT_COLS, PROP_SORT_COLS, PROP_SQL, PROP_TAG, PROP_THEN, PROP_TYPE, PROP_VARIABLE
 
Constructor Summary
DependentProcedureExecutionNode(int nodeID, Criteria crit, java.util.List references, java.util.List defaults)
           
 
Method Summary
 java.lang.Object clone()
          All the implementation of Cloneable interface need to implement clone() method.
 void close()
           
 java.util.Map getDescriptionProperties()
          Get a description as a set of properties of primitive types such as String, Integer, etc.
 Criteria getInputCriteria()
           
protected  boolean hasNextCommand()
           
 void open()
           
protected  boolean prepareNextCommand()
           
 void reset()
           
static void shareVariableContext(RelationalNode node, CommandContext context)
           
 
Methods inherited from class com.metamatrix.query.processor.relational.PlanExecutionNode
copy, getChildPlans, getNodeString, getProcessorPlan, nextBatchDirect, setProcessorPlan
 
Methods inherited from class com.metamatrix.query.processor.relational.RelationalNode
addBatchRow, addChild, copy, createLookupMap, getBatchSize, getBufferManager, getChildDescriptionProperties, getChildren, getClassName, getConnectionID, getContext, getDataManager, getElements, getEstimateNodeCardinality, getID, getLanguageObjects, getNodeStatistics, getParent, hasPendingRows, initialize, isBatchFull, isClosed, 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
 

Constructor Detail

DependentProcedureExecutionNode

public DependentProcedureExecutionNode(int nodeID,
                                       Criteria crit,
                                       java.util.List references,
                                       java.util.List defaults)
Method Detail

getDescriptionProperties

public java.util.Map getDescriptionProperties()
Description copied from interface: Describable
Get a description as a set of properties of primitive types such as String, Integer, etc.

Specified by:
getDescriptionProperties in interface Describable
Overrides:
getDescriptionProperties in class PlanExecutionNode
Returns:
Map of properties

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.

Overrides:
clone in class PlanExecutionNode
See Also:
PlanExecutionNode.clone()

reset

public void reset()
Overrides:
reset in class PlanExecutionNode

close

public void close()
           throws MetaMatrixComponentException
Overrides:
close in class PlanExecutionNode
Throws:
MetaMatrixComponentException

prepareNextCommand

protected boolean prepareNextCommand()
                              throws BlockedException,
                                     MetaMatrixComponentException,
                                     MetaMatrixProcessingException
Overrides:
prepareNextCommand in class PlanExecutionNode
Throws:
TupleSourceNotFoundException
BlockedException
MetaMatrixComponentException
MetaMatrixProcessingException
See Also:
PlanExecutionNode.prepareNextCommand()

hasNextCommand

protected boolean hasNextCommand()
Overrides:
hasNextCommand in class PlanExecutionNode
See Also:
PlanExecutionNode.hasNextCommand()

getInputCriteria

public Criteria getInputCriteria()
Returns:
Returns the inputCriteria.

open

public void open()
          throws MetaMatrixComponentException,
                 MetaMatrixProcessingException
Overrides:
open in class PlanExecutionNode
Throws:
MetaMatrixComponentException
MetaMatrixProcessingException

shareVariableContext

public static void shareVariableContext(RelationalNode node,
                                        CommandContext context)


Copyright © 2009. All Rights Reserved.