Enum GryoVersion
- java.lang.Object
-
- java.lang.Enum<GryoVersion>
-
- org.apache.tinkerpop.gremlin.structure.io.gryo.GryoVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<GryoVersion>
public enum GryoVersion extends Enum<GryoVersion>
- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TypeRegistration<?>>
cloneRegistrations()
Supplier<org.apache.tinkerpop.shaded.kryo.ClassResolver>
getClassResolverMaker()
List<TypeRegistration<?>>
getRegistrations()
String
getVersion()
static List<TypeRegistration<?>>
initV1Registrations()
static List<TypeRegistration<?>>
initV3Registrations()
static GryoVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static GryoVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V1_0
public static final GryoVersion V1_0
-
V3_0
public static final GryoVersion V3_0
-
-
Method Detail
-
values
public static GryoVersion[] 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 (GryoVersion c : GryoVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GryoVersion 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
-
cloneRegistrations
public List<TypeRegistration<?>> cloneRegistrations()
-
getRegistrations
public List<TypeRegistration<?>> getRegistrations()
-
getClassResolverMaker
public Supplier<org.apache.tinkerpop.shaded.kryo.ClassResolver> getClassResolverMaker()
-
getVersion
public String getVersion()
-
initV3Registrations
public static List<TypeRegistration<?>> initV3Registrations()
-
initV1Registrations
public static List<TypeRegistration<?>> initV1Registrations()
-
-