use of com.hazelcast.nio.serialization.FieldDefinition in project hazelcast by hazelcast.
the class MorphingPortableReader method readPortableArray.
@Override
public Portable[] readPortableArray(String fieldName) throws IOException {
FieldDefinition fd = cd.getField(fieldName);
if (fd == null) {
return null;
}
validateTypeCompatibility(fd, PORTABLE_ARRAY);
return super.readPortableArray(fieldName);
}
use of com.hazelcast.nio.serialization.FieldDefinition in project hazelcast by hazelcast.
the class MorphingPortableReader method readDoubleArray.
@Override
public double[] readDoubleArray(String fieldName) throws IOException {
FieldDefinition fd = cd.getField(fieldName);
if (fd == null) {
return null;
}
validateTypeCompatibility(fd, DOUBLE_ARRAY);
return super.readDoubleArray(fieldName);
}
use of com.hazelcast.nio.serialization.FieldDefinition in project hazelcast by hazelcast.
the class MorphingPortableReader method readUTFArray.
@Override
public String[] readUTFArray(String fieldName) throws IOException {
FieldDefinition fd = cd.getField(fieldName);
if (fd == null) {
return null;
}
validateTypeCompatibility(fd, UTF_ARRAY);
return super.readUTFArray(fieldName);
}
use of com.hazelcast.nio.serialization.FieldDefinition in project hazelcast by hazelcast.
the class MorphingPortableReader method readPortable.
@Override
public Portable readPortable(String fieldName) throws IOException {
FieldDefinition fd = cd.getField(fieldName);
if (fd == null) {
return null;
}
validateTypeCompatibility(fd, PORTABLE);
return super.readPortable(fieldName);
}
use of com.hazelcast.nio.serialization.FieldDefinition in project hazelcast by hazelcast.
the class MorphingPortableReader method readBooleanArray.
@Override
public boolean[] readBooleanArray(String fieldName) throws IOException {
FieldDefinition fd = cd.getField(fieldName);
if (fd == null) {
return null;
}
validateTypeCompatibility(fd, BOOLEAN_ARRAY);
return super.readBooleanArray(fieldName);
}
Aggregations