Interface IoRegistry
-
- All Known Implementing Classes:
AbstractIoRegistry
public interface IoRegistry
A generalized custom serializer registry for providers implementing aGraph
. Providers should develop an implementation of this interface if their implementation requires custom serialization of identifiers or other such content housed in their graph. Consider extending fromAbstractIoRegistry
and ensure that the implementation has a zero-arg constructor or a static "instance" method that returns anIoRegistry
instance, as implementations may need to be constructed from reflection given different parts of the TinkerPop stack.The serializers to register depend on the
Io
implementations that are expected to be supported. There are currently two core implementations inGryoIo
andGraphSONIo
. Both of these should be supported for full compliance with the test suite.There is no need to use this class if the
Graph
does not have custom classes that require serialization.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Field Summary
Fields Modifier and Type Field Description static String
IO_REGISTRY
-