|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 heldMethod Detail |
---|
public void setGroup(GroupSymbol group)
group
- Group to holdpublic GroupSymbol getGroup()
public void collectGroups(java.util.Collection groups)
collectGroups
in class FromClause
groups
- Groups to add topublic void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
acceptVisitor
in class FromClause
visitor
- Visitor being usedpublic boolean equals(java.lang.Object obj)
equals
in class FromClause
obj
- Other object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in interface LanguageObject
clone
in class FromClause
public java.lang.String toString()
toString
in class java.lang.Object
public 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 |