public static interface Io.Builder<I extends Io>
Ioimplementation and should be implemented by every such implementation as that class will be passed to
Graph.io(Io.Builder)by the user.
|Modifier and Type||Method and Description|
Providers call this method in the
Providers use this method to supply the current instance of their
Determines if the version matches the one configured for this builder.
Io.Builder<? extends Io> onMapper(Consumer<Mapper.Builder> onMapper)
Graphimplementation to have full control over the
Mapper.Builderinstance. Typically, the implementation will just pass in its
IoRegistryimplementation so that the
Mapperthat 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
Iois constructed via
Io.Builder<? extends Io> graph(Graph g)
Graphto the builder. End-users should not call this method directly.
<V> boolean requiresVersion(V version)
Graph#io(Builder)to figure out the correct versions of registries to add.
Graph.io(Io.Builder)method to construct the
Ioinstance and return the value. End-users will typically not call this method.
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.