org.teiid.query.sql.lang
Class WithQueryCommand

java.lang.Object
  extended by org.teiid.query.sql.lang.WithQueryCommand
All Implemented Interfaces:
java.lang.Cloneable, SubqueryContainer<QueryCommand>, LanguageObject

public class WithQueryCommand
extends java.lang.Object
implements LanguageObject, SubqueryContainer<QueryCommand>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
 
Constructor Summary
WithQueryCommand(GroupSymbol groupSymbol, java.util.List<ElementSymbol> columns, QueryCommand queryExpression)
           
 
Method Summary
 void acceptVisitor(LanguageVisitor visitor)
          Method for accepting a visitor.
 WithQueryCommand clone()
          Implement clone to make objects cloneable.
 boolean equals(java.lang.Object obj)
           
 java.util.List<ElementSymbol> getColumns()
           
 QueryCommand getCommand()
          Returns the subquery Command object
 GroupSymbol getGroupSymbol()
           
 int hashCode()
           
 void setColumns(java.util.List<ElementSymbol> columns)
           
 void setCommand(QueryCommand command)
          Sets the subquery Command object
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WithQueryCommand

public WithQueryCommand(GroupSymbol groupSymbol,
                        java.util.List<ElementSymbol> columns,
                        QueryCommand queryExpression)
Method Detail

getGroupSymbol

public GroupSymbol getGroupSymbol()

setColumns

public void setColumns(java.util.List<ElementSymbol> columns)

getColumns

public java.util.List<ElementSymbol> getColumns()

getCommand

public QueryCommand getCommand()
Description copied from interface: SubqueryContainer
Returns the subquery Command object

Specified by:
getCommand in interface SubqueryContainer<QueryCommand>
Returns:
the subquery Command object

setCommand

public void setCommand(QueryCommand command)
Description copied from interface: SubqueryContainer
Sets the subquery Command object

Specified by:
setCommand in interface SubqueryContainer<QueryCommand>
Parameters:
command - the subquery Command object

acceptVisitor

public void acceptVisitor(LanguageVisitor visitor)
Description copied from interface: LanguageObject
Method for accepting a visitor. It is the responsibility of the language object to call back on the visitor.

Specified by:
acceptVisitor in interface LanguageObject
Parameters:
visitor - Visitor being used

clone

public WithQueryCommand clone()
Description copied from interface: LanguageObject
Implement clone to make objects cloneable.

Specified by:
clone in interface LanguageObject
Overrides:
clone in class java.lang.Object
Returns:
Deep clone of this object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.