Package org.datanucleus.store.rdbms.sql
Class SQLTableGroup
java.lang.Object
org.datanucleus.store.rdbms.sql.SQLTableGroup
Group of tables in an SQL statement.
Tables are grouped to represent a particular object, so equates to an inheritance tree.
In this way, if we have a class B which extends class A and they have tables B and A
respectively then tables B and A will be in the same group when related to that object.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) SQLJoin.JoinType
Type of join to this group (from the candidate group presumably).(package private) String
Name of this group.Map of tables in this group, keyed by their alias. -
Constructor Summary
ConstructorsConstructorDescriptionSQLTableGroup
(String name, SQLJoin.JoinType joinType) Constructor for a group with this name. -
Method Summary
-
Field Details
-
name
String nameName of this group. -
joinType
SQLJoin.JoinType joinTypeType of join to this group (from the candidate group presumably). -
tablesByAlias
Map of tables in this group, keyed by their alias.
-
-
Constructor Details
-
SQLTableGroup
SQLTableGroup(String name, SQLJoin.JoinType joinType) Constructor for a group with this name.- Parameters:
name
- Name of the group
-
-
Method Details