Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql.jdbc.db
Class Join

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.jdbc.db.Join
All Implemented Interfaces:
Serializable, Comparable<Join>

public class Join
extends Object
implements Serializable, Comparable<Join>

A SQL JOIN.

See Also:
Serialized Form

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.
 
Constructor Summary
Join(int kind, String table, String tableAlias, String tableParam, String on1, String on2)
           
 
Method Summary
 int compareTo(Join other)
           
 String getClause()
           
 String getTable()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INNER

public static final int INNER
See Also:
Constant Field Values

LEFT

public static final int LEFT
See Also:
Constant Field Values

RIGHT

public static final int RIGHT
See Also:
Constant Field Values

IMPLICIT

public static final int IMPLICIT
See Also:
Constant Field Values

kind

public final int kind
INNER / LEFT / RIGHT / IMPLICIT


table

public final String table
Table name.


tableAlias

public final String tableAlias
Table alias, or null.


tableParam

public final String tableParam
Parameter if table name is an expression that contains a "?", or null.


on1

public final String on1
Left part of equijoin.


on2

public final String on2
Right part of equijoin.

Constructor Detail

Join

public Join(int kind,
            String table,
            String tableAlias,
            String tableParam,
            String on1,
            String on2)
Method Detail

compareTo

public int compareTo(Join other)
Specified by:
compareTo in interface Comparable<Join>

getTable

public String getTable()

getClause

public String getClause()

toString

public String toString()
Overrides:
toString in class Object

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.