public static final class GraphSONIo.Builder extends Object implements Io.Builder<GraphSONIo>
| Modifier and Type | Method and Description | 
|---|---|
| GraphSONIo | create()Providers call this method in the  Graph.io(Io.Builder)method to construct theIoinstance
 and return the value. | 
| Io.Builder<GraphSONIo> | graph(Graph g)Providers use this method to supply the current instance of their  Graphto the builder. | 
| Io.Builder<? extends Io> | onMapper(Consumer<Mapper.Builder> onMapper)Allows a  Graphimplementation to have full control over theMapper.Builderinstance. | 
| <V> boolean | requiresVersion(V version)Determines if the version matches the one configured for this builder. | 
public Io.Builder<? extends Io> onMapper(Consumer<Mapper.Builder> onMapper)
Io.BuilderGraph implementation to have full control over the Mapper.Builder instance.
 Typically, the implementation will just pass in its IoRegistry implementation so that the
 Mapper that gets built will have knowledge of any custom classes and serializers it may have.
 
 End-users should not use this method directly.  If a user wants to register custom serializers, then such
 things can be done via calls to Io.mapper() after the Io is constructed via
 Graph.io(Io.Builder).onMapper in interface Io.Builder<GraphSONIo>public Io.Builder<GraphSONIo> graph(Graph g)
Io.BuilderGraph to the builder.  End-users
 should not call this method directly.graph in interface Io.Builder<GraphSONIo>public <V> boolean requiresVersion(V version)
Io.BuilderGraph#io(Builder) to figure out the correct versions of registries to add.requiresVersion in interface Io.Builder<GraphSONIo>public GraphSONIo create()
Io.BuilderGraph.io(Io.Builder) method to construct the Io instance
 and return the value.  End-users will typically not call this method.create in interface Io.Builder<GraphSONIo>Copyright © 2013–2022 Apache Software Foundation. All rights reserved.