Package org.teiid.query.sql.lang
Class ProcedureContainer
- java.lang.Object
-
- org.teiid.query.sql.lang.Command
-
- org.teiid.query.sql.lang.ProcedureContainer
-
- All Implemented Interfaces:
Cloneable
,TargetedCommand
,LanguageObject
- Direct Known Subclasses:
Delete
,Insert
,StoredProcedure
,Update
public abstract class ProcedureContainer extends Command implements TargetedCommand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
-
-
Field Summary
-
Fields inherited from class org.teiid.query.sql.lang.Command
tempGroupIDs, TYPE_ALTER_PROC, TYPE_ALTER_TRIGGER, TYPE_ALTER_VIEW, TYPE_BATCHED_UPDATE, TYPE_CREATE, TYPE_DELETE, TYPE_DROP, TYPE_DYNAMIC, TYPE_EXPLAIN, TYPE_INSERT, TYPE_QUERY, TYPE_SOURCE_EVENT, TYPE_STORED_PROCEDURE, TYPE_TRIGGER_ACTION, TYPE_UNKNOWN, TYPE_UPDATE, TYPE_UPDATE_PROCEDURE
-
-
Constructor Summary
Constructors Constructor Description ProcedureContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTag(String name)
protected void
copyMetadataState(ProcedureContainer copy)
int
getUpdateCount()
UpdateValidator.UpdateInfo
getUpdateInfo()
boolean
hasTag(String name)
void
setUpdateCount(int updateCount)
void
setUpdateInfo(UpdateValidator.UpdateInfo updateInfo)
-
Methods inherited from class org.teiid.query.sql.lang.Command
addExternalGroupToContext, areResultsCachable, clone, copyMetadataState, getActualCommand, getAllExternalGroups, getCacheHint, getCommandToken, getCorrelatedReferences, getExternalGroupContexts, getOption, getProcessorPlan, getProjectedSymbols, getResultSetColumns, getSourceHint, getTemporaryMetadata, getType, getUpdateCommandSymbol, printCommandTree, printCommandTree, pushNewResolvingContext, returnsResultSet, sameOptionAndHint, setCacheHint, setCorrelatedReferences, setExternalGroupContexts, setOption, setProcessorPlan, setSourceHint, setTemporaryMetadata, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.teiid.query.sql.LanguageObject
acceptVisitor
-
Methods inherited from interface org.teiid.query.sql.lang.TargetedCommand
getGroup
-
-
-
-
Method Detail
-
copyMetadataState
protected void copyMetadataState(ProcedureContainer copy)
-
getUpdateCount
public int getUpdateCount()
- Returns:
- Returns the updateCount.
-
setUpdateCount
public void setUpdateCount(int updateCount)
- Parameters:
updateCount
- The updateCount to set.
-
getUpdateInfo
public UpdateValidator.UpdateInfo getUpdateInfo()
-
setUpdateInfo
public void setUpdateInfo(UpdateValidator.UpdateInfo updateInfo)
-
hasTag
public boolean hasTag(String name)
-
addTag
public void addTag(String name)
-
-