public class JoinType extends Object implements LanguageObject
LanguageObject.Util
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
Object |
clone()
Class is immutable, so clone can just return the same class
|
boolean |
equals(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.
|
String |
toString()
Returns a string representation of an instance of this class.
|
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
public JoinType getReverseType()
public boolean isOuter()
public boolean equals(Object other)
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
acceptVisitor
in interface LanguageObject
visitor
- Visitor being usedpublic int hashCode()
public Object clone()
clone
in interface LanguageObject
clone
in class Object
Copyright © 2018 JBoss by Red Hat. All rights reserved.