com.groupbyinc.flux.action.admin.indices.alias.IndicesAliasesRequest$AliasActions.class Maven / Gradle / Ivy
???? 4 Qcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions java/lang/Object )com/groupbyinc/flux/action/AliasesRequest .com/groupbyinc/flux/common/io/stream/Writeable IndicesAliasesRequest.java Dcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest
AliasActions Vcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions$Type
Type 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params :com/groupbyinc/flux/common/xcontent/ObjectParser$ValueType 0com/groupbyinc/flux/common/xcontent/ObjectParser ValueType %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
ADD_PARSER 2Lcom/groupbyinc/flux/common/xcontent/ObjectParser; ?Lcom/groupbyinc/flux/common/xcontent/ObjectParser;
REMOVE_PARSER REMOVE_INDEX_PARSER PARSER >Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser; ?Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser; type XLcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions$Type; indices [Ljava/lang/String; aliases filter Ljava/lang/String; routing indexRouting
searchRouting add U()Lcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions; ADD 3 ( 4 [(Lcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions$Type;)V 6 7
8 remove REMOVE ; ( < removeIndex REMOVE_INDEX ? ( @ parser c(Ljava/lang/String;Ljava/util/function/Supplier;)Lcom/groupbyinc/flux/common/xcontent/ObjectParser; 2(Ljava/lang/String;Ljava/util/function/Supplier;)V 6 D
E "java/lang/invoke/LambdaMetafactory G 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; I J
H K L '(Ljava/lang/Object;Ljava/lang/Object;)V N lambda$parser$0 h(Lcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions;Ljava/lang/String;)V P Q
R S Q accept !()Ljava/util/function/BiConsumer; V W X %com/groupbyinc/flux/common/ParseField Z index \ java/lang/String ^ ((Ljava/lang/String;[Ljava/lang/String;)V 6 `
[ a
declareString I(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/common/ParseField;)V c d
e lambda$parser$1 i(Lcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions;[Ljava/lang/String;)V g h
i j h X fromList Q(Ljava/lang/Class;Ljava/util/function/BiConsumer;)Ljava/util/function/BiConsumer; n o
p ) declareStringArray s d
t lambda$parser$2 v Q
w x X alias { lambda$parser$3 } h
~ X + name supplier rLjava/util/function/Supplier; Ljava/util/function/Supplier; ()V 6 ?
? "com/groupbyinc/flux/common/Strings ? EMPTY_ARRAY ? * ? ? + * ? ' ( ? this SLcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException ? 0com/groupbyinc/flux/common/io/stream/StreamInput ? readByte ()B ? ?
? ? fromValue [(B)Lcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions$Type; ? ?
? readStringArray ()[Ljava/lang/String; ? ?
? ? ) * ? readOptionalString ()Ljava/lang/String; ? ?
? ? , - ? . - ? 0 - ? / - ? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V value ? ?
? 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeByte (B)V ? ?
? ? writeStringArray ([Ljava/lang/String;)V ? ?
? ? writeOptionalString (Ljava/lang/String;)V ? ?
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; validate "java/lang/IllegalArgumentException ? 'One of [index] or [indices] is required ? 6 ?
? ? 'One of [alias] or [aliases] is required ?
actionType Z()Lcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions$Type; h([Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions; [indices] can't be empty ? * hasLength (Ljava/lang/String;)Z ? ?
? ? $[indices] can't contain empty string ? g(Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions; [index] can't be empty string ? java/lang/StringBuilder ?
? ? [aliases] is unsupported for [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ? ?
? ? [aliases] can't be empty ? $[aliases] can't contain empty string ? [alias] is unsupported for [ ? [alias] can't be empty string ? [routing] is unsupported for [ ? %[search_routing] is unsupported for [ ? $[index_routing] is unsupported for [ [filter] is unsupported for [ d(Ljava/util/Map;)Lcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions;
java/util/Map isEmpty ()Z 0com/groupbyinc/flux/common/xcontent/XContentType JSON 2Lcom/groupbyinc/flux/common/xcontent/XContentType;
3com/groupbyinc/flux/common/xcontent/XContentFactory contentBuilder i(Lcom/groupbyinc/flux/common/xcontent/XContentType;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
3com/groupbyinc/flux/common/xcontent/XContentBuilder map F(Ljava/util/Map;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
string ?
4com/groupbyinc/flux/ElasticsearchGenerationException Failed to generate [" *(Ljava/lang/String;Ljava/lang/Throwable;)V 6$
!% builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; e Ljava/io/IOException; 5Ljava/util/Map; Ljava/util/Map; ?(Lcom/groupbyinc/flux/index/query/QueryBuilder;)Lcom/groupbyinc/flux/action/admin/indices/alias/IndicesAliasesRequest$AliasActions; jsonBuilder 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;./
0 EMPTY_PARAMS 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;23 4 ,com/groupbyinc/flux/index/query/QueryBuilder6
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;897: close<