private static class NativeTypeSerializer.StringSerializer extends NativeTypeSerializer
String
values.BOOLEAN_SERIALIZER, BYTE_SERIALIZER, CHAR_SERIALIZER, DOUBLE_SERIALIZER, FLOAT_SERIALIZER, INT_SERIALIZER, LONG_SERIALIZER, mark, OBJECT_SERIALIZER, SHORT_SERIALIZER, STRING_SERIALIZER
Modifier | Constructor and Description |
---|---|
protected |
StringSerializer()
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
readValueWorker(java.io.ObjectInput in)
A worker to read the value from the specified source, as a
String value. |
protected void |
writeValueWorker(java.lang.Object value,
java.io.ObjectOutput out)
Worker to write the value to the specified destination, as a
String value. |
getWorker, readValue, writeValue
protected void writeValueWorker(java.lang.Object value, java.io.ObjectOutput out) throws java.io.IOException
String
value.writeValueWorker
in class NativeTypeSerializer
value
- The value to be written.out
- The destination.java.io.IOException
- In case of I/O errors.protected java.lang.String readValueWorker(java.io.ObjectInput in) throws java.io.IOException
String
value.readValueWorker
in class NativeTypeSerializer
in
- The source.java.io.IOException
- In case of I/O errors.