
com.groupbyinc.flux.action.admin.cluster.snapshots.create.CreateSnapshotRequest.class Maven / Gradle / Ivy
???? 3? Ocom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest ?Lcom/groupbyinc/flux/action/support/master/MasterNodeRequest;Lcom/groupbyinc/flux/action/IndicesRequest$Replaceable; ;com/groupbyinc/flux/action/support/master/MasterNodeRequest 5com/groupbyinc/flux/action/IndicesRequest$Replaceable CreateSnapshotRequest.java 4com/groupbyinc/flux/common/settings/Settings$Builder ,com/groupbyinc/flux/common/settings/Settings Builder java/util/Map$Entry
java/util/Map Entry )com/groupbyinc/flux/action/IndicesRequest Replaceable snapshot Ljava/lang/String;
repository indices [Ljava/lang/String; indicesOptions 3Lcom/groupbyinc/flux/action/support/IndicesOptions; partial Z settings .Lcom/groupbyinc/flux/common/settings/Settings; includeGlobalState waitForCompletion ()V # $
% "com/groupbyinc/flux/common/Strings ' EMPTY_ARRAY ) ( * , 1com/groupbyinc/flux/action/support/IndicesOptions . strictExpandOpen 5()Lcom/groupbyinc/flux/action/support/IndicesOptions; 0 1
/ 2 4 6 EMPTY_SETTINGS 8
9 ; ! = this QLcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; '(Ljava/lang/String;Ljava/lang/String;)V B D validate ?()Lcom/groupbyinc/flux/action/ActionRequestValidationException; snapshot is missing H *com/groupbyinc/flux/action/ValidateActions J addValidationError ?(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionRequestValidationException;)Lcom/groupbyinc/flux/action/ActionRequestValidationException; L M
K N ;com/groupbyinc/flux/action/ActionRequestValidationException P repository is missing R indices is null T
index is null W indicesOptions is null Y settings is null [ index validationException =Lcom/groupbyinc/flux/action/ActionRequestValidationException; e(Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; ()Ljava/lang/String; f([Ljava/lang/String;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; c(Ljava/util/List;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; java/util/List d size ()I f g e h java/lang/String j toArray (([Ljava/lang/Object;)[Ljava/lang/Object; l m e n $Ljava/util/List; Ljava/util/List; ()[Ljava/lang/String; ?(Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; ()Z T(Z)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; " v ?(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; ?(Lcom/groupbyinc/flux/common/settings/Settings$Builder;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; build 0()Lcom/groupbyinc/flux/common/settings/Settings; z {
| 6Lcom/groupbyinc/flux/common/settings/Settings$Builder; settingsBuilder 8()Lcom/groupbyinc/flux/common/settings/Settings$Builder; ?
? loadFromSource J(Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Settings$Builder; ? ?
? source b(Ljava/util/Map;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; java/io/IOException ? 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 ? a
? ? `
? 4com/groupbyinc/flux/ElasticsearchGenerationException ? java/lang/StringBuilder ?
? % Failed to generate [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ? a
? ? *(Ljava/lang/String;Ljava/lang/Throwable;)V # ?
? ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; e Ljava/io/IOException; 5Ljava/util/Map; Ljava/util/Map; ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; bytes 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; ? ?
? ? ?(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; ? ?
? entrySet ()Ljava/util/Set; ? ? ?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ? t ? ? next ()Ljava/lang/Object; ? ? ? ? getKey ? ? ? equals (Ljava/lang/Object;)Z ? ?
k ? getValue ? ? ? splitStringByCommaToArray '(Ljava/lang/String;)[Ljava/lang/String; ? ?
( ? b
? java/util/ArrayList ? c
? "java/lang/IllegalArgumentException ? 8malformed indices section, should be an array of strings ? (Ljava/lang/String;)V # ?
? ? =com/groupbyinc/flux/common/xcontent/support/XContentMapValues ? nodeBooleanValue ? ?
? ? u
? :malformed settings section, should indices an inner object ? ?
include_global_state lenientExpandOpen 1
/ fromMap w(Ljava/util/Map;Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/support/IndicesOptions;
/ s
name entry ;Ljava/util/Map$Entry; Ljava/util/Map$Entry; java/lang/Throwable java/lang/Exception hasLength (Ljava/lang/String;)Z
( xContent H(Ljava/lang/CharSequence;)Lcom/groupbyinc/flux/common/xcontent/XContent;
? ,com/groupbyinc/flux/common/xcontent/XContent createParser H(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentParser; ! 2com/groupbyinc/flux/common/xcontent/XContentParser#
mapOrdered ()Ljava/util/Map;%&$' ? ?
) close+ $$,
addSuppressed (Ljava/lang/Throwable;)V./
0 #failed to parse repository source [2
? ? parser 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; Ljava/lang/Exception; U([B)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; W([BII)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; ?9
: [B 4([BII)Lcom/groupbyinc/flux/common/xcontent/XContent;=
?> :([BII)Lcom/groupbyinc/flux/common/xcontent/XContentParser;@A< !failed to parse repository sourceD offset I length a(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/xcontent/XContent;I
?J g(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/xcontent/XContentParser;LM /com/groupbyinc/flux/common/bytes/BytesReferenceO failed to parse snapshot sourceQ 1Lcom/groupbyinc/flux/common/bytes/BytesReference; readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)VTU
V 0com/groupbyinc/flux/common/io/stream/StreamInputX
readStringZ a
Y[ readStringArray] r
Y^ readIndicesOptions g(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/support/IndicesOptions;`a
/b readSettingsFromStream b(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/settings/Settings;de
f readBooleanh t
Yi in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)Vmn
o 1com/groupbyinc/flux/common/io/stream/StreamOutputq writeStrings ?
rt writeStringArray ([Ljava/lang/String;)Vvw
rx writeIndicesOptionszn
/{ writeSettingsToStream d(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V}~
writeBoolean (Z)V??
r? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; @([Ljava/lang/String;)Lcom/groupbyinc/flux/action/IndicesRequest; Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature w(Ljava/util/List;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest; ?(Ljava/util/Map;)Lcom/groupbyinc/flux/action/admin/cluster/snapshots/create/CreateSnapshotRequest;
Exceptions
SourceFile InnerClasses ! ! " # $ ? f $*? &*? +? -*? 3? 5*? 7*? :? <*? >? ? $ ? @ ? R F H J L N # S # A ? ? .*? &*? +? -*? 3? 5*? 7*? :? <*? >*,? C*+? E? ? . ? @ . . ? &