public enum DefaultDataSourceType extends Enum<DefaultDataSourceType> implements DataSourceType
Modifier and Type | Method and Description |
---|---|
String |
toJson()
Get the DataSourceType as a Json value.
|
static DefaultDataSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultDataSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultDataSourceType TABLE
public static final DefaultDataSourceType QUERY
public static final DefaultDataSourceType UNION
public static DefaultDataSourceType[] values()
for (DefaultDataSourceType c : DefaultDataSourceType.values()) System.out.println(c);
public static DefaultDataSourceType 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 toJson()
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.