Class GryoSerializersV1.VertexPropertySerializer
java.lang.Object
org.apache.tinkerpop.gremlin.structure.io.gryo.GryoSerializersV1.VertexPropertySerializer
- All Implemented Interfaces:
SerializerShim<VertexProperty>
- Enclosing class:
- GryoSerializersV1
public static final class GryoSerializersV1.VertexPropertySerializer
extends Object
implements SerializerShim<VertexProperty>
Serializes any
VertexProperty implementation encountered to an DetachedVertexProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<I extends InputShim>
VertexPropertyread(KryoShim<I, ?> kryo, I input, Class<VertexProperty> vertexPropertyClass) <O extends OutputShim>
voidwrite(KryoShim<?, O> kryo, O output, VertexProperty vertexProperty) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.structure.io.gryo.kryoshim.SerializerShim
isImmutable
-
Constructor Details
-
VertexPropertySerializer
public VertexPropertySerializer()
-
-
Method Details
-
write
public <O extends OutputShim> void write(KryoShim<?, O> kryo, O output, VertexProperty vertexProperty) - Specified by:
writein interfaceSerializerShim<VertexProperty>
-
read
public <I extends InputShim> VertexProperty read(KryoShim<I, ?> kryo, I input, Class<VertexProperty> vertexPropertyClass) - Specified by:
readin interfaceSerializerShim<VertexProperty>
-