public enum JoinType extends Enum<JoinType>
Enum Constant and Description |
---|
CROSS_JOIN |
INNER_JOIN |
LEFT_JOIN |
RIGHT_JOIN |
Modifier and Type | Method and Description |
---|---|
boolean |
isNeverNullable()
Returns if this JoinType always produce results that are NEVER
null for entities belonging to another Stage. |
boolean |
isNullableOther()
Returns if this JoinType can produce results that are
null for
entities belonging to another Stage. |
boolean |
isNullableSelf()
Returns if this JoinType can produce results that are
null for
entities belonging to the same Stage where this JoinType is present. |
String |
sql()
Returns the SQL representation of the JoinType.
|
static JoinType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JoinType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JoinType INNER_JOIN
public static final JoinType LEFT_JOIN
public static final JoinType RIGHT_JOIN
public static final JoinType CROSS_JOIN
public static JoinType[] values()
for (JoinType c : JoinType.values()) System.out.println(c);
public static JoinType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String sql()
public boolean isNullableSelf()
null
for
entities belonging to the same Stage where this JoinType is present.null
for
entities belonging to the same Stage where this JoinType is presentpublic boolean isNullableOther()
null
for
entities belonging to another Stage.null
for
entities belonging to another Stagepublic boolean isNeverNullable()
null
for entities belonging to another Stage.null
for entities belonging to another Stage.Copyright © 2018 Speedment, Inc.. All rights reserved.