public class ByteArrayPrimitiveCodec extends Object implements info.archinnov.achilles.type.codec.Codec<byte[],ByteBuffer>
| Constructor and Description |
|---|
ByteArrayPrimitiveCodec() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(ByteBuffer fromCassandra) |
ByteBuffer |
encode(byte[] fromJava) |
Class<byte[]> |
sourceType() |
Class<ByteBuffer> |
targetType() |
public Class<byte[]> sourceType()
sourceType in interface info.archinnov.achilles.type.codec.Codec<byte[],ByteBuffer>public Class<ByteBuffer> targetType()
targetType in interface info.archinnov.achilles.type.codec.Codec<byte[],ByteBuffer>public ByteBuffer encode(byte[] fromJava) throws info.archinnov.achilles.exception.AchillesTranscodingException
encode in interface info.archinnov.achilles.type.codec.Codec<byte[],ByteBuffer>info.archinnov.achilles.exception.AchillesTranscodingExceptionpublic byte[] decode(ByteBuffer fromCassandra)
decode in interface info.archinnov.achilles.type.codec.Codec<byte[],ByteBuffer>Copyright © 2012-2021. All Rights Reserved.