Package io.ebeaninternal.server.type
Class ScalarTypeJsonMap.Blob
- java.lang.Object
-
- io.ebeaninternal.server.type.ScalarTypeBase<Map>
-
- io.ebeaninternal.server.type.ScalarTypeJsonMap
-
- io.ebeaninternal.server.type.ScalarTypeJsonMap.Blob
-
- All Implemented Interfaces:
StringFormatter
,StringParser
,ScalarDataReader<Map>
,ScalarType<Map>
- Enclosing class:
- ScalarTypeJsonMap
public static class ScalarTypeJsonMap.Blob extends ScalarTypeJsonMap
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.ebeaninternal.server.type.ScalarTypeJsonMap
ScalarTypeJsonMap.Blob, ScalarTypeJsonMap.Clob, ScalarTypeJsonMap.Varchar
-
-
Constructor Summary
Constructors Constructor Description Blob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(DataBind b, Map value)
Convert (if necessary) and bind the value to the preparedStatement.Map
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.ScalarTypeJsonMap
convertFromMillis, formatValue, getDocType, isDateTimeCapable, isDirty, isMutable, jsonRead, jsonWrite, parse, parse, readData, toBeanType, toJdbcType, typeFor, writeData
-
Methods inherited from class io.ebeaninternal.server.type.ScalarTypeBase
asVersion, format, getJdbcType, getLength, getType, isBinaryType, isJdbcNative, loadIgnore
-
-
-
-
Constructor Detail
-
Blob
public Blob()
-
-
Method Detail
-
read
public Map 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.- Specified by:
read
in interfaceScalarDataReader<Map>
- Specified by:
read
in interfaceScalarType<Map>
- Overrides:
read
in classScalarTypeJsonMap
- Throws:
SQLException
-
bind
public void bind(DataBind b, Map value) throws SQLException
Description copied from interface:ScalarType
Convert (if necessary) and bind the value to the preparedStatement.value may need to be converted from the logical bean property type to the JDBC type.
- Specified by:
bind
in interfaceScalarType<Map>
- Overrides:
bind
in classScalarTypeJsonMap
- Throws:
SQLException
-
-