
io.searchbox.indices.mapping.GetMapping 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.mapping;
import io.searchbox.action.AbstractMultiTypeActionBuilder;
import io.searchbox.action.GenericResultAbstractAction;
/**
* @author ferhat
* @author cihat keser
*/
public class GetMapping extends GenericResultAbstractAction {
protected GetMapping(Builder builder) {
super(builder);
setURI(buildURI());
}
@Override
public String getRestMethodName() {
return "GET";
}
@Override
protected String buildURI() {
return super.buildURI() + "/_mapping";
}
public static class Builder extends AbstractMultiTypeActionBuilder {
@Override
public GetMapping build() {
return new GetMapping(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy