Interface RestHighLevelClient
-
public interface RestHighLevelClient
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncSearchClientasyncSearch()voidbulkAsync(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)CcrClientccr()voidclearScrollAsync(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)voidclose()ClusterClientcluster()voidcountAsync(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 RestHighLevelClientcreate(io.vertx.core.Vertx vertx, org.elasticsearch.client.RestClientBuilder restClientBuilder)voiddeleteAsync(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)voiddeleteByQueryAsync(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)voiddeleteByQueryRethrottleAsync(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)voiddeleteScriptAsync(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)EnrichClientenrich()EqlClienteql()voidexistsAsync(org.elasticsearch.action.get.GetRequest getRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Boolean>> handler)voidexistsSourceAsync(org.elasticsearch.client.core.GetSourceRequest getSourceRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Boolean>> handler)voidexplainAsync(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)voidfieldCapsAsync(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)voidgetAsync(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)voidgetScriptAsync(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)voidgetSourceAsync(org.elasticsearch.client.core.GetSourceRequest getSourceRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.client.core.GetSourceResponse>> handler)GraphClientgraph()voidindexAsync(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)IndexLifecycleClientindexLifecycle()IndicesClientindices()IngestClientingest()LicenseClientlicense()MachineLearningClientmachineLearning()voidmgetAsync(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)voidmsearchAsync(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)voidmsearchTemplateAsync(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)voidmtermvectorsAsync(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)voidputScriptAsync(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)voidrankEvalAsync(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)voidreindexAsync(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)voidreindexRethrottleAsync(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)RollupClientrollup()voidscrollAsync(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)voidsearchAsync(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)voidsearchTemplateAsync(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)SecurityClientsecurity()SnapshotClientsnapshot()TasksClienttasks()voidtermvectorsAsync(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)TransformClienttransform()voidupdateAsync(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)voidupdateByQueryAsync(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)voidupdateByQueryRethrottleAsync(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)WatcherClientwatcher()XPackClientxpack()
-
-
-
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()
-
asyncSearch
AsyncSearchClient asyncSearch()
-
machineLearning
MachineLearningClient machineLearning()
-
security
SecurityClient security()
-
transform
TransformClient transform()
-
enrich
EnrichClient enrich()
-
eql
EqlClient eql()
-
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.client.core.GetSourceRequest getSourceRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Boolean>> handler)
-
getSourceAsync
void getSourceAsync(org.elasticsearch.client.core.GetSourceRequest getSourceRequest, org.elasticsearch.client.RequestOptions options, io.vertx.core.Handler<io.vertx.core.AsyncResult<org.elasticsearch.client.core.GetSourceResponse>> 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)
-
-