Package de.spinscale.elasticsearch.action.suggest.statistics

Source Code of de.spinscale.elasticsearch.action.suggest.statistics.SuggestStatisticsAction

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

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

public class SuggestStatisticsAction extends ClientAction<SuggestStatisticsRequest, SuggestStatisticsResponse, SuggestStatisticsRequestBuilder> {

    public static final SuggestStatisticsAction INSTANCE = new SuggestStatisticsAction();
    public static final String NAME = "suggestStatistics";

    private SuggestStatisticsAction() {
        super(NAME);
    }

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

    @Override
    public SuggestStatisticsResponse newResponse() {
        return new SuggestStatisticsResponse();
    }
}
TOP

Related Classes of de.spinscale.elasticsearch.action.suggest.statistics.SuggestStatisticsAction

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.