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

## Class JavaSerializer

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

- All Implemented Interfaces:
    Serializable, Serializer

      public class JavaSerializer
      extends Object
      implements Serializer

  Serializer based on standard Java serialization.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JavaSerializer()`

  - ### 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

    - #### JavaSerializer

          public JavaSerializer()

  - ### 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.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.11.0
Release Date | : September 11 2021