B addRegistry(IoRegistry registry)
Mapper.Builderwhich enables it to check for vendor custom serializers to add to the
Ioimplementations should expose this method via this
Mapper.Builderso that it is compatible with
Graph.io(org.apache.tinkerpop.gremlin.structure.io.Io.Builder<I>). Successive calls to this method will add multiple registries. Registry order must be respected when doing so. In other words, data written with
Aadded first and
Bsecond must be read by a
Mapperwith that same registry ordering. Attempting to add
Awill result in errors.
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.