com.metamatrix.query.processor.proc
Class CommandInstruction

java.lang.Object
  extended by com.metamatrix.query.processor.program.ProgramInstruction
      extended by com.metamatrix.query.processor.proc.CommandInstruction
All Implemented Interfaces:
Describable, java.lang.Cloneable
Direct Known Subclasses:
AbstractAssignmentInstruction, CreateCursorResultSetInstruction, ExecDynamicSqlInstruction, ExecSqlInstruction

public abstract class CommandInstruction
extends ProgramInstruction

This abstract base class has common methods for dealing with instructions that have commands. In particular commands may have nested EXECs that have parameter references, which require some special handling.

Since:
4.4

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
CommandInstruction()
           
 
Method Summary
protected  java.util.List cloneReferences()
           
protected  java.util.Collection getReferences()
           
 void setReferences(java.util.Collection references)
           
 
Methods inherited from class com.metamatrix.query.processor.program.ProgramInstruction
clone, getChildPlans, getDescriptionProperties, process
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandInstruction

public CommandInstruction()
Method Detail

getReferences

protected java.util.Collection getReferences()

setReferences

public void setReferences(java.util.Collection references)

cloneReferences

protected java.util.List cloneReferences()


Copyright © 2009. All Rights Reserved.