|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.query.sql.lang.JoinType
public class JoinType
This class represents a join type. Outer joins will put nulls on the outer side for non-matches. "Cross" joins have no criteria and are a cross product of all rows in each table. To use a JoinType, you should not (and cannot) construct the object - rather you should use the provided static constants.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject |
|---|
LanguageObject.Util |
| Field Summary | |
|---|---|
static JoinType |
JOIN_ANTI_SEMI
internal ANTI SEMI Join type |
static JoinType |
JOIN_CROSS
Represents a cross join: a CROSS JOIN b |
static JoinType |
JOIN_FULL_OUTER
Represents a full outer join: a FULL OUTER JOIN b |
static JoinType |
JOIN_INNER
Represents an inner join: a INNER JOIN b |
static JoinType |
JOIN_LEFT_OUTER
Represents a left outer join: a LEFT OUTER JOIN b |
static JoinType |
JOIN_RIGHT_OUTER
Represents a right outer join: a RIGHT OUTER JOIN b |
static JoinType |
JOIN_SEMI
internal SEMI Join type |
static JoinType |
JOIN_UNION
Represents a union join: a UNION JOIN b - not used after rewrite |
| Method Summary | |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor. |
java.lang.Object |
clone()
Class is immutable, so clone can just return the same class |
boolean |
equals(java.lang.Object other)
Override Object.equals() to compare objects |
JoinType |
getReverseType()
To switch directions from left to right or right to left. |
int |
hashCode()
Get hash code for this type |
boolean |
isOuter()
Check if this join type is an outer join. |
boolean |
isSemi()
|
java.lang.String |
toString()
Returns a string representation of an instance of this class. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final JoinType JOIN_INNER
public static final JoinType JOIN_RIGHT_OUTER
public static final JoinType JOIN_LEFT_OUTER
public static final JoinType JOIN_FULL_OUTER
public static final JoinType JOIN_CROSS
public static final JoinType JOIN_UNION
public static final JoinType JOIN_SEMI
public static final JoinType JOIN_ANTI_SEMI
| Method Detail |
|---|
public JoinType getReverseType()
public boolean isOuter()
public boolean isSemi()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - Other object
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor in interface LanguageObjectvisitor - Visitor being usedpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object clone()
clone in interface LanguageObjectclone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||