public enum Serializers extends Enum<Serializers>
Enum Constant and Description |
---|
GRAPHBINARY_V1D0 |
GRAPHSON
GraphSON 3.0.
|
GRAPHSON_V1D0
GraphSON 1.0 with types.
|
GRAPHSON_V1D0_UNTYPED
GraphSON 2.0 without types.
|
GRAPHSON_V2D0
GraphSON 2.0 with types.
|
GRAPHSON_V2D0_UNTYPED
GraphSON 2.0 without types.
|
GRAPHSON_V3D0
GraphSON 3.0 with types.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
MessageSerializer<?> |
simpleInstance() |
static Serializers |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Serializers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Serializers GRAPHSON
public static final Serializers GRAPHSON_V1D0
public static final Serializers GRAPHSON_V1D0_UNTYPED
public static final Serializers GRAPHSON_V2D0
public static final Serializers GRAPHSON_V2D0_UNTYPED
public static final Serializers GRAPHSON_V3D0
public static final Serializers GRAPHBINARY_V1D0
public static Serializers[] values()
for (Serializers c : Serializers.values()) System.out.println(c);
public static Serializers 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 String getValue()
public MessageSerializer<?> simpleInstance()
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.