Package org.elasticsearch.common.settings.loader

Examples of org.elasticsearch.common.settings.loader.JsonSettingsLoader


        builder.flush();
        return bso.bytes();
    }

    public static Settings decodeSettings(String encodedSettings) throws IOException {
        Map<String, String> loaded = new JsonSettingsLoader().load(encodedSettings);
        return ImmutableSettings.builder().put(loaded).build();


    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.common.settings.loader.JsonSettingsLoader

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.