Package org.openstreetmap.osmosis.plugin.elasticsearch.builder

Examples of org.openstreetmap.osmosis.plugin.elasticsearch.builder.AbstractIndexBuilder


      } else try {
        String indexBuilderClass = params.getProperty(indexBuilderName);
        @SuppressWarnings("unchecked")
        Class<AbstractIndexBuilder> _class = (Class<AbstractIndexBuilder>) Class.forName(indexBuilderClass);
        Constructor<AbstractIndexBuilder> _const = _class.getDeclaredConstructor(Endpoint.class, Parameters.class);
        AbstractIndexBuilder indexBuilder = _const.newInstance(endpoint, params);
        set.add(indexBuilder);
      } catch (Exception e) {
        throw new RuntimeException("Unable to load IndexBuilder [" + indexBuilderName + "]");
      }
    }
View Full Code Here

TOP

Related Classes of org.openstreetmap.osmosis.plugin.elasticsearch.builder.AbstractIndexBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.