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

## Interface SerializerShim<T>

- Type Parameters:
    `T` - the class this serializer reads/writes from/to bytes.
  All Known Implementing Classes:
    GryoSerializers.BindingSerializer, GryoSerializers.BytecodeSerializer, GryoSerializers.DefaultRemoteTraverserSerializer, GryoSerializers.EdgeSerializer, GryoSerializers.LambdaSerializer, GryoSerializers.PathSerializer, GryoSerializers.PropertySerializer, GryoSerializers.PSerializer, GryoSerializers.VertexPropertySerializer, GryoSerializers.VertexSerializer, ObjectWritableSerializer, StarGraphSerializer, VertexWritableSerializer

      public interface SerializerShim<T>

  A minimal `org.apache.tinkerpop.shaded.kryo.Serializer`-like abstraction. See that class for method documentation.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default boolean` | `isImmutable()`
    `<I extends InputShim> T` | `read(KryoShim<I,?> kryo, I input, Class<T> clazz)`
    `<O extends OutputShim> void` | `write(KryoShim<?,O> kryo, O output, T object)`

- - ### Method Detail

    - #### write

          <O extends OutputShim> void write(KryoShim<?,O> kryo,
                                            O output,
                                            T object)

    - #### read

          <I extends InputShim> T read(KryoShim<I,?> kryo,
                                       I input,
                                       Class<T> clazz)

    - #### isImmutable

          default boolean isImmutable()

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