
com.groupbyinc.flux.action.support.AutoCreateIndex.class Maven / Gradle / Ivy
???? 3 s 2com/groupbyinc/flux/action/support/AutoCreateIndex java/lang/Object AutoCreateIndex.java needToCheck Z globallyDisabled dynamicMappingDisabled matches [Ljava/lang/String; matches2 resolver BLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver; s(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;)V *Lcom/groupbyinc/flux/common/inject/Inject; ()V
index.mapper.dynamic java/lang/Boolean valueOf (Z)Ljava/lang/Boolean;
,com/groupbyinc/flux/common/settings/Settings getAsBoolean :(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean; ! "
# booleanValue ()Z % &
' @com/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver ) + action.auto_create_index - get &(Ljava/lang/String;)Ljava/lang/String; / 0
1 #com/groupbyinc/flux/common/Booleans 3 isExplicitTrue (Ljava/lang/String;)Z 5 6
4 7 java/lang/String 9 ; =
? A isExplicitFalse C 6
4 D "com/groupbyinc/flux/common/Strings F commaDelimitedListToStringArray '(Ljava/lang/String;)[Ljava/lang/String; H I
G J substring (I)Ljava/lang/String; L M
: N i I this 4Lcom/groupbyinc/flux/action/support/AutoCreateIndex; settings .Lcom/groupbyinc/flux/common/settings/Settings; value Ljava/lang/String; shouldAutoCreate ?(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/ClusterState;)Z hasIndexOrAlias Z Y
* [ charAt (I)C ] ^
: _ &com/groupbyinc/flux/common/regex/Regex a simpleMatch '(Ljava/lang/String;Ljava/lang/String;)Z c d
b e c C index state *Lcom/groupbyinc/flux/cluster/ClusterState; exists Code LocalVariableTable LineNumberTable
StackMapTable RuntimeVisibleAnnotations
SourceFile 1
m ? ?*? *,? *+? ? $? (? ? ? ,+.? 2N-?
-? 8? *? <*? >*? @*? B? d-? E? *? <*? >*? @*? B? F*? <*? >*-? K? @**? @?? :? B6*? @?? *? B*? @2? OS???? n 4 ? " P Q ? R S ? T U ?
) ? V W o Z - . / " 0 ) 1 4 2 9 3 > 4 C 5 K 6 R 7 W 8 \ 9 a : i <