public static interface Io.Builder<I extends Io>
Io
implementation and should be implemented by every such implementation as
that class will be passed to Graph#io(Builder)
by the user.Modifier and Type | Method and Description |
---|---|
I |
create()
Vendors call this method in the
Graph#io(Builder) method to construct the Io instance
and return the value. |
Io.Builder<? extends Io> |
graph(Graph g)
Vendors use this method to supply the current instance of their
Graph to the builder. |
Io.Builder<? extends Io> |
registry(IoRegistry registry)
Vendors use this method to supply an
IoRegistry to the Io implementation. |
Io.Builder<? extends Io> registry(IoRegistry registry)
IoRegistry
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(Builder)
.Io.Builder<? extends Io> graph(Graph g)
Graph
to the builder. End-users
should not call this method directly.Copyright © 2013–2015 Apache Software Foundation. All rights reserved.