Modifier and Type | Method and Description |
---|---|
default <I extends Io> |
Graph.io(Io.Builder<I> builder)
Deprecated.
As of release 3.4.0, partially replaced by
GraphTraversalSource.io(String) . Notice
GraphTraversalSource.io(String) doesn't support read operation from java.io.InputStream
or write operation to java.io.OutputStream . Thus for readers or writers which need this functionality
are safe to use this deprecated method. There is no intention to remove this method unless all the
functionality is replaced by the `io` step of GraphTraversalSource . |
Modifier and Type | Interface and Description |
---|---|
static interface |
Io.Builder<I extends Io>
Helps to construct an
Io implementation 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 |
---|---|
Io.Builder<? extends Io> |
Io.Builder.graph(Graph g)
Providers use this method to supply the current instance of their
Graph to the builder. |
Io.Builder<? extends Io> |
Io.Builder.onMapper(Consumer<Mapper.Builder> onMapper)
Allows a
Graph implementation to have full control over the Mapper.Builder instance. |
Modifier and Type | Method and Description |
---|---|
List<<any>> |
IoRegistry.find(Class<? extends Io> builderClass)
|
List<<any>> |
AbstractIoRegistry.find(Class<? extends Io> builderClass)
|
<S> List<<any>> |
IoRegistry.find(Class<? extends Io> builderClass,
Class<S> serializerType)
|
<S> List<<any>> |
AbstractIoRegistry.find(Class<? extends Io> builderClass,
Class<S> serializerType)
|
protected void |
AbstractIoRegistry.register(Class<? extends Io> ioClass,
Class clazz,
Object serializer)
Add a "serializer" for the
Mapper . |
Modifier and Type | Class and Description |
---|---|
class |
GraphBinaryIo
This is a dummy implementation of
Io which is only used in the context of helping to configure a
GraphBinary MessageSerializer with an IoRegistry . |
Modifier and Type | Class and Description |
---|---|
class |
GraphMLIo
Constructs GraphML IO implementations given a
Graph and IoRegistry . |
Modifier and Type | Method and Description |
---|---|
Io.Builder<? extends Io> |
GraphMLIo.Builder.onMapper(Consumer<Mapper.Builder> onMapper) |
Modifier and Type | Class and Description |
---|---|
class |
GraphSONIo
Constructs GraphSON IO implementations given a
Graph and IoRegistry . |
Modifier and Type | Method and Description |
---|---|
Io.Builder<? extends Io> |
GraphSONIo.Builder.onMapper(Consumer<Mapper.Builder> onMapper) |
Modifier and Type | Class and Description |
---|---|
class |
GryoIo
Constructs Gryo IO implementations given a
Graph and IoRegistry . |
Modifier and Type | Method and Description |
---|---|
Io.Builder<? extends Io> |
GryoIo.Builder.onMapper(Consumer<Mapper.Builder> onMapper) |
Modifier and Type | Method and Description |
---|---|
<I extends Io> |
TinkerGraph.io(Io.Builder<I> builder) |
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.