Package io.ebeaninternal.server.type
Class ScalarTypeBytesVarbinary
- java.lang.Object
-
- io.ebeaninternal.server.type.ScalarTypeBase<byte[]>
-
- io.ebeaninternal.server.type.ScalarTypeBytesBase
-
- io.ebeaninternal.server.type.ScalarTypeBytesVarbinary
-
- All Implemented Interfaces:
StringFormatter
,StringParser
,ScalarDataReader<byte[]>
,ScalarType<byte[]>
public class ScalarTypeBytesVarbinary extends ScalarTypeBytesBase
ScalarType for Types.VARBINARY to byte[].
-
-
Constructor Summary
Constructors Constructor Description ScalarTypeBytesVarbinary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
read(DataReader dataReader)
Read the value from the resultSet and convert if necessary to the logical bean property value.-
Methods inherited from class io.ebeaninternal.server.type.ScalarTypeBytesBase
bind, convertFromMillis, convertToBytes, formatValue, getDocType, isBinaryType, isDateTimeCapable, jsonRead, jsonWrite, parse, readData, toBeanType, toJdbcType, writeData
-
Methods inherited from class io.ebeaninternal.server.type.ScalarTypeBase
asVersion, format, getJdbcType, getLength, getType, isDirty, isJdbcNative, isMutable, loadIgnore
-
-
-
-
Constructor Detail
-
ScalarTypeBytesVarbinary
public ScalarTypeBytesVarbinary()
-
-
Method Detail
-
read
public byte[] read(DataReader dataReader) throws SQLException
Description copied from interface:ScalarType
Read the value from the resultSet and convert if necessary to the logical bean property value.- Throws:
SQLException
-
-