Package | Description |
---|---|
org.apache.tinkerpop.gremlin.structure | |
org.apache.tinkerpop.gremlin.structure.io.gryo |
Modifier and Type | Method and Description |
---|---|
default GryoMapper.Builder |
Graph.Io.gryoMapper()
By default, this method creates an instance of the most current version of
GryoMapper which is
used to serialize data to and from the graph. |
Modifier and Type | Class and Description |
---|---|
static class |
GryoMapper.BuilderV1d0 |
Modifier and Type | Method and Description |
---|---|
GryoMapper.Builder |
GryoMapper.Builder.addCustom(Class... custom)
Add mapper classes to serializes with gryo using standard serialization.
|
GryoMapper.Builder |
GryoMapper.BuilderV1d0.addCustom(Class... custom)
Add mapper classes to serializes with gryo using standard serialization.
|
GryoMapper.Builder |
GryoMapper.Builder.addCustom(Class clazz,
Function<Kryo,Serializer> serializer)
Add mapper class to serializes with mapper serialization as returned from a
Function . |
GryoMapper.Builder |
GryoMapper.BuilderV1d0.addCustom(Class clazz,
Function<Kryo,Serializer> serializer)
Add mapper class to serializes with mapper serialization.
|
GryoMapper.Builder |
GryoMapper.Builder.addCustom(Class clazz,
Serializer serializer)
Add mapper class to serializes with mapper serialization.
|
GryoMapper.Builder |
GryoMapper.BuilderV1d0.addCustom(Class clazz,
Serializer serializer)
Add mapper class to serializes with mapper serialization.
|
static GryoMapper.Builder |
GryoMapper.build()
Use the most current version of Gryo.
|
static GryoMapper.Builder |
GryoMapper.build(GryoMapper.Version version)
Use a specific version of Gryo.
|
GryoMapper.Builder |
GryoMapper.Builder.compliant(BiPredicate<Byte,Byte> compliant)
By default the
extendedVersion(byte) is checked against what is read from an input source and if
those values are equal the version being read is considered "compliant". |
GryoMapper.Builder |
GryoMapper.BuilderV1d0.compliant(BiPredicate<Byte,Byte> compliant)
By default the
extendedVersion(byte) is checked against what is read from an input source and if
those values are equal the version being read is considered "compliant". |
GryoMapper.Builder |
GryoMapper.Builder.extendedVersion(byte extendedVersion)
If using mapper classes it might be useful to tag the version stamped to the serialization with a mapper
value, such that Gryo serialization at 1.0.0 would have a fourth byte for an extended version.
|
GryoMapper.Builder |
GryoMapper.BuilderV1d0.extendedVersion(byte extendedVersion)
If using mapper classes it might be useful to tag the version stamped to the serialization with a mapper
value, such that Gryo serialization at 1.0.0 would have a fourth byte for an extended version.
|
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.