net.ontopia.persistence.query.sql
Class SQLJoin
java.lang.Object
net.ontopia.persistence.query.sql.SQLJoin
- All Implemented Interfaces:
- SQLExpressionIF
public class SQLJoin
- extends java.lang.Object
- implements SQLExpressionIF
INTERNAL: SQL expression: join. Represents a join between two
tables. A join is a query that combines rows from two or more
tables, views, or materialized views ("snapshots").
Cross joins, left outer joins and right outer joins are
supported.
Fields inherited from interface net.ontopia.persistence.query.sql.SQLExpressionIF |
AND, EQUALS, EXISTS, FALSE, IN, IS_NULL, JOIN, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, VALUE_EXPRESSION, VERBATIM |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CROSS
public static final int CROSS
- See Also:
- Constant Field Values
LEFT_OUTER
public static final int LEFT_OUTER
- See Also:
- Constant Field Values
RIGHT_OUTER
public static final int RIGHT_OUTER
- See Also:
- Constant Field Values
jointype
protected int jointype
left
protected SQLColumns left
right
protected SQLColumns right
SQLJoin
public SQLJoin()
SQLJoin
public SQLJoin(SQLColumns left,
SQLColumns right)
SQLJoin
public SQLJoin(SQLColumns left,
SQLColumns right,
int jointype)
getType
public int getType()
- Description copied from interface:
SQLExpressionIF
- INTERNAL: Returns the expression type. The type is represented by
one of the constants in the
SQLExpressionIF
interface.
- Specified by:
getType
in interface SQLExpressionIF
getJoinType
public int getJoinType()
setJoinType
public void setJoinType(int jointype)
getLeft
public SQLColumns getLeft()
setLeft
public void setLeft(SQLColumns left)
getRight
public SQLColumns getRight()
setRight
public void setRight(SQLColumns right)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2012 Ontopia.