|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.storage.sql.jdbc.db.Join
public class Join
A SQL JOIN.
Field Summary | |
---|---|
static int |
IMPLICIT
|
static int |
INNER
|
int |
kind
INNER / LEFT / RIGHT / IMPLICIT |
static int |
LEFT
|
String |
on1
Left part of equijoin. |
String |
on2
Right part of equijoin. |
static int |
RIGHT
|
String |
table
Table name. |
String |
tableAlias
Table alias, or null . |
String |
tableParam
Parameter if table name is an expression that contains a "?", or null . |
List<String> |
whereClauses
Additional WHERE clauses. |
List<Serializable> |
whereParams
Additional WHERE clauses parameters. |
Constructor Summary | |
---|---|
Join(int kind,
String table,
String tableAlias,
String tableParam,
String on1,
String on2)
|
Method Summary | |
---|---|
void |
addWhereClause(String whereClause,
Serializable whereParam)
|
int |
compareTo(Join other)
|
String |
getClause()
|
String |
getTable(Dialect dialect)
|
String |
toSql(Dialect dialect)
Does not return the WHERE clause. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int INNER
public static final int LEFT
public static final int RIGHT
public static final int IMPLICIT
public final int kind
public final String table
public final String tableAlias
null
.
public final String tableParam
null
.
public final String on1
public final String on2
public final List<String> whereClauses
public final List<Serializable> whereParams
Constructor Detail |
---|
public Join(int kind, String table, String tableAlias, String tableParam, String on1, String on2)
Method Detail |
---|
public void addWhereClause(String whereClause, Serializable whereParam)
public int compareTo(Join other)
compareTo
in interface Comparable<Join>
public String getTable(Dialect dialect)
public String getClause()
public String toSql(Dialect dialect)
public String toString()
toString
in class Object
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |