All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.searchbox.indices.script.DeleteIndexedScript Maven / Gradle / Ivy

package io.searchbox.indices.script;

public class DeleteIndexedScript extends AbstractIndexedScript {

    protected DeleteIndexedScript(Builder builder) {
        super(builder);
        setURI(buildURI());
    }

    @Override
    public String getRestMethodName() {
        return "DELETE";
    }

    public static class Builder extends AbstractIndexedScript.Builder {

        public Builder(String scriptName) {
            super(scriptName);
        }

        @Override
        public DeleteIndexedScript build() {
            return new DeleteIndexedScript(this);
        }

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy