org.teiid.query.sql.lang
Class TableFunctionReference

java.lang.Object
  extended by org.teiid.query.sql.lang.FromClause
      extended by org.teiid.query.sql.lang.TableFunctionReference
All Implemented Interfaces:
java.lang.Cloneable, LanguageObject
Direct Known Subclasses:
TextTable, XMLTable

public abstract class TableFunctionReference
extends FromClause


Nested Class Summary
static class TableFunctionReference.ProjectedColumn
           
 
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
 
Constructor Summary
TableFunctionReference()
           
 
Method Summary
 void collectGroups(java.util.Collection groups)
           
 void copy(TableFunctionReference copy)
           
 boolean equals(java.lang.Object obj)
           
abstract  java.util.List<? extends TableFunctionReference.ProjectedColumn> getColumns()
           
 SymbolMap getCorrelatedReferences()
           
 GroupSymbol getGroupSymbol()
          Get GroupSymbol representing the named subquery
 java.lang.String getName()
          Get name of this clause.
 java.lang.String getOutputName()
           
 java.util.List<ElementSymbol> getProjectedSymbols()
           
 int hashCode()
           
 void setCorrelatedReferences(SymbolMap correlatedReferences)
           
 void setName(java.lang.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, hasHint, isMakeDep, isMakeNotDep, isOptional, setMakeDep, setMakeNotDep, setOptional, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableFunctionReference

public TableFunctionReference()
Method Detail

getCorrelatedReferences

public SymbolMap getCorrelatedReferences()

setCorrelatedReferences

public void setCorrelatedReferences(SymbolMap correlatedReferences)

copy

public void copy(TableFunctionReference copy)

collectGroups

public void collectGroups(java.util.Collection groups)
Specified by:
collectGroups in class FromClause

getName

public java.lang.String getName()
Get name of this clause.

Returns:
Name of clause

getOutputName

public java.lang.String getOutputName()

getGroupSymbol

public GroupSymbol getGroupSymbol()
Get GroupSymbol representing the named subquery

Returns:
GroupSymbol representing the subquery

setName

public void setName(java.lang.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(java.lang.Object obj)
Overrides:
equals in class FromClause

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getColumns

public abstract java.util.List<? extends TableFunctionReference.ProjectedColumn> getColumns()

getProjectedSymbols

public java.util.List<ElementSymbol> getProjectedSymbols()


Copyright © 2010. All Rights Reserved.