org.teiid.query.sql.lang
Class WithQueryCommand
java.lang.Object
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>
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
WithQueryCommand
public WithQueryCommand(GroupSymbol groupSymbol,
java.util.List<ElementSymbol> columns,
QueryCommand queryExpression)
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.