Package io.ebeaninternal.server.type
Class ScalarTypeInet.Postgres
- java.lang.Object
-
- io.ebeaninternal.server.type.ScalarTypeBase<T>
-
- io.ebeaninternal.server.type.ScalarTypeBaseVarchar<io.ebean.types.Inet>
-
- io.ebeaninternal.server.type.ScalarTypeInet
-
- io.ebeaninternal.server.type.ScalarTypeInet.Postgres
-
- All Implemented Interfaces:
StringFormatter
,StringParser
,ScalarDataReader<io.ebean.types.Inet>
,ScalarType<io.ebean.types.Inet>
- Enclosing class:
- ScalarTypeInet
public static class ScalarTypeInet.Postgres extends ScalarTypeInet
Inet to Postgres INET.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.ebeaninternal.server.type.ScalarTypeInet
ScalarTypeInet.Postgres, ScalarTypeInet.Varchar
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(DataBind b, io.ebean.types.Inet value)
Convert (if necessary) and bind the value to the preparedStatement.-
Methods inherited from class io.ebeaninternal.server.type.ScalarTypeInet
convertFromDbString, convertToDbString, formatValue, parse
-
Methods inherited from class io.ebeaninternal.server.type.ScalarTypeBaseVarchar
convertFromMillis, format, getDocType, isDateTimeCapable, jsonRead, jsonWrite, read, readData, toBeanType, toJdbcType, writeData
-
Methods inherited from class io.ebeaninternal.server.type.ScalarTypeBase
asVersion, getJdbcType, getLength, getType, isBinaryType, isDirty, isJdbcNative, isMutable, loadIgnore
-
-
-
-
Method Detail
-
bind
public void bind(DataBind b, io.ebean.types.Inet 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<io.ebean.types.Inet>
- Specified by:
bind
in classScalarTypeInet
- Throws:
SQLException
-
-