public enum JoinType extends Enum<JoinType> implements ISqlSegment
| 枚举常量和说明 |
|---|
INNER_JOIN
内联
|
LEFT_JOIN
左连
|
RIGHT_JOIN
右连
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getSqlSegment()
SQL 片段
|
static JoinType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static JoinType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final JoinType LEFT_JOIN
public static final JoinType RIGHT_JOIN
public static final JoinType INNER_JOIN
public static JoinType[] values()
for (JoinType c : JoinType.values()) System.out.println(c);
public static JoinType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getSqlSegment()
ISqlSegmentgetSqlSegment 在接口中 ISqlSegmentCopyright © 2022. All rights reserved.