Package highfive.serializers
Class ByteArraySerializer
- java.lang.Object
-
- highfive.model.Serializer<byte[]>
-
- highfive.serializers.ByteArraySerializer
-
public class ByteArraySerializer extends Serializer<byte[]>
-
-
Field Summary
-
Fields inherited from class highfive.model.Serializer
ALL
-
-
Constructor Summary
Constructors Constructor Description ByteArraySerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getValue()byte[]read(ResultSet rs, int ordinal)voidset(PreparedStatement ps, int ordinal)-
Methods inherited from class highfive.model.Serializer
find, getName
-
-
-
-
Method Detail
-
read
public byte[] read(ResultSet rs, int ordinal) throws SQLException
- Specified by:
readin classSerializer<byte[]>- Throws:
SQLException
-
getValue
public byte[] getValue()
- Specified by:
getValuein classSerializer<byte[]>
-
set
public void set(PreparedStatement ps, int ordinal) throws SQLException
- Specified by:
setin classSerializer<byte[]>- Throws:
SQLException
-
-