AbstractTextSerializer (apache-cassandra API)
Date: 2014-10-21

org.apache.cassandra.serializers

## Class AbstractTextSerializer

- java.lang.Object
- - org.apache.cassandra.serializers.AbstractTextSerializer

- All Implemented Interfaces:
    TypeSerializer<java.lang.String>
  Direct Known Subclasses:
    AsciiSerializer, UTF8Serializer

      public abstract class AbstractTextSerializer
      extends java.lang.Object
      implements TypeSerializer<java.lang.String>

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `AbstractTextSerializer(java.nio.charset.Charset charset)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `deserialize(java.nio.ByteBuffer bytes)`
    `java.lang.Class<java.lang.String>` | `getType()`
    `java.nio.ByteBuffer` | `serialize(java.lang.String value)`
    `java.lang.String` | `toString(java.lang.String value)`

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

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

    - ### Methods inherited from interface org.apache.cassandra.serializers.TypeSerializer

      `validate`

- - ### Constructor Detail

    - #### AbstractTextSerializer

          protected AbstractTextSerializer(java.nio.charset.Charset charset)

  - ### Method Detail

    - #### deserialize

          public java.lang.String deserialize(java.nio.ByteBuffer bytes)

      Specified by:
        `deserialize` in interface `TypeSerializer<java.lang.String>`

    - #### serialize

          public java.nio.ByteBuffer serialize(java.lang.String value)

      Specified by:
        `serialize` in interface `TypeSerializer<java.lang.String>`

    - #### toString

          public java.lang.String toString(java.lang.String value)

      Specified by:
        `toString` in interface `TypeSerializer<java.lang.String>`

    - #### getType

          public java.lang.Class<java.lang.String> getType()

      Specified by:
        `getType` in interface `TypeSerializer<java.lang.String>`

Copyright © 2014 The Apache Software Foundation