public class SerDeFactory {
private static final Logger log = LoggerFactory.getLogger(SerDeFactory.class);
private static ConcurrentMap<String, SerDe> map = new ConcurrentHashMap<String, SerDe>();
public static SerDe create(String clazz) {
SerDe serDe = map.get(clazz);
if (serDe == null) {
try {
serDe = (SerDe) Class.forName(clazz).newInstance();
map.putIfAbsent(clazz, serDe);
} catch (Exception e) {