code: public static ORCSchemaProvider createORCSchemaProvider(
              String className, SecorConfig config) throws Exception {
          Class<?> clazz = Class.forName(className);
          if (!ORCSchemaProvider.class.isAssignableFrom(clazz)) {
              throw new IllegalArgumentException(String.format(
                      "The class '%s' is not assignable to '%s'.", className,
                      ORCSchemaProvider.class.getName()));
          }
          return (ORCSchemaProvider) clazz.getConstructor(SecorConfig.class)
                  .newInstance(config);
      }
docs: Create a ORCSchemaProvider from it's fully qualified class name. The
  class passed in by name must be assignable to ORCSchemaProvider and have
  1-parameter constructor accepting a SecorConfig. Allows the ORCSchemaProvider
  to be pluggable by providing the class name of a desired ORCSchemaProvider in
  config.
  
  See the secor.orc.schema.provider config option.
  
  @param className class name
  @param config secor config
  @return ORCSchemaProvider
  @throws Exception on error