Package io.ebeaninternal.server.type
Class ScalarTypeJsonMapPostgres
- java.lang.Object
-
- io.ebeaninternal.server.type.ScalarTypeBase<Map>
-
- io.ebeaninternal.server.type.ScalarTypeJsonMap
-
- io.ebeaninternal.server.type.ScalarTypeJsonMapPostgres
-
- All Implemented Interfaces:
StringFormatter
,StringParser
,ScalarDataReader<Map>
,ScalarType<Map>
- Direct Known Subclasses:
ScalarTypeJsonMapPostgres.JSON
,ScalarTypeJsonMapPostgres.JSONB
public abstract class ScalarTypeJsonMapPostgres extends ScalarTypeJsonMap
Support for the Postgres DB types JSON and JSONB.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScalarTypeJsonMapPostgres.JSON
ScalarType mapping java Map type to Postgres JSON database type.static class
ScalarTypeJsonMapPostgres.JSONB
ScalarType mapping java Map type to Postgres JSONB database type.-
Nested classes/interfaces inherited from class io.ebeaninternal.server.type.ScalarTypeJsonMap
ScalarTypeJsonMap.Blob, ScalarTypeJsonMap.Clob, ScalarTypeJsonMap.Varchar
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(DataBind bind, Map value)
Convert (if necessary) and bind the value to the preparedStatement.-
Methods inherited from class io.ebeaninternal.server.type.ScalarTypeJsonMap
convertFromMillis, formatValue, getDocType, isDateTimeCapable, isDirty, isMutable, jsonRead, jsonWrite, parse, parse, read, readData, toBeanType, toJdbcType, typeFor, writeData
-
Methods inherited from class io.ebeaninternal.server.type.ScalarTypeBase
asVersion, format, getJdbcType, getLength, getType, isBinaryType, isJdbcNative, loadIgnore
-
-
-
-
Method Detail
-
bind
public void bind(DataBind bind, 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
-
-