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

org.elasticsearch.plugin.nlpcn.executors.RestExecutor Maven / Gradle / Ivy

The newest version!
package org.elasticsearch.plugin.nlpcn.executors;

import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.client.Client;
import org.elasticsearch.rest.BaseRestHandler;
import org.elasticsearch.rest.RestChannel;
import org.nlpcn.es4sql.query.QueryAction;
import org.nlpcn.es4sql.query.SqlElasticRequestBuilder;

import java.util.Map;

/**
 * Created by Eliran on 26/12/2015.
 */
public interface RestExecutor {
    public void execute(Client client, Map params, QueryAction queryAction, RestChannel channel) throws Exception;

    public String execute(Client client, Map params, QueryAction queryAction) throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy