Arch4J 1.1

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

Field Summary
static String IN
           
static String LOUT
           
static String ROUT
           
 
Constructor Summary
Join(String joinType, String rhsTableName, JoinCondition joinCondition)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

Join

public Join(String joinType,
            String rhsTableName,
            JoinCondition joinCondition)
Parameters:
joinType - specifies the type , should be IN, LOUT, ROUT
rhsTableName - 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
Method Detail

toString

public String toString()
Overrides:
toString in class Object

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.