Package org.datanucleus.store.rdbms.sql
Class SQLTableTNamer
- java.lang.Object
-
- org.datanucleus.store.rdbms.sql.SQLTableTNamer
-
- All Implemented Interfaces:
SQLTableNamer
public class SQLTableTNamer extends Object implements SQLTableNamer
SQLTable namer that generates names like T0, T1, T2, etc. T0 is the primary table of the statement. Doesn't make any use of table-groups, just incrementing the number for each new table.
-
-
Constructor Summary
Constructors Constructor Description SQLTableTNamer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAliasForTable(SQLStatement stmt, Table table, String groupName)
Method to return the alias to use for the specified table.
-
-
-
Method Detail
-
getAliasForTable
public String getAliasForTable(SQLStatement stmt, Table table, String groupName)
Description copied from interface:SQLTableNamer
Method to return the alias to use for the specified table.- Specified by:
getAliasForTable
in interfaceSQLTableNamer
- Parameters:
stmt
- The statement where we will use the tabletable
- The tablegroupName
- Name of the table group- Returns:
- The alias to use
-
-