static Comparable extractValue(SerializationService serializationService, Data data, String fieldName)
throws IOException {
PortableContext portableContext = serializationService.getPortableContext();
PortableFieldExtractor fieldExtractor = getFieldExtractor(data, fieldName, portableContext);
PortableReader reader = serializationService.createPortableReader(data);
return fieldExtractor.extract(reader, fieldName);
}