|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.jdo.drivers.HsqlQueryExpression.HsqlAliasInfo
This class encapsulates the information of the aliases related to sql outer joins. This class is defined as inner to easily see the Join class. A further refactoring should make this class a top-level class
Constructor Summary | |
HsqlQueryExpression.HsqlAliasInfo(java.util.Vector joins)
Public constructor. |
Method Summary | |
java.lang.String |
getAliasFor(java.lang.String table,
JDBCQueryExpression.Join join)
Get the alias for the given table and join |
java.util.Hashtable |
getAliasHash(java.lang.String table)
Get the hash of aliases for the given table |
java.lang.String |
getAnAliasFor(java.lang.String table)
Return any alias for the given table |
java.util.Enumeration |
getTables()
Return a list of the tables involved in more than one outer join and they need an alias |
boolean |
tableExists(java.lang.String table)
Check if the given table is involved in more thatn one oter join |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HsqlQueryExpression.HsqlAliasInfo(java.util.Vector joins)
Method Detail |
public java.util.Enumeration getTables()
public boolean tableExists(java.lang.String table)
public java.lang.String getAnAliasFor(java.lang.String table)
public java.lang.String getAliasFor(java.lang.String table, JDBCQueryExpression.Join join)
table
- a not null table name that may participate in more than one
outer joinjoin
- a not null join name in which the given table participates
given table
public java.util.Hashtable getAliasHash(java.lang.String table)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |