Marko A. Rodriguez created TINKERPOP-1201:
---------------------------------------------
Summary: Register Traversal with GryoMapper.
Key: TINKERPOP-1201
URL: https://issues.apache.org/jira/browse/TINKERPOP-1201
Project: TinkerPop
Issue Type: Improvement
Components: io, process
Affects Versions: 3.1.1-incubating
Reporter: Marko A. Rodriguez
Fix For: 3.2.0-incubating
I did not know you could register interfaces with Gryo. [~spmallette] says you
can. If this is the case, we should register {{Traversal}}.
{code}
add(Triplet.<Class, Function<Kryo, Serializer>, Integer>with(Traversal.class,
kryo -> new JavaSerializer(), 00000000));
{code}
Man, had I known that, so many things would have been easier for me. If we do
this, I can gut lots of random "if/else"-code I have.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)