public enum DataSinkType extends Enum<DataSinkType> implements com.alibaba.fastjson.serializer.JSONSerializable
| Enum Constant and Description |
|---|
ALIYUN_ADB |
ALIYUN_LOG |
ALIYUN_ODPS |
ALIYUN_OSS |
ALIYUN_OSSHDFS |
ALIYUN_TSDB |
GENERAL |
| Modifier and Type | Method and Description |
|---|---|
static DataSinkType |
fromString(String value) |
String |
toString() |
static DataSinkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSinkType[] |
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 DataSinkType ALIYUN_LOG
public static final DataSinkType ALIYUN_ADB
public static final DataSinkType ALIYUN_TSDB
public static final DataSinkType ALIYUN_OSS
public static final DataSinkType ALIYUN_OSSHDFS
public static final DataSinkType ALIYUN_ODPS
public static final DataSinkType GENERAL
public static DataSinkType[] values()
for (DataSinkType c : DataSinkType.values()) System.out.println(c);
public static DataSinkType 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 DataSinkType fromString(String value)
public String toString()
toString in class Enum<DataSinkType>Copyright © 2025. All Rights Reserved.