org.apache.cassandra.serializers

## Class TupleSerializer

- java.lang.Object
- - org.apache.cassandra.serializers.BytesSerializer
  - - org.apache.cassandra.serializers.TupleSerializer

- All Implemented Interfaces:
    TypeSerializer<java.nio.ByteBuffer>

      public class TupleSerializer
      extends BytesSerializer

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `java.util.List<TypeSerializer<?>>` | `fields`

    - ### Fields inherited from class org.apache.cassandra.serializers.BytesSerializer

      `instance`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TupleSerializer(java.util.List<TypeSerializer<?>> fields)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `validate(java.nio.ByteBuffer bytes)`

    - ### Methods inherited from class org.apache.cassandra.serializers.BytesSerializer

      `deserialize, getType, serialize, toString`

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

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

- - ### Field Detail

    - #### fields

          public final java.util.List<TypeSerializer<?>> fields

  - ### Constructor Detail

    - #### TupleSerializer

          public TupleSerializer(java.util.List<TypeSerializer<?>> fields)

  - ### Method Detail

    - #### validate

          public void validate(java.nio.ByteBuffer bytes)
                        throws MarshalException

      Specified by:
        `validate` in interface `TypeSerializer<java.nio.ByteBuffer>`
      Overrides:
        `validate` in class `BytesSerializer`
      Throws:
        `MarshalException`

Copyright © 2018 The Apache Software Foundation