org.teiid.query.sql.lang
Class FromClause
java.lang.Object
org.teiid.query.sql.lang.FromClause
- All Implemented Interfaces:
- java.lang.Cloneable, LanguageObject
- Direct Known Subclasses:
- JoinPredicate, SubqueryFromClause, TableFunctionReference, UnaryFromClause
public abstract class FromClause
- extends java.lang.Object
- implements LanguageObject
A FromClause is an interface for subparts held in a FROM clause. One
type of FromClause is UnaryFromClause, which is the more common
use and represents a single group. Another, less common type of FromClause
is the JoinPredicate which represents a join between two FromClauses
and may contain criteria.
|
Field Summary |
static java.lang.String |
MAKEIND
|
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MAKEIND
public static java.lang.String MAKEIND
FromClause
public FromClause()
isOptional
public boolean isOptional()
setOptional
public void setOptional(boolean optional)
isMakeInd
public boolean isMakeInd()
setMakeInd
public void setMakeInd(boolean 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 interface LanguageObject
- Parameters:
visitor - Visitor being used
collectGroups
public abstract void collectGroups(java.util.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 interface LanguageObject- Overrides:
clone in class java.lang.Object
- Returns:
- Deep clone of this object
isMakeDep
public boolean isMakeDep()
setMakeDep
public void setMakeDep(boolean makeDep)
isMakeNotDep
public boolean isMakeNotDep()
setMakeNotDep
public void setMakeNotDep(boolean makeNotDep)
hasHint
public boolean hasHint()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011. All Rights Reserved.