public static final class GryoIo.Builder extends Object implements Io.Builder<GryoIo>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GryoIo |
create()
Vendors call this method in the
Graph.io(Io.Builder) method to construct the Io instance
and return the value. |
Io.Builder<GryoIo> |
graph(Graph g)
Vendors use this method to supply the current instance of their
Graph to the builder. |
Io.Builder<GryoIo> |
registry(IoRegistry registry)
Vendors use this method to supply an
IoRegistry to the Io implementation. |
public Io.Builder<GryoIo> registry(IoRegistry registry)
Io.BuilderIoRegistry to the Io implementation. 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).registry in interface Io.Builder<GryoIo>public Io.Builder<GryoIo> graph(Graph g)
Io.BuilderGraph to the builder. End-users
should not call this method directly.graph in interface Io.Builder<GryoIo>public GryoIo 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<GryoIo>Copyright © 2013–2016 Apache Software Foundation. All rights reserved.