com.metamatrix.query.sql.lang
Class ProcedureContainer
java.lang.Object
com.metamatrix.query.sql.lang.Command
com.metamatrix.query.sql.lang.ProcedureContainer
- All Implemented Interfaces:
- CommandContainer, LanguageObject, java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- PreparedBatchUpdate, StoredProcedure
public abstract class ProcedureContainer
- extends Command
- implements CommandContainer
- See Also:
- Serialized Form
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 |
Methods inherited from class com.metamatrix.query.sql.lang.Command |
addExternalGroupsToContext, addExternalGroupToContext, areResultsCachable, clone, getAllExternalGroups, getExternalGroupContexts, getOption, getProjectedSymbols, getSubCommands, getSubCommandsUpdatingModelCount, getSubCommandsUpdatingModelCount, getTemporaryMetadata, getType, getUpdateCommandSymbol, getUpdatesCommandSymbol, getVariableValues, getVirtualGroup, isResolved, printCommandTree, printCommandTree, pushNewResolvingContext, setExternalGroupContexts, setIsResolved, setOption, setTemporaryMetadata, setVariableValues, setVirtualGroup, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProcedureContainer
public ProcedureContainer()
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.