Class SQLJoin
java.lang.Object
net.ontopia.persistence.query.sql.SQLJoin
- All Implemented Interfaces:
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprotected intprotected SQLColumnsstatic final intprotected SQLColumnsstatic final intFields 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 -
Constructor Summary
ConstructorsConstructorDescriptionSQLJoin()SQLJoin(SQLColumns left, SQLColumns right) SQLJoin(SQLColumns left, SQLColumns right, int jointype) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetLeft()getRight()intgetType()INTERNAL: Returns the expression type.inthashCode()voidsetJoinType(int jointype) voidsetLeft(SQLColumns left) voidsetRight(SQLColumns right) toString()
-
Field Details
-
CROSS
public static final int CROSS- See Also:
-
LEFT_OUTER
public static final int LEFT_OUTER- See Also:
-
RIGHT_OUTER
public static final int RIGHT_OUTER- See Also:
-
jointype
protected int jointype -
left
-
right
-
-
Constructor Details
-
SQLJoin
public SQLJoin() -
SQLJoin
-
SQLJoin
-
-
Method Details
-
getType
public int getType()Description copied from interface:SQLExpressionIFINTERNAL: Returns the expression type. The type is represented by one of the constants in theSQLExpressionIFinterface.- Specified by:
getTypein interfaceSQLExpressionIF
-
getJoinType
public int getJoinType() -
setJoinType
public void setJoinType(int jointype) -
getLeft
-
setLeft
-
getRight
-
setRight
-
hashCode
public int hashCode() -
equals
-
toString
-