public class SubqueryFromClause extends FromClause implements SubqueryContainer
SubqueryContainer.Evaluatable<T extends Command>
LanguageObject.Util
PRESERVE
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, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone
public 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 SubqueryContainer
command
- Command to holdpublic Command getCommand()
getCommand
in interface SubqueryContainer
public String getName()
public String getOutputName()
public GroupSymbol getGroupSymbol()
public void collectGroups(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(Object obj)
equals
in class FromClause
obj
- Other objectpublic int hashCode()
public FromClause cloneDirect()
cloneDirect
in class FromClause
Copyright © 2018 JBoss by Red Hat. All rights reserved.