org.apache.ignite.cache.store.cassandra.serializer

## Class KryoSerializer

- java.lang.Object
- - org.apache.ignite.cache.store.cassandra.serializer.KryoSerializer

- All Implemented Interfaces:
    Serializable, Serializer

      public class KryoSerializer
      extends Object
      implements Serializer

  Serializer based on Kryo serialization.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KryoSerializer()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `deserialize(ByteBuffer buf)` Deserializes object from byte buffer.
    `ByteBuffer` | `serialize(Object obj)` Serializes object into byte buffer.

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

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

- - ### Constructor Detail

    - #### KryoSerializer

          public KryoSerializer()

  - ### Method Detail

    - #### serialize

          public ByteBuffer serialize(Object obj)

      Serializes object into byte buffer.
      Specified by:
        `serialize` in interface `Serializer`
      Parameters:
        `obj` - Object to serialize.
      Returns:
        Byte buffer with binary data.

    - #### deserialize

          public Object deserialize(ByteBuffer buf)

      Deserializes object from byte buffer.
      Specified by:
        `deserialize` in interface `Serializer`
      Parameters:
        `buf` - Byte buffer.
      Returns:
        Deserialized object.

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.13.0
Release Date | : April 20 2022