org.apache.tinkerpop.gremlin.structure.io.gryo

## Class GryoSerializersV3d0.EdgeSerializer

- java.lang.Object
- - org.apache.tinkerpop.gremlin.structure.io.gryo.GryoSerializersV3d0.EdgeSerializer

- All Implemented Interfaces:
    SerializerShim<Edge>
  Enclosing class:
    GryoSerializersV3d0

      public static final class GryoSerializersV3d0.EdgeSerializer
      extends Object
      implements SerializerShim<Edge>

  Serializes any `Edge` implementation encountered to a `DetachedEdge`.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EdgeSerializer()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `<I extends InputShim> Edge` | `read(KryoShim<I,?> kryo, I input, Class<Edge> edgeClass)`
    `<O extends OutputShim> void` | `write(KryoShim<?,O> kryo, O output, Edge edge)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.apache.tinkerpop.gremlin.structure.io.gryo.kryoshim.SerializerShim

      `isImmutable`

- - ### Constructor Detail

    - #### EdgeSerializer

          public EdgeSerializer()

  - ### Method Detail

    - #### write

          public <O extends OutputShim> void write(KryoShim<?,O> kryo,
                                                   O output,
                                                   Edge edge)

      Specified by:
        `write` in interface `SerializerShim<Edge>`

    - #### read

          public <I extends InputShim> Edge read(KryoShim<I,?> kryo,
                                                 I input,
                                                 Class<Edge> edgeClass)

      Specified by:
        `read` in interface `SerializerShim<Edge>`

Copyright © 2013–2018 Apache Software Foundation. All rights reserved.