Table of Contents

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

position int

Property Value

TTable

Methods

addTable(TTable)

public virtual void addTable(TTable table)

Parameters

table TTable

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

tableref TTableReference

checkColumnReferenceInTables(TObjectName)

public virtual int checkColumnReferenceInTables(TObjectName crf)

Parameters

crf TObjectName

column 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

position int

Returns

TTable

removeTable(int)

public void removeTable(int index)

Parameters

index int