static ConverterFactory getConverterFactory ( Configuration conf ) { Class < ? extends ConverterFactory > converterFactoryClass = conf . getClass ( CONVERTER_FACTORY , null , ConverterFactory . class ) ; if ( converterFactoryClass == null ) { throw new RuntimeException ( "ConverterFactory class was not set on the configuration" ) ; } LOG . debug ( "Got input ConverterFactory class from conf: {}" , converterFactoryClass ) ; return ReflectionUtils . newInstance ( converterFactoryClass , conf ) ; }
Gets the ConverterFactory from the configuration