Class TTableList
- Namespace
- gudusoft.gsqlparser.nodes
- Assembly
- gudusoft.gsqlparser.dll
public class TTableList : TParseTreeNodeList, Visitable, IEnumerable
- Inheritance
-
TTableList
- Implements
- Inherited Members
Constructors
TTableList()
public TTableList()
Properties
this[int]
public TTable this[int position] { get; }
Parameters
positionint
Property Value
Methods
addTable(TTable)
public virtual void addTable(TTable table)
Parameters
tableTTable
addTableByTableRefernce(TTableReference)
add a table reference to table list, if there is already a corresponding table in table list just add this reference to that table, otherwise, create a new table instance, then add this reference.
public virtual void addTableByTableRefernce(TTableReference tableref)
Parameters
tablerefTTableReference
checkColumnReferenceInTables(TObjectName)
public virtual int checkColumnReferenceInTables(TObjectName crf)
Parameters
crfTObjectNamecolumn reference
Returns
- int
return position of table this column reference belongs to, 0 means first table. < 0 means not found if no qualifier before column name, always return -2, if return -1,this column name must be found in uplevel tables
getTable(int)
public virtual TTable getTable(int position)
Parameters
positionint
Returns
removeTable(int)
public void removeTable(int index)
Parameters
indexint