org.elasticsearch.plugin.nlpcn.ElasticHitsExecutor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elasticsearch-sql Show documentation
Show all versions of elasticsearch-sql Show documentation
Query elasticsearch using SQL
package org.elasticsearch.plugin.nlpcn;
import org.elasticsearch.action.search.SearchRequestBuilder;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.action.search.SearchType;
import org.elasticsearch.client.Client;
import org.elasticsearch.common.unit.TimeValue;
import org.elasticsearch.rest.RestChannel;
import org.elasticsearch.search.SearchHits;
import org.nlpcn.es4sql.domain.Select;
import org.nlpcn.es4sql.exception.SqlParseException;
import java.io.IOException;
/**
* Created by Eliran on 21/8/2016.
*/
public interface ElasticHitsExecutor {
public void run() throws IOException, SqlParseException ;
public SearchHits getHits();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy