Class CassandraValueSerializer

java.lang.Object
kieker.extension.cassandra.CassandraValueSerializer
All Implemented Interfaces:
IValueSerializer

public class CassandraValueSerializer
extends java.lang.Object
implements IValueSerializer
Since:
1.16
Author:
Reiner Jung
  • Constructor Summary

    Constructors 
    Constructor Description
    CassandraValueSerializer​(com.datastax.oss.driver.api.core.cql.BoundStatement boundStatement)  
  • Method Summary

    Modifier and Type Method Description
    void putBoolean​(boolean value)
    Stores a boolean value in the underlying data store.
    void putByte​(byte value)
    Stores a byte value in the underlying data store.
    void putBytes​(byte[] value)
    Stores raw data in the underlying data store.
    void putChar​(char value)
    Stores a char value in the underlying data store.
    void putDouble​(double value)
    Stores a double value in the underlying data store.
    <T extends java.lang.Enum<T>>
    void
    putEnumeration​(T value)
    Stores a Enumeration value in the underlying data store.
    void putFloat​(float value)
    Stores a float value in the underlying data store.
    void putInt​(int value)
    Stores an int value in the underlying data store.
    void putLong​(long value)
    Stores a long value in the underlying data store.
    void putShort​(short value)
    Stores a short value in the underlying data store.
    void putString​(java.lang.String value)
    Stores a String value in the underlying data store.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CassandraValueSerializer

      public CassandraValueSerializer​(com.datastax.oss.driver.api.core.cql.BoundStatement boundStatement)
  • Method Details

    • putBoolean

      public void putBoolean​(boolean value)
      Description copied from interface: IValueSerializer
      Stores a boolean value in the underlying data store.
      Specified by:
      putBoolean in interface IValueSerializer
      Parameters:
      value - The value to store
    • putByte

      public void putByte​(byte value)
      Description copied from interface: IValueSerializer
      Stores a byte value in the underlying data store.
      Specified by:
      putByte in interface IValueSerializer
      Parameters:
      value - The value to store
    • putChar

      public void putChar​(char value)
      Description copied from interface: IValueSerializer
      Stores a char value in the underlying data store.
      Specified by:
      putChar in interface IValueSerializer
      Parameters:
      value - The value to store
    • putShort

      public void putShort​(short value)
      Description copied from interface: IValueSerializer
      Stores a short value in the underlying data store.
      Specified by:
      putShort in interface IValueSerializer
      Parameters:
      value - The value to store
    • putInt

      public void putInt​(int value)
      Description copied from interface: IValueSerializer
      Stores an int value in the underlying data store.
      Specified by:
      putInt in interface IValueSerializer
      Parameters:
      value - The value to store
    • putLong

      public void putLong​(long value)
      Description copied from interface: IValueSerializer
      Stores a long value in the underlying data store.
      Specified by:
      putLong in interface IValueSerializer
      Parameters:
      value - The value to store
    • putFloat

      public void putFloat​(float value)
      Description copied from interface: IValueSerializer
      Stores a float value in the underlying data store.
      Specified by:
      putFloat in interface IValueSerializer
      Parameters:
      value - The value to store
    • putDouble

      public void putDouble​(double value)
      Description copied from interface: IValueSerializer
      Stores a double value in the underlying data store.
      Specified by:
      putDouble in interface IValueSerializer
      Parameters:
      value - The value to store
    • putEnumeration

      public <T extends java.lang.Enum<T>> void putEnumeration​(T value)
      Description copied from interface: IValueSerializer
      Stores a Enumeration value in the underlying data store.
      Specified by:
      putEnumeration in interface IValueSerializer
      Type Parameters:
      T - enumeration type
      Parameters:
      value - The value to store
    • putBytes

      public void putBytes​(byte[] value)
      Description copied from interface: IValueSerializer
      Stores raw data in the underlying data store.
      Specified by:
      putBytes in interface IValueSerializer
      Parameters:
      value - The data to store
    • putString

      public void putString​(java.lang.String value)
      Description copied from interface: IValueSerializer
      Stores a String value in the underlying data store.
      Specified by:
      putString in interface IValueSerializer
      Parameters:
      value - The value to store