public enum DataSourceType extends Enum<DataSourceType> implements com.alibaba.fastjson.serializer.JSONSerializable
| Enum Constant and Description |
|---|
ALIYUN_BSS |
ALIYUN_CLOUD_MONITOR |
ALIYUN_MAX_COMPUTE |
ALIYUN_OSS |
GENERAL |
JDBC |
KAFKA |
| Modifier and Type | Method and Description |
|---|---|
static DataSourceType |
fromString(String value) |
String |
toString() |
static DataSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
write(com.alibaba.fastjson.serializer.JSONSerializer serializer,
Object fieldName,
Type fieldType,
int features) |
public static final DataSourceType ALIYUN_OSS
public static final DataSourceType ALIYUN_BSS
public static final DataSourceType ALIYUN_MAX_COMPUTE
public static final DataSourceType JDBC
public static final DataSourceType KAFKA
public static final DataSourceType ALIYUN_CLOUD_MONITOR
public static final DataSourceType GENERAL
public static DataSourceType[] values()
for (DataSourceType c : DataSourceType.values()) System.out.println(c);
public static DataSourceType 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 static DataSourceType fromString(String value)
public String toString()
toString in class Enum<DataSourceType>Copyright © 2025. All Rights Reserved.