All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.index.reindex.RestReindexAction.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????4?3com/groupbyinc/flux/index/reindex/RestReindexAction?Lcom/groupbyinc/flux/index/reindex/AbstractBaseReindexRestHandler;@com/groupbyinc/flux/index/reindex/AbstractBaseReindexRestHandlerRestReindexAction.java;HOST_PATTERNLjava/util/regex/Pattern;Z(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/rest/RestController;)V/com/groupbyinc/flux/index/reindex/ReindexAction/INSTANCE1Lcom/groupbyinc/flux/index/reindex/ReindexAction;12	03[(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/action/GenericAction;)V-5
6POST-Lcom/groupbyinc/flux/rest/RestRequest$Method;89	:	/_reindex<'com/groupbyinc/flux/rest/RestController>registerHandlerh(Lcom/groupbyinc/flux/rest/RestRequest$Method;Ljava/lang/String;Lcom/groupbyinc/flux/rest/RestHandler;)V@A
?Bthis5Lcom/groupbyinc/flux/index/reindex/RestReindexAction;settings.Lcom/groupbyinc/flux/common/settings/Settings;
controller)Lcom/groupbyinc/flux/rest/RestController;getName()Ljava/lang/String;reindex_actionLprepareRequest?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/client/node/NodeClient;)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;java/io/IOExceptionPdoPrepareRequest?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/client/node/NodeClient;ZZ)Lcom/groupbyinc/flux/rest/BaseRestHandler$RestChannelConsumer;RS
Trequest&Lcom/groupbyinc/flux/rest/RestRequest;client,Lcom/groupbyinc/flux/client/node/NodeClient;buildRequestZ(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/index/reindex/ReindexRequest;java/lang/Throwable\pipeline^hasParam(Ljava/lang/String;)Z`a
b"java/lang/IllegalArgumentExceptiondb_reindex doesn't support [pipeline] as a query parmaeter. Specify it in the [dest] object instead.f(Ljava/lang/String;)V-h
ei0com/groupbyinc/flux/index/reindex/ReindexRequestk/com/groupbyinc/flux/action/search/SearchRequestm()V-o
np-com/groupbyinc/flux/action/index/IndexRequestr
spc(Lcom/groupbyinc/flux/action/search/SearchRequest;Lcom/groupbyinc/flux/action/index/IndexRequest;)V-u
lv
contentParser6()Lcom/groupbyinc/flux/common/xcontent/XContentParser;xy
z()	|parsel(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;~
?2com/groupbyinc/flux/common/xcontent/XContentParser?close?o??
addSuppressed(Ljava/lang/Throwable;)V??
]?parser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;internal2Lcom/groupbyinc/flux/index/reindex/ReindexRequest;buildRemoteInfo?(Ljava/util/Map;)Lcom/groupbyinc/flux/index/reindex/RemoteInfo;remote?remove&(Ljava/lang/Object;)Ljava/lang/Object;???username?
extractString5(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;??
?password?host?9[host] must be specified to reindex from a remote cluster?java/util/Objects?requireNonNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;??
??java/lang/String?+,	?java/util/regex/Pattern?matcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;??
??java/util/regex/Matcher?matches()Z??
??java/lang/StringBuilder?
?p=[host] must be of the form [scheme]://[host]:[port] but was [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??]?toString?K
??scheme?group&(Ljava/lang/String;)Ljava/lang/String;??
??port?java/lang/Integer?parseInt(Ljava/lang/String;)I??
??headers?extractStringStringMap2(Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;??
?socket_timeout?,com/groupbyinc/flux/index/reindex/RemoteInfo?DEFAULT_SOCKET_TIMEOUT+Lcom/groupbyinc/flux/common/unit/TimeValue;??	??extractTimeValuey(Ljava/util/Map;Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue;??
?connect_timeout?DEFAULT_CONNECT_TIMEOUT??	??isEmpty???!Unsupported fields in [remote]: [?keySet()Ljava/util/Set;???"com/groupbyinc/flux/common/Strings? collectionToCommaDelimitedString((Ljava/lang/Iterable;)Ljava/lang/String;??
??)com/groupbyinc/flux/common/unit/TimeValue?queryForRemoteB(Ljava/util/Map;)Lcom/groupbyinc/flux/common/bytes/BytesReference;??
??(Ljava/lang/String;Ljava/lang/String;ILcom/groupbyinc/flux/common/bytes/BytesReference;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lcom/groupbyinc/flux/common/unit/TimeValue;Lcom/groupbyinc/flux/common/unit/TimeValue;)V-
?source5Ljava/util/Map;Ljava/util/Map;Ljava/lang/String;
hostInRequesthostMatcherLjava/util/regex/Matcher;I5Ljava/util/Map;
socketTimeoutconnectTimeoutextractStringArray6(Ljava/util/Map;Ljava/lang/String;)[Ljava/lang/String;java/lang/Objectjava/util/Listsize()ItoArray(([Ljava/lang/Object;)[Ljava/lang/Object;[Ljava/lang/String;
Expected [$] to be a list of a string but was [!-(Ljava/lang/Object;)Ljava/lang/StringBuilder;?#
?$(C)Ljava/lang/StringBuilder;?&
?'list$Ljava/util/List;Ljava/util/List;namevalueLjava/lang/Object;] to be a string but was [/java/util/Collections1emptyMap()Ljava/util/Map;34
25.] to be an object containing strings but was [7entrySet9?:
java/util/Set<iterator()Ljava/util/Iterator;>?=@java/util/IteratorBhasNextD?CEnext()Ljava/lang/Object;GHCIgetKeyKH
LgetValueNH
O.] to be an object containing strings but has [QentryLjava/util/Map$Entry<**>;Ljava/util/Map$Entry;mapLjava/util/Map<**>;safeparseTimeValueQ(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/TimeValue;YZ
?[defaultValuestring5com/groupbyinc/flux/common/xcontent/json/JsonXContent_contentBuilder7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;ab
`c3com/groupbyinc/flux/common/xcontent/XContentBuildereprettyPrintgb
fhqueryj-com/groupbyinc/flux/index/query/QueryBuildersl
matchAllQuery8()Lcom/groupbyinc/flux/index/query/MatchAllQueryBuilder;no
mpEMPTY_PARAMS7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;rs	t4com/groupbyinc/flux/index/query/MatchAllQueryBuilderv
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;xy
wzbytes3()Lcom/groupbyinc/flux/common/bytes/BytesReference;|}
f~*Expected [query] to be an object but was [?F(Ljava/util/Map;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;V?
f?builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;g(Lcom/groupbyinc/flux/rest/RestRequest;)Lcom/groupbyinc/flux/index/reindex/AbstractBulkByScrollRequest;Z[
?lambda$static$3y(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/index/reindex/ReindexRequest;Ljava/lang/Void;)V!com/groupbyinc/flux/script/Script?Y(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/script/Script;~?
??	setScripti(Lcom/groupbyinc/flux/script/Script;)Lcom/groupbyinc/flux/index/reindex/AbstractBulkIndexByScrollRequest;??
l?pvcLjava/lang/Void;lambda$static$2?(Lcom/groupbyinc/flux/common/xcontent/ObjectParser;Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/index/reindex/ReindexRequest;Ljava/lang/Void;)VgetDestination1()Lcom/groupbyinc/flux/action/index/IndexRequest;??
l?
destParserlambda$static$1D(Lcom/groupbyinc/flux/action/index/IndexRequest;Ljava/lang/String;)V%com/groupbyinc/flux/index/VersionType?
fromString;(Ljava/lang/String;)Lcom/groupbyinc/flux/index/VersionType;??
??versionTypeX(Lcom/groupbyinc/flux/index/VersionType;)Lcom/groupbyinc/flux/action/index/IndexRequest;??
s?s/Lcom/groupbyinc/flux/action/index/IndexRequest;ilambda$static$0V4??index?
?getSearchRequest3()Lcom/groupbyinc/flux/action/search/SearchRequest;??
l?indicesF([Ljava/lang/String;)Lcom/groupbyinc/flux/action/search/SearchRequest;??
n?type?types??
n???
?
setRemoteInfo1(Lcom/groupbyinc/flux/index/reindex/RemoteInfo;)V??
l?contentType4()Lcom/groupbyinc/flux/common/xcontent/XContentType;????3com/groupbyinc/flux/common/xcontent/XContentFactory?i(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;a?
??0com/groupbyinc/flux/common/xcontent/XContentType?xContent0()Lcom/groupbyinc/flux/common/xcontent/XContent;??
??getXContentRegistry=()Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;????,com/groupbyinc/flux/common/xcontent/XContent?createParser?(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/xcontent/XContentParser;????:()Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder;?
n?6com/groupbyinc/flux/search/builder/SearchSourceBuilder?
parseXContent7(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)V??
??java/lang/Void?innerParsercontextreindex?
i.(?[^:]+)://(?[^:]+):(?\d+)?compile-(Ljava/lang/String;)Ljava/util/regex/Pattern;??
??"java/lang/invoke/LambdaMetafactory?metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;??
???[(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/Object;Ljava/lang/Object;)V??
?;()Lcom/groupbyinc/flux/common/xcontent/ObjectParser$Parser;~dest	'(Ljava/lang/Object;Ljava/lang/Object;)VAcom/groupbyinc/flux/action/support/replication/ReplicationRequest
W(Ljava/lang/String;)Lcom/groupbyinc/flux/action/support/replication/ReplicationRequest;?
?accept!()Ljava/util/function/BiConsumer;%com/groupbyinc/flux/common/ParseField((Ljava/lang/String;[Ljava/lang/String;)V-

declareStringI(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/common/ParseField;)V
C(Ljava/lang/String;)Lcom/groupbyinc/flux/action/index/IndexRequest;?!
s"#routing&!
s'(&opType,!
s-.op_type1setPipeline3!
s45??
89version_type<getClass()Ljava/lang/Class;>?
@~B	Ct(Lcom/groupbyinc/flux/common/xcontent/ObjectParser$Parser;)Lcom/groupbyinc/flux/common/xcontent/ObjectParser$Parser;~EFOBJECT;9Lcom/groupbyinc/flux/common/xcontent/ObjectParser$Parser;sLcom/groupbyinc/flux/common/xcontent/ObjectParser;	SignatureCodeLocalVariableTableLineNumberTable
Exceptions
StackMapTableLocalVariableTypeTablee(Ljava/util/Map;)Lcom/groupbyinc/flux/index/reindex/RemoteInfo;\(Ljava/util/Map;Ljava/lang/String;)[Ljava/lang/String;[(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;~(Ljava/util/Map;Ljava/lang/String;)Ljava/util/Map;?(Ljava/util/Map;Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/common/unit/TimeValue;h(Ljava/util/Map;)Lcom/groupbyinc/flux/common/bytes/BytesReference;BootstrapMethods
SourceFileInnerClasses!()x*+,-.yY*+?4?7,?;=*?C?z DEFGHI{bcdJKy-M?zDE{hNOyG	*+,?U?z 	DE	VW	XY{m|QZ[y??+_?c?
?eYg?j??lY?nY?q?sY?t?wM+?{N:?}-,??W-?X?-???J:???>-???5::?:-?#?-???:???	-???,?DJM]1;b]1;kv|]bmkz*.f???DE?VW)m??{&	r	sv)w1x;ybwky?z}T	?9l?]]H]H]?l?]]]?l|Q??yB?*????L+??+???M+???N+????????:????:???$?eY??Y???????ö??Ʒj?ȶ?:???:ζ̸?6+ָ?:	+ܲ??:
+???:+???+?eY??Y????+??????ö??Ʒj???Y*?,-	
??zz????? ??0?:?	
m?vv??j??b?	?W
?
?L?~ ????b?	{N???? ?0?:?C?d?m?v???????????????}J??Q?????m????????|Qx
y?k*+??M,??,??,?N--??????,?????Y,??S??eY??Y?? ??+??"??,?%]?(?Ʒj?z*)+kk,c-.~)*k{&	??????-?4?@?}
?x?
??y?E*+??M,??,???,????eY??Y?? ??+??0??,?%ö??Ʒj?z EE,=-.~E{??????}	?x?
??y??*+??M,??6?,??.?eY??Y?? ??+??8??,?%ö??Ʒj?,?N-?;?A:?F?Z?J?
:?M????P???/?eY??Y?? ??+??R???%ö??Ʒj????-:?z>kHSU??,?-.HtV?X~*kHST?HtVW?X{2?????C?H?k?????????}?2?C?1
?+?x?
??y?*+??N-?,?-+?\?z*,]?^~{
??}??D?x?
??y?Y?d?iL*k??M,??q+?u?{??,??$?eY??Y?????,?%ö??Ʒj?,?N+-????z*YR??Hj.P	V~YP	V{"????#?*?K?P?}?#f'|Qx?DZ?y0*+???zDE{9|Q
??yK
+*?????lW?z 
??
??
??{\|Q
??yW*+,??-???sW?z*?)??????{Z|Q
??y>
*+????W?z
??
?{W
??yM?*??N-???:?
+????W-???:?
+????W+-?Ķ?*????:-??W*????*?????::+???????]????N:		???B???8:		:	?:
?%????:???
??
?????]o{?]o{????]???zRln??????V???????(??J???~?{B@ABCE(F-G7I?JJKQLoM{N?L?N?O}?
???W	?l?f?]]I]H]??l?f?]]]??l?f|Q?oy?>?Y??}??????K?Y
??L+??Y????? +?%?Y????? +?*?Y+???? +?0?Y2???? +?7?Y_???? +?;?Y=???? ?}*Y?AW?G?YH????L?P?}+?V?Y
????L?P?}?`?Ya????d?}?h?Yj????L?P?}?q?Ys???? ?z!tv'?)~!tu'?w{B:
;>Q'R>SUTlU?V?W?Y?Z?[\$^=_?z???$?)?/?6?:?D?S?]_?g?npx??:

		@	!"@$&'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy