Module org.eclipse.persistence.core
Class TableAliasLookup
java.lang.Object
org.eclipse.persistence.internal.expressions.TableAliasLookup
- All Implemented Interfaces:
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).
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected DatabaseTable[]
protected int
protected DatabaseTable[]
-
Constructor Summary
ConstructorDescriptionTableAliasLookup constructor comment.TableAliasLookup
(int initialSize) TableAliasLookup constructor comment. -
Method Summary
Modifier and TypeMethodDescriptionvoid
get
(DatabaseTable key) boolean
INTERNAL: Answers if the aliases have already been added to a statement.boolean
isEmpty()
isEmpty method comment.keyAtValue
(DatabaseTable value) keys()
put
(DatabaseTable key, DatabaseTable value) put method comment.void
setHaveBeenAddedToStatement
(boolean value) INTERNAL: Called when aliases are added to a statement.int
size()
size method comment.toString()
values()
-
Field Details
-
keys
-
values
-
lastUsed
protected int lastUsed -
haveBeenAddedToStatement
protected boolean haveBeenAddedToStatement
-
-
Constructor Details
-
TableAliasLookup
public TableAliasLookup()TableAliasLookup constructor comment. -
TableAliasLookup
public TableAliasLookup(int initialSize) TableAliasLookup constructor comment.
-
-
Method Details
-
addToMap
-
get
-
haveBeenAddedToStatement
public boolean haveBeenAddedToStatement()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 -
isEmpty
public boolean isEmpty()isEmpty method comment. -
keyAtValue
-
keys
-
put
put method comment. -
setHaveBeenAddedToStatement
public void setHaveBeenAddedToStatement(boolean value) 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 -
size
public int size()size method comment. -
toString
-
values
-