public static enum KafKaSource.ValueType extends Enum<KafKaSource.ValueType> implements com.alibaba.fastjson.serializer.JSONSerializable
| Modifier and Type | Method and Description |
|---|---|
static KafKaSource.ValueType |
fromString(String value) |
static KafKaSource.ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafKaSource.ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
write(com.alibaba.fastjson.serializer.JSONSerializer jsonSerializer,
Object o,
Type type,
int i) |
public static final KafKaSource.ValueType JSON
public static final KafKaSource.ValueType TEXT
public static KafKaSource.ValueType[] values()
for (KafKaSource.ValueType c : KafKaSource.ValueType.values()) System.out.println(c);
public static KafKaSource.ValueType 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 KafKaSource.ValueType fromString(String value)
Copyright © 2025. All Rights Reserved.