|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.sql.lang.FromClause
com.metamatrix.query.sql.lang.UnaryFromClause
public class UnaryFromClause
A FROM subpart that represents a single group. For example, the FROM clause: "FROM a, b" will have two UnaryFromClause objects, each holding a reference to a GroupSymbol (for a and b).
| Constructor Summary | |
|---|---|
UnaryFromClause()
Construct default object |
|
UnaryFromClause(GroupSymbol group)
Construct object with specified group |
|
| Method Summary | |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor. |
java.lang.Object |
clone()
Get deep clone of object |
void |
collectGroups(java.util.Collection groups)
Collect all GroupSymbols for this from clause. |
boolean |
equals(java.lang.Object obj)
Check whether objects are equal |
Command |
getExpandedCommand()
|
GroupSymbol |
getGroup()
Get group held by clause |
int |
hashCode()
Get hash code of object |
void |
setExpandedCommand(Command expandedCommand)
|
void |
setGroup(GroupSymbol group)
Set the group held by the clause |
java.lang.String |
toString()
Returns a string representation of an instance of this class. |
| Methods inherited from class com.metamatrix.query.sql.lang.FromClause |
|---|
hasHint, isMakeDep, isMakeNotDep, isOptional, setMakeDep, setMakeNotDep, setOptional |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnaryFromClause()
public UnaryFromClause(GroupSymbol group)
group - Group being held| Method Detail |
|---|
public void setGroup(GroupSymbol group)
group - Group to holdpublic GroupSymbol getGroup()
public void collectGroups(java.util.Collection groups)
collectGroups in class FromClausegroups - Groups to add topublic void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor in interface LanguageObjectacceptVisitor in class FromClausevisitor - Visitor being usedpublic boolean equals(java.lang.Object obj)
equals in class FromClauseobj - Other object
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object clone()
clone in interface LanguageObjectclone in class FromClausepublic java.lang.String toString()
toString in class java.lang.Objectpublic Command getExpandedCommand()
public void setExpandedCommand(Command expandedCommand)
expandedCommand - The expandedCommand to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||