| Package | Description |
|---|---|
| com.tinkerpop.gremlin.structure | |
| com.tinkerpop.gremlin.structure.io.kryo |
| Modifier and Type | Method and Description |
|---|---|
default KryoMapper.Builder |
Graph.Io.kryoMapper()
By default, this method creates an instance of the most current version of
KryoMapper which is
used to serialize data to and from the graph. |
| Modifier and Type | Class and Description |
|---|---|
static class |
KryoMapper.BuilderV1d0 |
| Modifier and Type | Method and Description |
|---|---|
KryoMapper.Builder |
KryoMapper.Builder.addCustom(java.lang.Class... custom)
Add mapper classes to serializes with kryo using standard serialization.
|
KryoMapper.Builder |
KryoMapper.BuilderV1d0.addCustom(java.lang.Class... custom)
Add mapper classes to serializes with kryo using standard serialization.
|
KryoMapper.Builder |
KryoMapper.Builder.addCustom(java.lang.Class clazz,
java.util.function.Function<com.esotericsoftware.kryo.Kryo,com.esotericsoftware.kryo.Serializer> serializer)
Add mapper class to serializes with mapper serialization as returned from a
Function. |
KryoMapper.Builder |
KryoMapper.BuilderV1d0.addCustom(java.lang.Class clazz,
java.util.function.Function<com.esotericsoftware.kryo.Kryo,com.esotericsoftware.kryo.Serializer> serializer)
Add mapper class to serializes with mapper serialization as returned from a
Function. |
KryoMapper.Builder |
KryoMapper.Builder.addCustom(java.lang.Class clazz,
com.esotericsoftware.kryo.Serializer serializer)
Add mapper class to serializes with mapper serialization.
|
KryoMapper.Builder |
KryoMapper.BuilderV1d0.addCustom(java.lang.Class clazz,
com.esotericsoftware.kryo.Serializer serializer)
Add mapper class to serializes with mapper serialization.
|
static KryoMapper.Builder |
KryoMapper.build()
Use the most current version of Gremlin Kryo.
|
static KryoMapper.Builder |
KryoMapper.build(KryoMapper.Version version)
Use a specific version of Gremlin Kryo.
|
KryoMapper.Builder |
KryoMapper.Builder.compliant(java.util.function.BiPredicate<java.lang.Byte,java.lang.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". |
KryoMapper.Builder |
KryoMapper.BuilderV1d0.compliant(java.util.function.BiPredicate<java.lang.Byte,java.lang.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". |
KryoMapper.Builder |
KryoMapper.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 Kryo serialization at 1.0.0 would have a fourth byte for an extended version.
|
KryoMapper.Builder |
KryoMapper.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 Kryo serialization at 1.0.0 would have a fourth byte for an extended version.
|
Copyright © 2013-2015 TinkerPop. All Rights Reserved.