com.metamatrix.query.sql.lang
Class PreparedBatchUpdate

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

public abstract class PreparedBatchUpdate
extends ProcedureContainer

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
PreparedBatchUpdate()
           
 
Method Summary
 java.util.List getParameterReferences()
           
 boolean isBatchedUpdate()
           
 void setParameterReferences(java.util.List parameterReferences)
           
 void setUpdatingModelCount(int updatingModelCount)
           
 int updatingModelCount(QueryMetadataInterface metadata)
          Return the number of updates on physical sources by this command.
 
Methods inherited from class com.metamatrix.query.sql.lang.ProcedureContainer
copyMetadataState, getContainedCommands, getGroup, getProcedureParameters, getSubCommand, getUpdateCount, setSubCommand, setUpdateCount
 
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
 
Methods inherited from interface com.metamatrix.query.sql.LanguageObject
acceptVisitor
 

Constructor Detail

PreparedBatchUpdate

public PreparedBatchUpdate()
Method Detail

getParameterReferences

public java.util.List getParameterReferences()

setParameterReferences

public void setParameterReferences(java.util.List parameterReferences)

isBatchedUpdate

public boolean isBatchedUpdate()

updatingModelCount

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

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

setUpdatingModelCount

public void setUpdatingModelCount(int updatingModelCount)


Copyright © 2009. All Rights Reserved.