Class TTable

All Implemented Interfaces:
IRelation, Visitable, Iterator<TSourceToken>
Direct Known Subclasses:
TCTE

public class TTable extends TNodeWithAliasClause implements IRelation
Represents various kinds of table source in from clause. Can also be a simple table/view name in create table and all other places. result of getTableType() can be one of:
  • ftt_objectname, in from clause, a simple table/view name, reference: tableName
  • ftt_subquery, is a subquery that retrieves rows from the database, also known as derived table. reference: subquery
  • ftt_tableExpr,it's usually a table-valued expression., reference: tableExpr
  • ftt_function, it's usually a table-valued function., reference: funcCall
  • ETableSource.rowList, it's constructed rows, reference: rowList
  • ftt_containsTable, CONTAINSTABLE clause of sql server. reference: containsTable, type of TContainsTable
  • ftt_freetextTable, FREETEXTTABLE clause of sql server. reference: containsTable, type of TContainsTable
  • ftt_openrowset, OPENROWSET clause of sql server. reference: openRowSet, type of TOpenRowSet
  • ftt_openxml, OPENXML clause of sql server. reference: openXML, type of TOpenXML
  • ftt_opendatasource, OPENDATASOURCE clause of sql server. reference: openDatasource, type of TOpenDatasource
  • ftt_openquery, OPENQUERY clause of sql server. reference: openquery, type of (@link TOpenQuery)