Class GraphSONXModuleV2
- java.lang.Object
-
- org.apache.tinkerpop.shaded.jackson.databind.Module
-
- org.apache.tinkerpop.shaded.jackson.databind.module.SimpleModule
-
- org.apache.tinkerpop.gremlin.structure.io.graphson.TinkerPopJacksonModule
-
- org.apache.tinkerpop.gremlin.structure.io.graphson.GraphSONXModuleV2
-
- All Implemented Interfaces:
Serializable
,org.apache.tinkerpop.shaded.jackson.core.Versioned
public final class GraphSONXModuleV2 extends TinkerPopJacksonModule
Version 2.0 of GraphSON extensions.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphSONXModuleV2.Builder
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.shaded.jackson.databind.module.SimpleModule
_abstractTypes, _deserializerModifier, _deserializers, _hasExplicitName, _keyDeserializers, _keySerializers, _mixins, _name, _namingStrategy, _serializerModifier, _serializers, _subtypes, _valueInstantiators, _version
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GraphSONXModuleV2(boolean normalize)
Constructs a new object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GraphSONXModuleV2.Builder
build()
Map<Class,String>
getTypeDefinitions()
String
getTypeNamespace()
-
Methods inherited from class org.apache.tinkerpop.shaded.jackson.databind.module.SimpleModule
_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, version
-
-
-
-
Method Detail
-
build
public static GraphSONXModuleV2.Builder build()
-
getTypeDefinitions
public Map<Class,String> getTypeDefinitions()
- Specified by:
getTypeDefinitions
in classTinkerPopJacksonModule
-
getTypeNamespace
public String getTypeNamespace()
- Specified by:
getTypeNamespace
in classTinkerPopJacksonModule
-
-