public enum TableType extends Enum<TableType>
| 枚举常量和说明 |
|---|
alias
Alias
|
global_temporary
Global temporary
|
local_temporary
Local temporary
|
synonym
Synonym
|
system_table
System table
|
table
Table
|
unknown
Unknown
|
view
View
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String[] |
toStrings(TableType[] tableTypes)
Converts an array of table types to an array of their corresponding string values.
|
static TableType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TableType[] |
valueOf(String[] tableTypeStrings)
返回带有指定名称的该类型的枚举常量。
|
static TableType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final TableType unknown
public static final TableType system_table
public static final TableType global_temporary
public static final TableType local_temporary
public static final TableType table
public static final TableType view
public static final TableType alias
public static final TableType synonym
public static TableType[] values()
for (TableType c : TableType.values()) System.out.println(c);
public static TableType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static String[] toStrings(TableType[] tableTypes)
tableTypes - Array of table typespublic static TableType[] valueOf(String[] tableTypeStrings)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2018. All rights reserved.