com.tvd12.ezydata.elasticsearch.EzyEsClientProxy Maven / Gradle / Ivy
package com.tvd12.ezydata.elasticsearch;
import org.elasticsearch.action.bulk.BulkRequest;
import org.elasticsearch.action.bulk.BulkResponse;
import org.elasticsearch.action.index.IndexRequest;
import org.elasticsearch.action.index.IndexResponse;
import org.elasticsearch.action.search.SearchRequest;
import org.elasticsearch.action.search.SearchResponse;
import org.elasticsearch.client.RequestOptions;
import java.io.IOException;
public interface EzyEsClientProxy {
BulkResponse bulk(BulkRequest bulkRequest, RequestOptions options) throws IOException;
IndexResponse index(IndexRequest indexRequest, RequestOptions options) throws IOException;
SearchResponse search(SearchRequest searchRequest, RequestOptions options) throws IOException;
T getElasticsearchClient();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy