Package org.apache.cassandra.serializers
Class TupleSerializer
- java.lang.Object
-
- org.apache.cassandra.serializers.TypeSerializer<java.nio.ByteBuffer>
-
- org.apache.cassandra.serializers.BytesSerializer
-
- org.apache.cassandra.serializers.TupleSerializer
-
public class TupleSerializer extends BytesSerializer
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<TypeSerializer<?>>
fields
-
Fields inherited from class org.apache.cassandra.serializers.BytesSerializer
instance
-
-
Constructor Summary
Constructors Constructor Description TupleSerializer(java.util.List<TypeSerializer<?>> fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V> void
validate(V input, ValueAccessor<V> accessor)
-
Methods inherited from class org.apache.cassandra.serializers.BytesSerializer
deserialize, getType, isNull, serialize, toCQLLiteralNonNull, toString
-
Methods inherited from class org.apache.cassandra.serializers.TypeSerializer
deserialize, isNull, shouldQuoteCQLLiterals, toCQLLiteral, toCQLLiteralNoQuote, validate
-
-
-
-
Field Detail
-
fields
public final java.util.List<TypeSerializer<?>> fields
-
-
Constructor Detail
-
TupleSerializer
public TupleSerializer(java.util.List<TypeSerializer<?>> fields)
-
-
Method Detail
-
validate
public <V> void validate(V input, ValueAccessor<V> accessor) throws MarshalException
- Overrides:
validate
in classBytesSerializer
- Throws:
MarshalException
-
-