Class SQLTableTNamer

  extended by
All Implemented Interfaces:

public class SQLTableTNamer
extends java.lang.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
Method Summary
 java.lang.String getAliasForTable(SQLStatement stmt, table, java.lang.String groupName)
          Method to return the alias to use for the specified table.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SQLTableTNamer()
Method Detail


public java.lang.String getAliasForTable(SQLStatement stmt,
                                         java.lang.String groupName)
Description copied from interface: SQLTableNamer
Method to return the alias to use for the specified table.

Specified by:
getAliasForTable in interface SQLTableNamer
stmt - The statement where we will use the table
table - The table
groupName - Name of the table group
The alias to use

Copyright © 2009. All Rights Reserved.