ByteBuffer valueByteBuffer = ByteBuffer.wrap((byte[]) value, 0, ((byte[]) value).length);
Object keyClassInstance = keyClass.getDeclaredField("instance").get(null);
Object valueClassInstance = valueClass.getDeclaredField("instance").get(null);
MapType mapType = MapType.getInstance((AbstractType) keyClassInstance,
(AbstractType) valueClassInstance);
Map rawMap = new HashMap();
rawMap.putAll((Map) mapType.compose(valueByteBuffer));
Map dataCollection = marshalMap(mapGenericClasses, keyClass, valueClass, rawMap);
return dataCollection.isEmpty() ? rawMap : dataCollection;
}
catch (NoSuchFieldException e)