
io.searchbox.indices.settings.GetSettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jest-common Show documentation
Show all versions of jest-common Show documentation
ElasticSearch Java REST client - shared library package
package io.searchbox.indices.settings;
import io.searchbox.action.AbstractMultiIndexActionBuilder;
/**
* The get settings API allows to retrieve settings of index/indices.
*
* @author Dogukan Sonmez
* @author cihat keser
*/
public class GetSettings extends IndicesSettingsAbstractAction {
protected GetSettings(Builder builder) {
super(builder);
}
@Override
public String getRestMethodName() {
return "GET";
}
public static class Builder extends AbstractMultiIndexActionBuilder {
@Override
public GetSettings build() {
return new GetSettings(this);
}
/**
* Prefix Query Option allows to include only settings (whose keys) matches the specified prefix.
*/
public Builder prefixQuery(String prefixQuery) {
return setParameter("prefix", prefixQuery);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy