Interface RestHighLevelClient
-
public interface RestHighLevelClient
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bulkAsync(org.elasticsearch.action.bulk.BulkRequest bulkRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.bulk.BulkResponse>> handler)
CcrClient
ccr()
void
clearScrollAsync(org.elasticsearch.action.search.ClearScrollRequest clearScrollRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.search.ClearScrollResponse>> handler)
void
close()
ClusterClient
cluster()
void
countAsync(org.elasticsearch.client.core.CountRequest countRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.client.core.CountResponse>> handler)
static RestHighLevelClient
create(io.vertx.core.Vertx vertx, org.elasticsearch.client.RestClientBuilder restClientBuilder)
DataFrameClient
dataFrame()
void
deleteAsync(org.elasticsearch.action.delete.DeleteRequest deleteRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.delete.DeleteResponse>> handler)
void
deleteByQueryAsync(org.elasticsearch.index.reindex.DeleteByQueryRequest deleteByQueryRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.index.reindex.BulkByScrollResponse>> handler)
void
deleteByQueryRethrottleAsync(org.elasticsearch.client.RethrottleRequest rethrottleRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.admin.cluster.node.tasks.list.ListTasksResponse>> handler)
void
deleteScriptAsync(org.elasticsearch.action.admin.cluster.storedscripts.DeleteStoredScriptRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.support.master.AcknowledgedResponse>> handler)
void
existsAsync(org.elasticsearch.action.get.GetRequest getRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Boolean>> handler)
void
existsSourceAsync(org.elasticsearch.action.get.GetRequest getRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Boolean>> handler)
void
explainAsync(org.elasticsearch.action.explain.ExplainRequest explainRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.explain.ExplainResponse>> handler)
void
fieldCapsAsync(org.elasticsearch.action.fieldcaps.FieldCapabilitiesRequest fieldCapabilitiesRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.fieldcaps.FieldCapabilitiesResponse>> handler)
void
getAsync(org.elasticsearch.action.get.GetRequest getRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.get.GetResponse>> handler)
void
getScriptAsync(org.elasticsearch.action.admin.cluster.storedscripts.GetStoredScriptRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.admin.cluster.storedscripts.GetStoredScriptResponse>> handler)
GraphClient
graph()
void
indexAsync(org.elasticsearch.action.index.IndexRequest indexRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.index.IndexResponse>> handler)
IndexLifecycleClient
indexLifecycle()
IndicesClient
indices()
IngestClient
ingest()
LicenseClient
license()
MachineLearningClient
machineLearning()
void
mgetAsync(org.elasticsearch.action.get.MultiGetRequest multiGetRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.get.MultiGetResponse>> handler)
void
msearchAsync(org.elasticsearch.action.search.MultiSearchRequest searchRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.search.MultiSearchResponse>> handler)
void
msearchTemplateAsync(org.elasticsearch.script.mustache.MultiSearchTemplateRequest multiSearchTemplateRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.script.mustache.MultiSearchTemplateResponse>> handler)
void
mtermvectorsAsync(org.elasticsearch.client.core.MultiTermVectorsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.client.core.MultiTermVectorsResponse>> handler)
void
putScriptAsync(org.elasticsearch.action.admin.cluster.storedscripts.PutStoredScriptRequest putStoredScriptRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.support.master.AcknowledgedResponse>> handler)
void
rankEvalAsync(org.elasticsearch.index.rankeval.RankEvalRequest rankEvalRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.index.rankeval.RankEvalResponse>> handler)
void
reindexAsync(org.elasticsearch.index.reindex.ReindexRequest reindexRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.index.reindex.BulkByScrollResponse>> handler)
void
reindexRethrottleAsync(org.elasticsearch.client.RethrottleRequest rethrottleRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.admin.cluster.node.tasks.list.ListTasksResponse>> handler)
RollupClient
rollup()
void
scrollAsync(org.elasticsearch.action.search.SearchScrollRequest searchScrollRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.search.SearchResponse>> handler)
void
searchAsync(org.elasticsearch.action.search.SearchRequest searchRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.search.SearchResponse>> handler)
void
searchTemplateAsync(org.elasticsearch.script.mustache.SearchTemplateRequest searchTemplateRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.script.mustache.SearchTemplateResponse>> handler)
SecurityClient
security()
SnapshotClient
snapshot()
TasksClient
tasks()
void
termvectorsAsync(org.elasticsearch.client.core.TermVectorsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.client.core.TermVectorsResponse>> handler)
void
updateAsync(org.elasticsearch.action.update.UpdateRequest updateRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.update.UpdateResponse>> handler)
void
updateByQueryAsync(org.elasticsearch.index.reindex.UpdateByQueryRequest updateByQueryRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.index.reindex.BulkByScrollResponse>> handler)
void
updateByQueryRethrottleAsync(org.elasticsearch.client.RethrottleRequest rethrottleRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.admin.cluster.node.tasks.list.ListTasksResponse>> handler)
WatcherClient
watcher()
XPackClient
xpack()
-
-
-
Method Detail
-
create
static RestHighLevelClient create(io.vertx.core.Vertx vertx, org.elasticsearch.client.RestClientBuilder restClientBuilder)
-
close
void close()
-
indices
IndicesClient indices()
-
cluster
ClusterClient cluster()
-
ingest
IngestClient ingest()
-
snapshot
SnapshotClient snapshot()
-
rollup
RollupClient rollup()
-
ccr
CcrClient ccr()
-
tasks
TasksClient tasks()
-
xpack
XPackClient xpack()
-
watcher
WatcherClient watcher()
-
graph
GraphClient graph()
-
license
LicenseClient license()
-
indexLifecycle
IndexLifecycleClient indexLifecycle()
-
machineLearning
MachineLearningClient machineLearning()
-
security
SecurityClient security()
-
dataFrame
DataFrameClient dataFrame()
-
bulkAsync
void bulkAsync(org.elasticsearch.action.bulk.BulkRequest bulkRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.bulk.BulkResponse>> handler)
-
reindexAsync
void reindexAsync(org.elasticsearch.index.reindex.ReindexRequest reindexRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.index.reindex.BulkByScrollResponse>> handler)
-
updateByQueryAsync
void updateByQueryAsync(org.elasticsearch.index.reindex.UpdateByQueryRequest updateByQueryRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.index.reindex.BulkByScrollResponse>> handler)
-
deleteByQueryAsync
void deleteByQueryAsync(org.elasticsearch.index.reindex.DeleteByQueryRequest deleteByQueryRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.index.reindex.BulkByScrollResponse>> handler)
-
deleteByQueryRethrottleAsync
void deleteByQueryRethrottleAsync(org.elasticsearch.client.RethrottleRequest rethrottleRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.admin.cluster.node.tasks.list.ListTasksResponse>> handler)
-
updateByQueryRethrottleAsync
void updateByQueryRethrottleAsync(org.elasticsearch.client.RethrottleRequest rethrottleRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.admin.cluster.node.tasks.list.ListTasksResponse>> handler)
-
reindexRethrottleAsync
void reindexRethrottleAsync(org.elasticsearch.client.RethrottleRequest rethrottleRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.admin.cluster.node.tasks.list.ListTasksResponse>> handler)
-
getAsync
void getAsync(org.elasticsearch.action.get.GetRequest getRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.get.GetResponse>> handler)
-
mgetAsync
void mgetAsync(org.elasticsearch.action.get.MultiGetRequest multiGetRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.get.MultiGetResponse>> handler)
-
existsAsync
void existsAsync(org.elasticsearch.action.get.GetRequest getRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Boolean>> handler)
-
existsSourceAsync
void existsSourceAsync(org.elasticsearch.action.get.GetRequest getRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Boolean>> handler)
-
indexAsync
void indexAsync(org.elasticsearch.action.index.IndexRequest indexRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.index.IndexResponse>> handler)
-
countAsync
void countAsync(org.elasticsearch.client.core.CountRequest countRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.client.core.CountResponse>> handler)
-
updateAsync
void updateAsync(org.elasticsearch.action.update.UpdateRequest updateRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.update.UpdateResponse>> handler)
-
deleteAsync
void deleteAsync(org.elasticsearch.action.delete.DeleteRequest deleteRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.delete.DeleteResponse>> handler)
-
searchAsync
void searchAsync(org.elasticsearch.action.search.SearchRequest searchRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.search.SearchResponse>> handler)
-
msearchAsync
void msearchAsync(org.elasticsearch.action.search.MultiSearchRequest searchRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.search.MultiSearchResponse>> handler)
-
scrollAsync
void scrollAsync(org.elasticsearch.action.search.SearchScrollRequest searchScrollRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.search.SearchResponse>> handler)
-
clearScrollAsync
void clearScrollAsync(org.elasticsearch.action.search.ClearScrollRequest clearScrollRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.search.ClearScrollResponse>> handler)
-
searchTemplateAsync
void searchTemplateAsync(org.elasticsearch.script.mustache.SearchTemplateRequest searchTemplateRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.script.mustache.SearchTemplateResponse>> handler)
-
explainAsync
void explainAsync(org.elasticsearch.action.explain.ExplainRequest explainRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.explain.ExplainResponse>> handler)
-
termvectorsAsync
void termvectorsAsync(org.elasticsearch.client.core.TermVectorsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.client.core.TermVectorsResponse>> handler)
-
mtermvectorsAsync
void mtermvectorsAsync(org.elasticsearch.client.core.MultiTermVectorsRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.client.core.MultiTermVectorsResponse>> handler)
-
msearchTemplateAsync
void msearchTemplateAsync(org.elasticsearch.script.mustache.MultiSearchTemplateRequest multiSearchTemplateRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.script.mustache.MultiSearchTemplateResponse>> handler)
-
rankEvalAsync
void rankEvalAsync(org.elasticsearch.index.rankeval.RankEvalRequest rankEvalRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.index.rankeval.RankEvalResponse>> handler)
-
getScriptAsync
void getScriptAsync(org.elasticsearch.action.admin.cluster.storedscripts.GetStoredScriptRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.admin.cluster.storedscripts.GetStoredScriptResponse>> handler)
-
deleteScriptAsync
void deleteScriptAsync(org.elasticsearch.action.admin.cluster.storedscripts.DeleteStoredScriptRequest request, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.support.master.AcknowledgedResponse>> handler)
-
putScriptAsync
void putScriptAsync(org.elasticsearch.action.admin.cluster.storedscripts.PutStoredScriptRequest putStoredScriptRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.support.master.AcknowledgedResponse>> handler)
-
fieldCapsAsync
void fieldCapsAsync(org.elasticsearch.action.fieldcaps.FieldCapabilitiesRequest fieldCapabilitiesRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.action.fieldcaps.FieldCapabilitiesResponse>> handler)
-
-