com.metamatrix.query.sql.lang
Class ProcedureContainer

java.lang.Object
  extended by com.metamatrix.query.sql.lang.Command
      extended by com.metamatrix.query.sql.lang.ProcedureContainer
All Implemented Interfaces:
CommandContainer, LanguageObject, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
Delete, Insert, StoredProcedure, Update

public abstract class ProcedureContainer
extends Command
implements CommandContainer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.query.sql.lang.Command
tempGroupIDs, TYPE_BATCHED_UPDATE, TYPE_CREATE, TYPE_DELETE, TYPE_DROP, TYPE_DYNAMIC, TYPE_INSERT, TYPE_QUERY, TYPE_SQL, TYPE_STORED_PROCEDURE, TYPE_UNKNOWN, TYPE_UPDATE, TYPE_UPDATE_PROCEDURE, TYPE_XQUERY
 
Constructor Summary
ProcedureContainer()
           
 
Method Summary
protected  void copyMetadataState(Command copy)
           
 java.util.List getContainedCommands()
           
abstract  GroupSymbol getGroup()
           
abstract  java.util.Map getProcedureParameters()
           
 Command getSubCommand()
           
 int getUpdateCount()
           
 void setSubCommand(Command subCommand)
           
 void setUpdateCount(int updateCount)
           
 int updatingModelCount(QueryMetadataInterface metadata)
          Return the number of updates on physical sources by this command.
 
Methods inherited from class com.metamatrix.query.sql.lang.Command
addExternalGroupsToContext, addExternalGroupToContext, areResultsCachable, clone, getAllExternalGroups, getCorrelatedReferences, getExternalGroupContexts, getOption, getProcessorPlan, getProjectedSymbols, getSubCommands, getSubCommandsUpdatingModelCount, getSubCommandsUpdatingModelCount, getTemporaryMetadata, getType, getUpdateCommandSymbol, getVirtualGroup, isResolved, printCommandTree, printCommandTree, pushNewResolvingContext, setCorrelatedReferences, setExternalGroupContexts, setIsResolved, setOption, setProcessorPlan, setTemporaryMetadata, setVirtualGroup, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.metamatrix.query.sql.LanguageObject
acceptVisitor
 

Constructor Detail

ProcedureContainer

public ProcedureContainer()
Method Detail

getGroup

public abstract GroupSymbol getGroup()

getSubCommand

public Command getSubCommand()
Returns:
Returns the subCommand.

setSubCommand

public void setSubCommand(Command subCommand)
Parameters:
subCommand - The subCommand to set.

copyMetadataState

protected void copyMetadataState(Command copy)
Overrides:
copyMetadataState in class Command

getContainedCommands

public java.util.List getContainedCommands()
Specified by:
getContainedCommands in interface CommandContainer
See Also:
CommandContainer.getContainedCommands()

updatingModelCount

public int updatingModelCount(QueryMetadataInterface metadata)
                       throws MetaMatrixComponentException
Description copied from class: Command
Return the number of updates on physical sources by this command.

Specified by:
updatingModelCount in class Command
Parameters:
metadata - QueryMetadataInterface
Returns:
The number of updates on physical sources by this command.
Throws:
MetaMatrixComponentException

getUpdateCount

public int getUpdateCount()
Returns:
Returns the updateCount.

setUpdateCount

public void setUpdateCount(int updateCount)
Parameters:
updateCount - The updateCount to set.

getProcedureParameters

public abstract java.util.Map getProcedureParameters()


Copyright © 2009. All Rights Reserved.