use of com.hazelcast.nio.serialization.FieldDefinition in project hazelcast by hazelcast.
the class MorphingPortableReader method readCharArray.
@Override
public char[] readCharArray(String fieldName) throws IOException {
FieldDefinition fd = cd.getField(fieldName);
if (fd == null) {
return null;
}
validateTypeCompatibility(fd, CHAR_ARRAY);
return super.readCharArray(fieldName);
}
use of com.hazelcast.nio.serialization.FieldDefinition in project hazelcast by hazelcast.
the class MorphingPortableReader method readUTF.
@Override
public String readUTF(String fieldName) throws IOException {
FieldDefinition fd = cd.getField(fieldName);
if (fd == null) {
return null;
}
validateTypeCompatibility(fd, UTF);
return super.readUTF(fieldName);
}
Aggregations