com.groupbyinc.flux.action.support.IndicesOptions.class Maven / Gradle / Ivy
???? 4? 1com/groupbyinc/flux/action/support/IndicesOptions java/lang/Object 6com/groupbyinc/flux/common/xcontent/ToXContentFragment IndicesOptions.java 8com/groupbyinc/flux/action/support/IndicesOptions$Option Option @com/groupbyinc/flux/action/support/IndicesOptions$WildcardStates WildcardStates 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params STRICT_EXPAND_OPEN 3Lcom/groupbyinc/flux/action/support/IndicesOptions; LENIENT_EXPAND_OPEN STRICT_EXPAND_OPEN_CLOSED STRICT_EXPAND_OPEN_FORBID_CLOSED +STRICT_SINGLE_INDEX_NO_EXPAND_FORBID_CLOSED options Ljava/util/EnumSet; OLjava/util/EnumSet; expandWildcards WLjava/util/EnumSet;
OLD_VALUES 4[Lcom/groupbyinc/flux/action/support/IndicesOptions; )(Ljava/util/EnumSet;Ljava/util/EnumSet;)V ()V "
# % ' this /(Ljava/util/Collection;Ljava/util/Collection;)V java/util/Collection + isEmpty ()Z - . , / NONE 1 2 java/util/EnumSet 4 copyOf +(Ljava/util/Collection;)Ljava/util/EnumSet; 6 7
5 8 2 !
; RLjava/util/Collection; Ljava/util/Collection; ZLjava/util/Collection; fromByte 6(B)Lcom/groupbyinc/flux/action/support/IndicesOptions; java/util/HashSet B
C # IGNORE_UNAVAILABLE :Lcom/groupbyinc/flux/action/support/IndicesOptions$Option; E F G
java/util/Set I add (Ljava/lang/Object;)Z K L J M ALLOW_NO_INDICES O F P OPEN BLcom/groupbyinc/flux/action/support/IndicesOptions$WildcardStates; R S T CLOSED V S W "FORBID_ALIASES_TO_MULTIPLE_INDICES Y F Z FORBID_CLOSED_INDICES \ F ] IGNORE_ALIASES _ F ` *
b id B opts KLjava/util/Set; Ljava/util/Set; wildcards SLjava/util/Set; toByte 6(Lcom/groupbyinc/flux/action/support/IndicesOptions;)B ignoreUnavailable m .
n allowNoIndices p .
q expandWildcardsOpen s .
t expandWildcardsClosed v .
w allowAliasesToMultipleIndices y .
z forbidClosedIndices | .
}
ignoreAliases .
? contains ? L
5 ? writeIndicesOptions 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V java/io/IOException ? 1com/groupbyinc/flux/common/io/stream/StreamOutput ?
getVersion ()Lcom/groupbyinc/flux/Version; ? ?
? ? com/groupbyinc/flux/Version ? V_6_4_0 Lcom/groupbyinc/flux/Version; ? ? ? ? onOrAfter (Lcom/groupbyinc/flux/Version;)Z ? ?
? ? writeEnumSet (Ljava/util/EnumSet;)V ? ?
? ? V_6_0_0_alpha2 ? ? ? ? k l
? write (I)V ? ?
? ? out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; readIndicesOptions g(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/action/support/IndicesOptions; 0com/groupbyinc/flux/common/io/stream/StreamInput ?
? ? readEnumSet &(Ljava/lang/Class;)Ljava/util/EnumSet; ? ?
? ? readByte ()B ? ?
? ? ? "java/lang/IllegalArgumentException ? java/lang/StringBuilder ?
? # No valid missing index type id: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (I)Ljava/lang/StringBuilder; ? ?
? ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/String;)V ?
? ? in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; fromOptions 9(ZZZZ)Lcom/groupbyinc/flux/action/support/IndicesOptions; <(ZZZZZZZ)Lcom/groupbyinc/flux/action/support/IndicesOptions; ? ?
? Z expandToOpenIndices expandToClosedIndices l(ZZZZLcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/support/IndicesOptions; defaultOptions fromRequest ?(Lcom/groupbyinc/flux/rest/RestRequest;Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/support/IndicesOptions; expand_wildcards ? $com/groupbyinc/flux/rest/RestRequest ? param &(Ljava/lang/String;)Ljava/lang/String; ? ?
? ? ignore_unavailable ? allow_no_indices ? fromParameters ?(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/support/IndicesOptions; ? ?
? request &Lcom/groupbyinc/flux/rest/RestRequest; defaultSettings fromMap w(Ljava/util/Map;Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/support/IndicesOptions;
java/util/Map ? containsKey ? L ? ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? m p map 5Ljava/util/Map; Ljava/util/Map; isIndicesOptions (Ljava/lang/String;)Z java/lang/String equals L
name Ljava/lang/String; parseParameter :(Ljava/lang/Object;Ljava/util/EnumSet;)Ljava/util/EnumSet;
=com/groupbyinc/flux/common/xcontent/support/XContentMapValues nodeBooleanValue ((Ljava/lang/Object;Ljava/lang/String;Z)Z
wildcardsString Ljava/lang/Object; ignoreUnavailableString allowNoIndicesString
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; 3com/groupbyinc/flux/common/xcontent/XContentBuilder
startArray I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
iterator ()Ljava/util/Iterator;
5 java/util/Iterator! hasNext# ."$ next ()Ljava/lang/Object;&'"(
? java/util/Locale+ ROOT Ljava/util/Locale;-. ,/ toLowerCase &(Ljava/util/Locale;)Ljava/lang/String;12
3 value5
6 endArray 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;89
: field J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;<=
> expandWildcard builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; strictExpandOpen 5()Lcom/groupbyinc/flux/action/support/IndicesOptions; G strictExpandOpenAndForbidClosed J strictExpand M %strictSingleIndexNoExpandForbidClosed P lenientExpandOpen S getClass ()Ljava/lang/Class;UV
W
5 obj other hashCode ()I\]
5^ result I "IndicesOptions[ignore_unavailable=b (Z)Ljava/lang/StringBuilder; ?d
?e , allow_no_indices=g , expand_wildcards_open=i , expand_wildcards_closed=k $, allow_aliases_to_multiple_indices=m , forbid_closed_indices=o , ignore_aliases=q (C)Ljava/lang/StringBuilder; ?s
?t of %(Ljava/lang/Enum;)Ljava/util/EnumSet;wx
5y 5(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;w{
5| noneOf~ ?
5 @ A
? S max Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable ?(Ljava/util/EnumSet;Ljava/util/EnumSet;)V
StackMapTable ?(Ljava/util/Collection;Ljava/util/Collection;)V
Exceptions ?(Ljava/util/Map;Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/support/IndicesOptions;
SourceFile InnerClasses ! ? ? ! ? u *? $*+? &*,? (? ? ) ? ? h i j k? ? * ? ? +*+? 0 ? ? 3? +? 9,? 0 ? ? :? ,? 9?