CorcInputFormat implements InputFormat<NullWritable, Corc> { 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); }  static void setConverterFactoryClass(Configuration conf,
      Class<? extends ConverterFactory> converterFactoryClass); static void setTypeInfo(Configuration conf, StructTypeInfo typeInfo); static void setSchemaTypeInfo(Configuration conf, StructTypeInfo schemaTypeInfo); static void setSearchArgument(Configuration conf, SearchArgument searchArgument); static void setSearchArgumentKryo(Configuration conf, String searchArgumentKryo); @Override InputSplit[] getSplits(JobConf conf, int numSplits); @Override RecordReader<NullWritable, Corc> getRecordReader(InputSplit inputSplit, JobConf conf, Reporter reporter); static String toKryo(SearchArgument sarg); static final String ENABLE_ROW_LEVEL_SEARCH_ARGUMENT; }
@Test(expected = RuntimeException.class) public void converterFactoryNull() { CorcInputFormat.getConverterFactory(conf); }