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

## Interface Serializer

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    JavaSerializer, KryoSerializer

      public interface Serializer
      extends Serializable

  Interface which should be implemented by all serializers responsible for writing/loading data to/from Cassandra in binary (BLOB) format.

- - ### Method Summary

    All Methods Instance Methods Abstract 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.

- - ### Method Detail

    - #### serialize

          ByteBuffer serialize(Object obj)

      Serializes object into byte buffer.
      Parameters:
        `obj` - Object to serialize.
      Returns:
        Byte buffer with binary data.

    - #### deserialize

          Object deserialize(ByteBuffer buf)

      Deserializes object from byte buffer.
      Parameters:
        `buf` - Byte buffer.
      Returns:
        Deserialized object.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.10.0
Release Date | : March 10 2021