Class TinkerIoRegistryV2
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.structure.io.AbstractIoRegistry
-
- org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV2
-
- All Implemented Interfaces:
IoRegistry
public final class TinkerIoRegistryV2 extends AbstractIoRegistry
An implementation of theIoRegistry
interface that provides serializers with custom configurations for implementation specific classes that might need to be serialized. This registry allows aTinkerGraph
to be serialized directly which is useful for moving small graphs around on the network. Most providers need not implement this kind of custom serializer as they will deal with much larger graphs that wouldn't be practical to serialize in this fashion. This is a bit of a special case for TinkerGraph given its in-memory status. Typical implementations would create serializers for a complex vertex identifier or a custom data class like a "geographic point".- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Field Summary
-
Fields inherited from interface org.apache.tinkerpop.gremlin.structure.io.IoRegistry
IO_REGISTRY
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TinkerIoRegistryV2
instance()
-
Methods inherited from class org.apache.tinkerpop.gremlin.structure.io.AbstractIoRegistry
find, find, register
-
-
-
-
Method Detail
-
instance
public static TinkerIoRegistryV2 instance()
-
-