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

io.searchbox.indices.aliases.GetAliases Maven / Gradle / Ivy

package io.searchbox.indices.aliases;

import io.searchbox.action.AbstractMultiIndexActionBuilder;
import io.searchbox.action.GenericResultAbstractAction;

/**
 * @author cihat keser
 */
public class GetAliases extends GenericResultAbstractAction {

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

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

    @Override
    protected String buildURI() {
        return super.buildURI() + "/_aliases";
    }

    public static class Builder extends AbstractMultiIndexActionBuilder {

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy