org.exolab.castor.jdo.drivers
final class HsqlQueryExpression.HsqlAliasInfo extends Object
Constructor Summary | |
---|---|
HsqlAliasInfo(Vector joins)
Public constructor. |
Method Summary | |
---|---|
String | getAliasFor(String table, Join join)
Get the alias for the given table and join |
Hashtable | getAliasHash(String table)
Get the hash of aliases for the given table |
String | getAnAliasFor(String table)
Return any alias for the given table |
Enumeration | getTables()
Return a list of the tables involved in more than one outer join and
they need an alias |
boolean | tableExists(String table)
Check if the given table is involved in more thatn one oter join |
Parameters: table a not null table name that may participate in more than one outer join join a not null join name in which the given table participates given table
Returns: the alias for the input table and join; or null if the table has no aliases because it does not participate in more than one outer join
Returns: a Hashtable instance which keys are the join objects and the values are the alias names for the given table. If the table has no aliases it returns null
Parameters: name a not null table name
Returns: an alias for the input table; or null if the table has no aliases because it does not participate in more than one outer join