public enum TableType extends Enum<TableType>
Enum Constant and Description |
---|
ALIAS |
GLOBAL_TEMPORARY |
LOCAL_TEMPORARY |
OTHER |
SYNONYM |
SYSTEM_TABLE |
TABLE |
VIEW |
Modifier and Type | Field and Description |
---|---|
static TableType[] |
DEFAULT_TABLE_TYPES |
Modifier and Type | Method and Description |
---|---|
static TableType |
getTableType(String literalType)
Tries to resolve a TableType based on an incoming string/literal.
|
boolean |
isMaterialized() |
static TableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableType TABLE
public static final TableType VIEW
public static final TableType SYSTEM_TABLE
public static final TableType GLOBAL_TEMPORARY
public static final TableType LOCAL_TEMPORARY
public static final TableType ALIAS
public static final TableType SYNONYM
public static final TableType OTHER
public static final TableType[] DEFAULT_TABLE_TYPES
public static TableType[] values()
for (TableType c : TableType.values()) System.out.println(c);
public static TableType 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 boolean isMaterialized()
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.