Class ScalarTypeUUIDBinary
java.lang.Object
io.ebean.core.type.ScalarTypeBase<UUID>
io.ebeaninternal.server.type.ScalarTypeUUIDBinary
- All Implemented Interfaces:
io.ebean.core.type.ScalarDataReader<UUID>, io.ebean.core.type.ScalarType<UUID>, io.ebean.text.StringFormatter, io.ebean.text.StringParser, ScalarTypeLogicalType
-
Field Summary
Fields inherited from class io.ebean.core.type.ScalarTypeBase
jdbcNative, jdbcType, type -
Method Summary
Modifier and TypeMethodDescriptionvoidio.ebean.core.type.DocPropertyTypedocType()formatValue(UUID value) intReturn the DB agnostic logical type.jsonRead(com.fasterxml.jackson.core.JsonParser parser) voidintlength()read(io.ebean.core.type.DataReader reader) toBeanType(Object value) toJdbcType(Object value) voidwriteData(DataOutput dataOutput, UUID value) Methods inherited from class io.ebean.core.type.ScalarTypeBase
jdbcNative, jdbcType, typeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.ebean.core.type.ScalarType
asVersion, binary, isDirty, jsonMapper, mutable
-
Method Details
-
length
public int length() -
toJdbcType
-
toBeanType
-
bind
- Throws:
SQLException
-
read
- Throws:
SQLException
-
getLogicalType
public int getLogicalType()Description copied from interface:ScalarTypeLogicalTypeReturn the DB agnostic logical type.- Specified by:
getLogicalTypein interfaceScalarTypeLogicalType
-
format
-
formatValue
-
parse
-
readData
- Specified by:
readDatain interfaceio.ebean.core.type.ScalarType<UUID>- Throws:
IOException
-
writeData
- Specified by:
writeDatain interfaceio.ebean.core.type.ScalarType<UUID>- Throws:
IOException
-
jsonWrite
public void jsonWrite(com.fasterxml.jackson.core.JsonGenerator writer, UUID value) throws IOException - Specified by:
jsonWritein interfaceio.ebean.core.type.ScalarType<UUID>- Throws:
IOException
-
jsonRead
- Specified by:
jsonReadin interfaceio.ebean.core.type.ScalarType<UUID>- Throws:
IOException
-
docType
public io.ebean.core.type.DocPropertyType docType()- Specified by:
docTypein interfaceio.ebean.core.type.ScalarType<UUID>
-