Enum KryoRegistration.SerializerDefinitionType
- java.lang.Object
-
- java.lang.Enum<KryoRegistration.SerializerDefinitionType>
-
- org.apache.flink.api.java.typeutils.runtime.KryoRegistration.SerializerDefinitionType
-
- All Implemented Interfaces:
Serializable
,Comparable<KryoRegistration.SerializerDefinitionType>
- Enclosing class:
- KryoRegistration
public static enum KryoRegistration.SerializerDefinitionType extends Enum<KryoRegistration.SerializerDefinitionType>
IMPORTANT: the order of the enumerations must not change, since their ordinals are used for serialization.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASS
INSTANCE
UNSPECIFIED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KryoRegistration.SerializerDefinitionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static KryoRegistration.SerializerDefinitionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final KryoRegistration.SerializerDefinitionType UNSPECIFIED
-
CLASS
public static final KryoRegistration.SerializerDefinitionType CLASS
-
INSTANCE
public static final KryoRegistration.SerializerDefinitionType INSTANCE
-
-
Method Detail
-
values
public static KryoRegistration.SerializerDefinitionType[] 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 (KryoRegistration.SerializerDefinitionType c : KryoRegistration.SerializerDefinitionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KryoRegistration.SerializerDefinitionType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-