public class SubqueryFromClause extends FromClause implements SubqueryContainer
SubqueryContainer.Evaluatable<T extends Command>LanguageObject.UtilPRESERVE| Constructor and Description |
|---|
SubqueryFromClause(GroupSymbol symbol,
Command command) |
SubqueryFromClause(String name)
Construct default object
|
SubqueryFromClause(String name,
Command command)
Construct object with specified command and name
|
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
FromClause |
cloneDirect()
Get deep clone of object
|
void |
collectGroups(Collection groups)
Collect all GroupSymbols for this from clause.
|
boolean |
equals(Object obj)
Check whether objects are equal
|
Command |
getCommand()
Get command held by clause
|
GroupSymbol |
getGroupSymbol()
Get GroupSymbol representing the named subquery
|
String |
getName()
Get name of this clause.
|
String |
getOutputName() |
int |
hashCode()
Get hash code of object
|
boolean |
isLateral() |
void |
setCommand(Command command)
Set the command held by the clause
|
void |
setLateral(boolean table) |
void |
setName(String name)
Reset the alias for this subquery from clause and it's pseudo-GroupSymbol.
|
clone, getMakeDep, getMakeInd, hasHint, isMakeDep, isMakeNotDep, isNoUnnest, isOptional, isPreserve, setMakeDep, setMakeDep, setMakeInd, setMakeNotDep, setNoUnnest, setOptional, setPreserve, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclonepublic SubqueryFromClause(String name)
public SubqueryFromClause(String name, Command command)
command - Command representing subquery, or stored procedurename - Alias of the subquerypublic SubqueryFromClause(GroupSymbol symbol, Command command)
public boolean isLateral()
public void setLateral(boolean table)
public void setName(String name)
name - New namepublic void setCommand(Command command)
setCommand in interface SubqueryContainercommand - Command to holdpublic Command getCommand()
getCommand in interface SubqueryContainerpublic String getName()
public String getOutputName()
public GroupSymbol getGroupSymbol()
public void collectGroups(Collection groups)
collectGroups in class FromClausegroups - Groups to add topublic void acceptVisitor(LanguageVisitor visitor)
LanguageObjectacceptVisitor in interface LanguageObjectacceptVisitor in class FromClausevisitor - Visitor being usedpublic boolean equals(Object obj)
equals in class FromClauseobj - Other objectpublic int hashCode()
public FromClause cloneDirect()
cloneDirect in class FromClauseCopyright © 2018 JBoss by Red Hat. All rights reserved.