public class TableAliasLookup extends Object implements Serializable
INTERNAL:
Represents the aliased tables an ObjectExpression will be translated to,
along with any of its derived TableExpressions.
For bug 2778339 / CR 2456, this Lookup also represents identity. Two
expressions with the same Lookup will be translated to the same table(s).
Fields Summary
protected DatabaseTable[]
keys
protected DatabaseTable[]
values
protected int
lastUsed
protected boolean
haveBeenAddedToStatement
Constructors Summary
public TableAliasLookup()
TableAliasLookup constructor comment.
super();
keys = new DatabaseTable[5];
values = new DatabaseTable[5];
lastUsed = 0;
INTERNAL:
Answers if the aliases have already been added to a statement.
This insures that a subselect will not re-add aliases already
in a parent FROM clause.
For CR#4223
INTERNAL:
Called when aliases are added to a statement.
This insures that a subselect will not re-add aliases already
in a parent FROM clause.
For CR#4223