com.groupbyinc.flux.client.support.AbstractClient.class Maven / Gradle / Ivy
???? 4? 1com/groupbyinc/flux/client/support/AbstractClient 6com/groupbyinc/flux/common/component/AbstractComponent !com/groupbyinc/flux/client/Client AbstractClient.java >com/groupbyinc/flux/client/support/AbstractClient$IndicesAdmin IndicesAdmin >com/groupbyinc/flux/client/support/AbstractClient$ClusterAdmin ClusterAdmin 7com/groupbyinc/flux/client/support/AbstractClient$Admin Admin 3com/groupbyinc/flux/client/support/AbstractClient$1 Acom/groupbyinc/flux/action/support/ThreadedActionListener$Wrapper 9com/groupbyinc/flux/action/support/ThreadedActionListener Wrapper
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool; admin 9Lcom/groupbyinc/flux/client/support/AbstractClient$Admin; threadedWrapper CLcom/groupbyinc/flux/action/support/ThreadedActionListener$Wrapper; \(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V 1(Lcom/groupbyinc/flux/common/settings/Settings;)V
! # 3(Lcom/groupbyinc/flux/client/ElasticsearchClient;)V %
& ( logger !Lorg/apache/logging/log4j/Logger; * + , }(Lorg/apache/logging/log4j/Logger;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/threadpool/ThreadPool;)V .
/ 1 this 3Lcom/groupbyinc/flux/client/support/AbstractClient; settings .Lcom/groupbyinc/flux/common/settings/Settings; 0()Lcom/groupbyinc/flux/common/settings/Settings; 5 6 8 -()Lcom/groupbyinc/flux/threadpool/ThreadPool; *()Lcom/groupbyinc/flux/client/AdminClient; prepareExecute V(Lcom/groupbyinc/flux/action/Action;)Lcom/groupbyinc/flux/action/ActionRequestBuilder; !com/groupbyinc/flux/action/Action > newRequestBuilder c(Lcom/groupbyinc/flux/client/ElasticsearchClient;)Lcom/groupbyinc/flux/action/ActionRequestBuilder; @ A
? B action HLcom/groupbyinc/flux/action/Action; #Lcom/groupbyinc/flux/action/Action; execute x(Lcom/groupbyinc/flux/action/Action;Lcom/groupbyinc/flux/action/ActionRequest;)Lcom/groupbyinc/flux/action/ActionFuture; 4com/groupbyinc/flux/action/support/PlainActionFuture I newFuture 8()Lcom/groupbyinc/flux/action/support/PlainActionFuture; K L
J M {(Lcom/groupbyinc/flux/action/Action;Lcom/groupbyinc/flux/action/ActionRequest;Lcom/groupbyinc/flux/action/ActionListener;)V G O
P request TRequest; *Lcom/groupbyinc/flux/action/ActionRequest; actionFuture BLcom/groupbyinc/flux/action/support/PlainActionFuture; 6Lcom/groupbyinc/flux/action/support/PlainActionFuture; wrap X(Lcom/groupbyinc/flux/action/ActionListener;)Lcom/groupbyinc/flux/action/ActionListener; X Y
Z doExecute \ O
] listener 7Lcom/groupbyinc/flux/action/ActionListener; +Lcom/groupbyinc/flux/action/ActionListener; index Z(Lcom/groupbyinc/flux/action/index/IndexRequest;)Lcom/groupbyinc/flux/action/ActionFuture; ,com/groupbyinc/flux/action/index/IndexAction d INSTANCE .Lcom/groupbyinc/flux/action/index/IndexAction; f g e h G H
j /Lcom/groupbyinc/flux/action/index/IndexRequest; ](Lcom/groupbyinc/flux/action/index/IndexRequest;Lcom/groupbyinc/flux/action/ActionListener;)V ]Lcom/groupbyinc/flux/action/ActionListener; prepareIndex 8()Lcom/groupbyinc/flux/action/index/IndexRequestBuilder; 4com/groupbyinc/flux/action/index/IndexRequestBuilder q s(Lcom/groupbyinc/flux/client/ElasticsearchClient;Lcom/groupbyinc/flux/action/index/IndexAction;Ljava/lang/String;)V s
r t \(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/action/index/IndexRequestBuilder; n(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/action/index/IndexRequestBuilder; o w
x Ljava/lang/String; type %Lcom/groupbyinc/flux/common/Nullable; o p
} setIndex ^(Ljava/lang/String;)Lcom/groupbyinc/flux/action/support/replication/ReplicationRequestBuilder; ?
r ? setType J(Ljava/lang/String;)Lcom/groupbyinc/flux/action/index/IndexRequestBuilder; ? ?
r ? setId ? ?
r ? id update \(Lcom/groupbyinc/flux/action/update/UpdateRequest;)Lcom/groupbyinc/flux/action/ActionFuture; .com/groupbyinc/flux/action/update/UpdateAction ? 0Lcom/groupbyinc/flux/action/update/UpdateAction; f ? ? ? 1Lcom/groupbyinc/flux/action/update/UpdateRequest; _(Lcom/groupbyinc/flux/action/update/UpdateRequest;Lcom/groupbyinc/flux/action/ActionListener;)V _Lcom/groupbyinc/flux/action/ActionListener;
prepareUpdate :()Lcom/groupbyinc/flux/action/update/UpdateRequestBuilder; 6com/groupbyinc/flux/action/update/UpdateRequestBuilder ? ?(Lcom/groupbyinc/flux/client/ElasticsearchClient;Lcom/groupbyinc/flux/action/update/UpdateAction;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V ?
? ? p(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/action/update/UpdateRequestBuilder; delete \(Lcom/groupbyinc/flux/action/delete/DeleteRequest;)Lcom/groupbyinc/flux/action/ActionFuture; .com/groupbyinc/flux/action/delete/DeleteAction ? 0Lcom/groupbyinc/flux/action/delete/DeleteAction; f ? ? ? 1Lcom/groupbyinc/flux/action/delete/DeleteRequest; _(Lcom/groupbyinc/flux/action/delete/DeleteRequest;Lcom/groupbyinc/flux/action/ActionListener;)V _Lcom/groupbyinc/flux/action/ActionListener;
prepareDelete :()Lcom/groupbyinc/flux/action/delete/DeleteRequestBuilder; 6com/groupbyinc/flux/action/delete/DeleteRequestBuilder ? u(Lcom/groupbyinc/flux/client/ElasticsearchClient;Lcom/groupbyinc/flux/action/delete/DeleteAction;Ljava/lang/String;)V ?
? ? p(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/action/delete/DeleteRequestBuilder; ? ?
?
? ? L(Ljava/lang/String;)Lcom/groupbyinc/flux/action/delete/DeleteRequestBuilder; ? ?
? ? ? ?
? ? bulk X(Lcom/groupbyinc/flux/action/bulk/BulkRequest;)Lcom/groupbyinc/flux/action/ActionFuture; *com/groupbyinc/flux/action/bulk/BulkAction ? ,Lcom/groupbyinc/flux/action/bulk/BulkAction; f ? ? ? -Lcom/groupbyinc/flux/action/bulk/BulkRequest; [(Lcom/groupbyinc/flux/action/bulk/BulkRequest;Lcom/groupbyinc/flux/action/ActionListener;)V [Lcom/groupbyinc/flux/action/ActionListener; prepareBulk 6()Lcom/groupbyinc/flux/action/bulk/BulkRequestBuilder; 2com/groupbyinc/flux/action/bulk/BulkRequestBuilder ? _(Lcom/groupbyinc/flux/client/ElasticsearchClient;Lcom/groupbyinc/flux/action/bulk/BulkAction;)V ?
? ? get V(Lcom/groupbyinc/flux/action/get/GetRequest;)Lcom/groupbyinc/flux/action/ActionFuture; (com/groupbyinc/flux/action/get/GetAction ? *Lcom/groupbyinc/flux/action/get/GetAction; f ? ? ? +Lcom/groupbyinc/flux/action/get/GetRequest; Y(Lcom/groupbyinc/flux/action/get/GetRequest;Lcom/groupbyinc/flux/action/ActionListener;)V YLcom/groupbyinc/flux/action/ActionListener;
prepareGet 4()Lcom/groupbyinc/flux/action/get/GetRequestBuilder; 0com/groupbyinc/flux/action/get/GetRequestBuilder ? o(Lcom/groupbyinc/flux/client/ElasticsearchClient;Lcom/groupbyinc/flux/action/get/GetAction;Ljava/lang/String;)V ?
? ? j(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/action/get/GetRequestBuilder; ? ?
? h(Ljava/lang/String;)Lcom/groupbyinc/flux/action/support/single/shard/SingleShardOperationRequestBuilder; ?
? ? F(Ljava/lang/String;)Lcom/groupbyinc/flux/action/get/GetRequestBuilder; ? ?
? ? ? ?
? ? multiGet [(Lcom/groupbyinc/flux/action/get/MultiGetRequest;)Lcom/groupbyinc/flux/action/ActionFuture; -com/groupbyinc/flux/action/get/MultiGetAction ? /Lcom/groupbyinc/flux/action/get/MultiGetAction; f ? ? ? 0Lcom/groupbyinc/flux/action/get/MultiGetRequest; ^(Lcom/groupbyinc/flux/action/get/MultiGetRequest;Lcom/groupbyinc/flux/action/ActionListener;)V ^Lcom/groupbyinc/flux/action/ActionListener; prepareMultiGet 9()Lcom/groupbyinc/flux/action/get/MultiGetRequestBuilder; 5com/groupbyinc/flux/action/get/MultiGetRequestBuilder ? b(Lcom/groupbyinc/flux/client/ElasticsearchClient;Lcom/groupbyinc/flux/action/get/MultiGetAction;)V ?
? ? search \(Lcom/groupbyinc/flux/action/search/SearchRequest;)Lcom/groupbyinc/flux/action/ActionFuture; .com/groupbyinc/flux/action/search/SearchAction ? 0Lcom/groupbyinc/flux/action/search/SearchAction; f ? ? ? 1Lcom/groupbyinc/flux/action/search/SearchRequest; _(Lcom/groupbyinc/flux/action/search/SearchRequest;Lcom/groupbyinc/flux/action/ActionListener;)V _Lcom/groupbyinc/flux/action/ActionListener;
prepareSearch M([Ljava/lang/String;)Lcom/groupbyinc/flux/action/search/SearchRequestBuilder; 6com/groupbyinc/flux/action/search/SearchRequestBuilder c(Lcom/groupbyinc/flux/client/ElasticsearchClient;Lcom/groupbyinc/flux/action/search/SearchAction;)V
setIndices
indices [Ljava/lang/String; searchScroll b(Lcom/groupbyinc/flux/action/search/SearchScrollRequest;)Lcom/groupbyinc/flux/action/ActionFuture; 4com/groupbyinc/flux/action/search/SearchScrollAction
6Lcom/groupbyinc/flux/action/search/SearchScrollAction; f 7Lcom/groupbyinc/flux/action/search/SearchScrollRequest; e(Lcom/groupbyinc/flux/action/search/SearchScrollRequest;Lcom/groupbyinc/flux/action/ActionListener;)V prepareSearchScroll R(Ljava/lang/String;)Lcom/groupbyinc/flux/action/search/SearchScrollRequestBuilder;