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