org.arch4j.dataaccess.common
Class Join
java.lang.Object
|
+--org.arch4j.dataaccess.common.Join
- public class Join
- extends Object
This class is a helper for creating join conditons
The following types of joins are supported at this time
1) The basic join also called as JOIN or INNER JOIN
2) The Left Join also called as LEFT OUTER JOIN
3) The Right Join also called as RIGHT OUTER JOIN
- Version:
- 1.0
- Author:
- Vibhu Srinivasan
IN
public static final String IN
- See Also:
- Constant Field Values
LOUT
public static final String LOUT
- See Also:
- Constant Field Values
ROUT
public static final String ROUT
- See Also:
- Constant Field Values
Join
public Join(String joinType,
String rhsTableName,
JoinCondition joinCondition)
- Parameters:
joinType
- specifies the type , should be IN, LOUT, ROUTrhsTableName
- is the name of the table that comes on the right
hand side of the join clause for ie
Select * from tableA INNERJOIN tableB..
then the value specified should be tableB . tableA is specified in the
constructor of the
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.