Package org.teiid.query.sql.lang
Class TableFunctionReference
- java.lang.Object
-
- org.teiid.query.sql.lang.FromClause
-
- org.teiid.query.sql.lang.TableFunctionReference
-
- All Implemented Interfaces:
Cloneable
,LanguageObject
- Direct Known Subclasses:
ArrayTable
,JsonTable
,ObjectTable
,TextTable
,XMLTable
public abstract class TableFunctionReference extends FromClause
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TableFunctionReference.ProjectedColumn
-
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
-
-
Field Summary
-
Fields inherited from class org.teiid.query.sql.lang.FromClause
PRESERVE
-
-
Constructor Summary
Constructors Constructor Description TableFunctionReference()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
collectGroups(Collection<GroupSymbol> groups)
void
copy(TableFunctionReference copy)
boolean
equals(Object obj)
abstract List<? extends TableFunctionReference.ProjectedColumn>
getColumns()
SymbolMap
getCorrelatedReferences()
GroupSymbol
getGroupSymbol()
Get GroupSymbol representing the named subqueryString
getName()
Get name of this clause.String
getOutputName()
List<ElementSymbol>
getProjectedSymbols()
int
hashCode()
void
setCorrelatedReferences(SymbolMap correlatedReferences)
void
setName(String name)
Reset the alias for this subquery from clause and it's pseudo-GroupSymbol.-
Methods inherited from class org.teiid.query.sql.lang.FromClause
acceptVisitor, clone, cloneDirect, getMakeDep, getMakeInd, hasHint, isMakeDep, isMakeNotDep, isNoUnnest, isOptional, isPreserve, setMakeDep, setMakeDep, setMakeInd, setMakeNotDep, setNoUnnest, setOptional, setPreserve, toString
-
-
-
-
Method Detail
-
getCorrelatedReferences
public SymbolMap getCorrelatedReferences()
-
setCorrelatedReferences
public void setCorrelatedReferences(SymbolMap correlatedReferences)
-
copy
public void copy(TableFunctionReference copy)
-
collectGroups
public void collectGroups(Collection<GroupSymbol> groups)
- Specified by:
collectGroups
in classFromClause
-
getName
public String getName()
Get name of this clause.- Returns:
- Name of clause
-
getOutputName
public String getOutputName()
-
getGroupSymbol
public GroupSymbol getGroupSymbol()
Get GroupSymbol representing the named subquery- Returns:
- GroupSymbol representing the subquery
-
setName
public void setName(String name)
Reset the alias for this subquery from clause and it's pseudo-GroupSymbol. WARNING: this will modify the hashCode and equals semantics and will cause this object to be lost if currently in a HashMap or HashSet.- Parameters:
name
- New name- Since:
- 4.3
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classFromClause
-
getColumns
public abstract List<? extends TableFunctionReference.ProjectedColumn> getColumns()
-
getProjectedSymbols
public List<ElementSymbol> getProjectedSymbols()
-
-