public class ByteArrayCodec extends Object implements info.archinnov.achilles.type.codec.Codec<Byte[],ByteBuffer>
| Constructor and Description |
|---|
ByteArrayCodec() |
| 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.