Class ScalarTypeString
java.lang.Object
io.ebean.core.type.ScalarTypeBase<String>
io.ebeaninternal.server.type.ScalarTypeString
- All Implemented Interfaces:
io.ebean.core.type.ScalarDataReader<String>, io.ebean.core.type.ScalarType<String>, io.ebean.text.StringFormatter, io.ebean.text.StringParser
ScalarType for String.
-
Field Summary
FieldsFields inherited from class io.ebean.core.type.ScalarTypeBase
jdbcNative, jdbcType, type -
Method Summary
Modifier and TypeMethodDescriptionvoidio.ebean.core.type.DocPropertyTypedocType()formatValue(String value) jsonRead(com.fasterxml.jackson.core.JsonParser parser) voidread(io.ebean.core.type.DataReader reader) toBeanType(Object value) toJdbcType(Object value) voidwriteData(DataOutput dataOutput, String 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, format, isDirty, jsonMapper, length, mutable
-
Field Details
-
INSTANCE
-
-
Method Details
-
bind
- Throws:
SQLException
-
read
- Throws:
SQLException
-
toJdbcType
-
toBeanType
-
formatValue
-
parse
-
readData
- Throws:
IOException
-
writeData
- Throws:
IOException
-
jsonRead
- Throws:
IOException
-
jsonWrite
public void jsonWrite(com.fasterxml.jackson.core.JsonGenerator writer, String value) throws IOException - Throws:
IOException
-
docType
public io.ebean.core.type.DocPropertyType docType()
-