|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.query.sql.lang.FromClause
org.teiid.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).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject |
|---|
LanguageObject.Util |
| 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 |
| Methods inherited from class org.teiid.query.sql.lang.FromClause |
|---|
hasHint, isMakeDep, isMakeNotDep, isOptional, setMakeDep, setMakeNotDep, setOptional, toString |
| 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 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 | |||||||||