当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
JoinFragment (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.sql
Class JoinFragment
java.lang.Object
net.sf.hibernate.sql.JoinFragment
- Direct Known Subclasses:
- ANSIJoinFragment, OracleJoinFragment, QueryJoinFragment, Sybase11_9_2JoinFragment
- public abstract class JoinFragment
- extends Object
An abstract SQL join fragment renderer
- Author:
- Gavin King
Method Summary |
abstract void |
addCondition(String condition)
|
abstract void |
addCondition(String alias,
String[] columns,
String condition)
|
abstract void |
addCondition(String alias,
String[] fkColumns,
String[] pkColumns)
|
abstract void |
addCrossJoin(String tableName,
String alias)
|
void |
addFragment(JoinFragment ojf)
|
abstract void |
addFromFragmentString(String fromFragmentString)
|
abstract void |
addJoin(String tableName,
String alias,
String[] fkColumns,
String[] pkColumns,
int joinType)
|
abstract void |
addJoins(String fromFragment,
String whereFragment)
|
abstract JoinFragment |
copy()
|
abstract String |
toFromFragmentString()
|
abstract String |
toWhereFragmentString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INNER_JOIN
public static final int INNER_JOIN
- See Also:
- Constant Field Values
FULL_JOIN
public static final int FULL_JOIN
- See Also:
- Constant Field Values
LEFT_OUTER_JOIN
public static final int LEFT_OUTER_JOIN
- See Also:
- Constant Field Values
RIGHT_OUTER_JOIN
public static final int RIGHT_OUTER_JOIN
- See Also:
- Constant Field Values
JoinFragment
public JoinFragment()
addJoin
public abstract void addJoin(String tableName,
String alias,
String[] fkColumns,
String[] pkColumns,
int joinType)
addCrossJoin
public abstract void addCrossJoin(String tableName,
String alias)
addJoins
public abstract void addJoins(String fromFragment,
String whereFragment)
toFromFragmentString
public abstract String toFromFragmentString()
toWhereFragmentString
public abstract String toWhereFragmentString()
addCondition
public abstract void addCondition(String alias,
String[] columns,
String condition)
addCondition
public abstract void addCondition(String alias,
String[] fkColumns,
String[] pkColumns)
addCondition
public abstract void addCondition(String condition)
addFromFragmentString
public abstract void addFromFragmentString(String fromFragmentString)
copy
public abstract JoinFragment copy()
addFragment
public void addFragment(JoinFragment ojf)