Package org.teiid.query.sql.lang
Class FromClause
- java.lang.Object
-
- org.teiid.query.sql.lang.FromClause
-
- All Implemented Interfaces:
Cloneable
,LanguageObject
- Direct Known Subclasses:
JoinPredicate
,SubqueryFromClause
,TableFunctionReference
,UnaryFromClause
public abstract class FromClause extends Object implements LanguageObject
A FromClause is an interface for subparts held in a FROM clause. One type of FromClause isUnaryFromClause
, which is the more common use and represents a single group. Another, less common type of FromClause is theJoinPredicate
which represents a join between two FromClauses and may contain criteria.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
-
-
Constructor Summary
Constructors Constructor Description FromClause()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.FromClause
clone()
Implement clone to make objects cloneable.protected abstract FromClause
cloneDirect()
abstract void
collectGroups(Collection<GroupSymbol> groups)
boolean
equals(Object obj)
Option.MakeDep
getMakeDep()
Option.MakeDep
getMakeInd()
boolean
hasHint()
boolean
isMakeDep()
boolean
isMakeNotDep()
boolean
isNoUnnest()
boolean
isOptional()
boolean
isPreserve()
void
setMakeDep(boolean makeDep)
void
setMakeDep(Option.MakeDep makedep)
void
setMakeInd(Option.MakeDep makeInd)
void
setMakeNotDep(boolean makeNotDep)
void
setNoUnnest(boolean noUnnest)
void
setOptional(boolean optional)
void
setPreserve(boolean preserve)
String
toString()
-
-
-
Field Detail
-
PRESERVE
public static final String PRESERVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isOptional
public boolean isOptional()
-
setOptional
public void setOptional(boolean optional)
-
getMakeInd
public Option.MakeDep getMakeInd()
-
setMakeInd
public void setMakeInd(Option.MakeDep makeInd)
-
acceptVisitor
public abstract void acceptVisitor(LanguageVisitor visitor)
Description copied from interface:LanguageObject
Method for accepting a visitor. It is the responsibility of the language object to call back on the visitor.- Specified by:
acceptVisitor
in interfaceLanguageObject
- Parameters:
visitor
- Visitor being used
-
collectGroups
public abstract void collectGroups(Collection<GroupSymbol> groups)
-
cloneDirect
protected abstract FromClause cloneDirect()
-
clone
public FromClause clone()
Description copied from interface:LanguageObject
Implement clone to make objects cloneable.- Specified by:
clone
in interfaceLanguageObject
- Overrides:
clone
in classObject
- Returns:
- Deep clone of this object
-
setNoUnnest
public void setNoUnnest(boolean noUnnest)
-
isNoUnnest
public boolean isNoUnnest()
-
isMakeDep
public boolean isMakeDep()
-
getMakeDep
public Option.MakeDep getMakeDep()
-
setMakeDep
public void setMakeDep(boolean makeDep)
-
isMakeNotDep
public boolean isMakeNotDep()
-
setMakeNotDep
public void setMakeNotDep(boolean makeNotDep)
-
setMakeDep
public void setMakeDep(Option.MakeDep makedep)
-
isPreserve
public boolean isPreserve()
-
setPreserve
public void setPreserve(boolean preserve)
-
hasHint
public boolean hasHint()
-
-