public class CassandraBlobSerializer extends com.fasterxml.jackson.databind.JsonSerializer<ByteBuffer>
ByteBuffers in the context of a JSON returned by a CQL query.
This serializer will convert the ByteBuffer content into an hexadecimal representation of the byte array
to be managed as CQL type blob on Cassandra side.
| Constructor and Description |
|---|
CassandraBlobSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(ByteBuffer value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
public void serialize(ByteBuffer value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers) throws IOException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<ByteBuffer>IOExceptionCopyright © 2020–2024 ING Bank. All rights reserved.