Class GraphMLMapper.Builder
java.lang.Object
org.apache.tinkerpop.gremlin.structure.io.graphml.GraphMLMapper.Builder
- All Implemented Interfaces:
Mapper.Builder<GraphMLMapper.Builder>
- Enclosing class:
- GraphMLMapper
public static final class GraphMLMapper.Builder
extends Object
implements Mapper.Builder<GraphMLMapper.Builder>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRegistry(IoRegistry registry) Adds a vendor suppliedIoRegistryto theMapper.Builderwhich enables it to check for vendor custom serializers to add to theMapper.create()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.structure.io.Mapper.Builder
addRegistries
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addRegistry
Description copied from interface:Mapper.BuilderAdds a vendor suppliedIoRegistryto theMapper.Builderwhich enables it to check for vendor custom serializers to add to theMapper. AllIoimplementations should expose this method via thisMapper.Builderso that it is compatible withGraph.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 withIoRegistryAadded first andBsecond must be read by aMapperwith that same registry ordering. Attempting to addBbeforeAwill result in errors.- Specified by:
addRegistryin interfaceMapper.Builder<GraphMLMapper.Builder>
-
create
-