|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.query.sql.lang.Command
org.teiid.query.sql.lang.BatchedUpdateCommand
public class BatchedUpdateCommand
Represents a batch of INSERT, UPDATE, DELETE, and SELECT INTO commands
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject |
|---|
LanguageObject.Util |
| Field Summary | |
|---|---|
protected java.util.List |
commands
|
| Fields inherited from class org.teiid.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 |
| Constructor Summary | |
|---|---|
BatchedUpdateCommand(java.util.List updateCommands)
|
|
| Method Summary | |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor. |
void |
addSubCommand(Command command)
Add sub command |
void |
addSubCommands(java.util.Collection commands)
Add sub commands |
boolean |
areResultsCachable()
Whether the results are cachable. |
java.lang.Object |
clone()
Implement clone to make objects cloneable. |
java.util.List |
getProjectedSymbols()
Get the ordered list of all elements returned by this query. |
java.util.List |
getSubCommands()
Gets the subCommands (both embedded and non-embedded) under this command. |
int |
getType()
Return type of command to make it easier to build switch statements by command type. |
java.util.List |
getUpdateCommands()
Gets the List of updates contained in this batch |
java.util.List<VariableContext> |
getVariableContexts()
|
void |
setVariableContexts(java.util.List<VariableContext> variableContexts)
|
java.lang.String |
toString()
Returns a string representation of an instance of this class. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List commands
| Constructor Detail |
|---|
public BatchedUpdateCommand(java.util.List updateCommands)
updateCommands - | Method Detail |
|---|
public void addSubCommand(Command command)
command - Additional sub-commandpublic void addSubCommands(java.util.Collection commands)
commands - Additional sub-commandspublic java.util.List getSubCommands()
Command
getSubCommands in class CommandCommand.getSubCommands()public java.util.List getUpdateCommands()
public int getType()
Command
getType in class CommandCommand.getType()public java.util.List getProjectedSymbols()
Command
getProjectedSymbols in class CommandCommand.getProjectedSymbols()public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
visitor - Visitor being usedpublic java.lang.Object clone()
LanguageObject
clone in interface LanguageObjectclone in class CommandObject.clone()public boolean areResultsCachable()
Command
areResultsCachable in class CommandCommand.areResultsCachable()public java.lang.String toString()
Command
toString in class Commandpublic void setVariableContexts(java.util.List<VariableContext> variableContexts)
public java.util.List<VariableContext> getVariableContexts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||