Enum OutputFieldType
- java.lang.Object
-
- java.lang.Enum<OutputFieldType>
-
- io.aiven.kafka.connect.common.config.OutputFieldType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OutputFieldType>
public enum OutputFieldType extends java.lang.Enum<OutputFieldType>
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Stringname
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OutputFieldTypeforName(java.lang.String name)static booleanisValidName(java.lang.String name)static java.util.Collection<java.lang.String>names()static OutputFieldTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OutputFieldType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEY
public static final OutputFieldType KEY
-
VALUE
public static final OutputFieldType VALUE
-
OFFSET
public static final OutputFieldType OFFSET
-
TIMESTAMP
public static final OutputFieldType TIMESTAMP
-
HEADERS
public static final OutputFieldType HEADERS
-
-
Method Detail
-
values
public static OutputFieldType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OutputFieldType c : OutputFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutputFieldType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forName
public static OutputFieldType forName(java.lang.String name)
-
isValidName
public static boolean isValidName(java.lang.String name)
-
names
public static java.util.Collection<java.lang.String> names()
-
-