Package de.spinscale.elasticsearch.action.suggest.refresh

Source Code of de.spinscale.elasticsearch.action.suggest.refresh.SuggestRefreshAction

package de.spinscale.elasticsearch.action.suggest.refresh;

import de.spinscale.elasticsearch.client.action.suggest.SuggestRefreshRequestBuilder;
import org.elasticsearch.action.ClientAction;
import org.elasticsearch.client.Client;

public class SuggestRefreshAction extends ClientAction<SuggestRefreshRequest, SuggestRefreshResponse, SuggestRefreshRequestBuilder> {

    public static final SuggestRefreshAction INSTANCE = new SuggestRefreshAction();
    public static final String NAME = "suggestRefresh-fst";

    private SuggestRefreshAction() {
        super(NAME);
    }

    @Override
    public SuggestRefreshRequestBuilder newRequestBuilder(Client client) {
        return new SuggestRefreshRequestBuilder(client);
    }

    @Override
    public SuggestRefreshResponse newResponse() {
        return new SuggestRefreshResponse();
    }

}
TOP

Related Classes of de.spinscale.elasticsearch.action.suggest.refresh.SuggestRefreshAction

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.