- All Implemented Interfaces:
ScalarDataReader<UUID>,ScalarType<UUID>,StringFormatter,StringParser,ScalarTypeLogicalType
-
Field Summary
Fields inherited from class io.ebean.core.type.ScalarTypeBase
jdbcNative, jdbcType, type -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(DataBinder binder, UUID value) docType()formatValue(UUID value) intReturn the DB agnostic logical type.jsonRead(com.fasterxml.jackson.core.JsonParser parser) voidintlength()read(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 java.lang.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
- Specified by:
toJdbcTypein interfaceScalarType<UUID>
-
toBeanType
- Specified by:
toBeanTypein interfaceScalarType<UUID>
-
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
- Specified by:
formatin interfaceScalarType<UUID>- Specified by:
formatin interfaceStringFormatter
-
formatValue
- Specified by:
formatValuein interfaceScalarType<UUID>
-
parse
- Specified by:
parsein interfaceScalarType<UUID>- Specified by:
parsein interfaceStringParser
-
readData
- Specified by:
readDatain interfaceScalarType<UUID>- Throws:
IOException
-
writeData
- Specified by:
writeDatain interfaceScalarType<UUID>- Throws:
IOException
-
jsonWrite
public void jsonWrite(com.fasterxml.jackson.core.JsonGenerator writer, UUID value) throws IOException - Specified by:
jsonWritein interfaceScalarType<UUID>- Throws:
IOException
-
jsonRead
- Specified by:
jsonReadin interfaceScalarType<UUID>- Throws:
IOException
-
docType
- Specified by:
docTypein interfaceScalarType<UUID>
-