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

com.groupbyinc.flux.cluster.metadata.AliasValidator.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????43com/groupbyinc/flux/cluster/metadata/AliasValidator6com/groupbyinc/flux/common/component/AbstractComponentAliasValidator.java%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookup$assertionsDisabledZ1(Lcom/groupbyinc/flux/common/settings/Settings;)V*Lcom/groupbyinc/flux/common/inject/Inject;

this5Lcom/groupbyinc/flux/cluster/metadata/AliasValidator;settings.Lcom/groupbyinc/flux/common/settings/Settings;
validateAliasz(Lcom/groupbyinc/flux/action/admin/indices/alias/Alias;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/metadata/MetaData;)V4com/groupbyinc/flux/action/admin/indices/alias/Aliasname()Ljava/lang/String;
indexRouting
"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;#$
"%&&(Ljava/lang/Object;)Ljava/lang/Object;(lambda$validateAlias$0w(Lcom/groupbyinc/flux/cluster/metadata/MetaData;Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;*+
,-H(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;/applyN(Lcom/groupbyinc/flux/cluster/metadata/MetaData;)Ljava/util/function/Function;123V(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)V5
6alias6Lcom/groupbyinc/flux/action/admin/indices/alias/Alias;indexLjava/lang/String;metaData/Lcom/groupbyinc/flux/cluster/metadata/MetaData;validateAliasMetaDatax(Lcom/groupbyinc/flux/cluster/metadata/AliasMetaData;Ljava/lang/String;Lcom/groupbyinc/flux/cluster/metadata/MetaData;)V2com/groupbyinc/flux/cluster/metadata/AliasMetaData@8
AB
Alambda$validateAliasMetaData$1E+
FG3
aliasMetaData4Lcom/groupbyinc/flux/cluster/metadata/AliasMetaData;validateAliasStandalone9(Lcom/groupbyinc/flux/action/admin/indices/alias/Alias;)Vjava/lang/ExceptionN'(Ljava/lang/String;Ljava/lang/String;)VLP
QfilterS
T"com/groupbyinc/flux/common/StringsV	hasLength(Ljava/lang/String;)ZXY
WZ3com/groupbyinc/flux/common/xcontent/XContentFactory\xContentH(Ljava/lang/CharSequence;)Lcom/groupbyinc/flux/common/xcontent/XContent;^_
]`2com/groupbyinc/flux/common/xcontent/XContentHelperbconvertToMapR(Lcom/groupbyinc/flux/common/xcontent/XContent;Ljava/lang/String;Z)Ljava/util/Map;de
cf"java/lang/IllegalArgumentExceptionhjava/lang/StringBuilderj()V
l
km"failed to parse filter for alias [oappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;qr
ks]utoStringw
kx*(Ljava/lang/String;Ljava/lang/Throwable;)V
z
i{eLjava/lang/Exception;%Lcom/groupbyinc/flux/common/Nullable;hasText?Y
W?index name is required?(Ljava/lang/String;)V
?
i?java/util/function/Function?1(??2com/groupbyinc/flux/cluster/metadata/IndexMetaData?5com/groupbyinc/flux/indices/InvalidAliasNameException?getIndex#()Lcom/groupbyinc/flux/index/Index;??
??/an index exists with the same name as the alias?H(Lcom/groupbyinc/flux/index/Index;Ljava/lang/String;Ljava/lang/String;)V
?
??indexLookupeLjava/util/function/Function;Ljava/util/function/Function;indexNamedSameAsAlias4Lcom/groupbyinc/flux/cluster/metadata/IndexMetaData;alias name is required?8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?
P
???B(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/RuntimeException;?!()Ljava/util/function/BiFunction;1???com/groupbyinc/flux/cluster/metadata/MetaDataCreateIndexService?validateIndexOrAliasName4(Ljava/lang/String;Ljava/util/function/BiFunction;)V??
??java/lang/String?indexOf(I)I??
??alias [?5] has several index routing values associated with it?validateAliasFilter?(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/index/query/QueryShardContext;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;)Vjava/lang/Throwable?	?java/lang/AssertionError?
?m,com/groupbyinc/flux/common/xcontent/XContent?createParser?(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentParser;????j(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/index/query/QueryShardContext;)V??
?2com/groupbyinc/flux/common/xcontent/XContentParser?close?l??1com/groupbyinc/flux/index/query/QueryShardContext?9com/groupbyinc/flux/common/xcontent/NamedXContentRegistry?
addSuppressed(Ljava/lang/Throwable;)V??
??parser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;queryShardContext3Lcom/groupbyinc/flux/index/query/QueryShardContext;xContentRegistry;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;?(Ljava/lang/String;[BLcom/groupbyinc/flux/index/query/QueryShardContext;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;)V2([B)Lcom/groupbyinc/flux/common/xcontent/XContent;^?
]?s(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;[B)Lcom/groupbyinc/flux/common/xcontent/XContentParser;????[B?java/io/IOException?4com/groupbyinc/flux/index/query/AbstractQueryBuilder?parseInnerQueryBuilderd(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/QueryBuilder;??
??+com/groupbyinc/flux/index/query/Rewriteable?rewrite?(Lcom/groupbyinc/flux/index/query/Rewriteable;Lcom/groupbyinc/flux/index/query/QueryRewriteContext;Z)Lcom/groupbyinc/flux/index/query/Rewriteable;????,com/groupbyinc/flux/index/query/QueryBuilder?toFilterl(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;????.Lcom/groupbyinc/flux/index/query/QueryBuilder;queryBuilder-com/groupbyinc/flux/cluster/metadata/MetaData?:/
?java/lang/ClassdesiredAssertionStatus()Z
CodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotations
StackMapTableLocalVariableTypeTable	Signature?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)V"RuntimeVisibleParameterAnnotations
ExceptionsBootstrapMethods
SourceFileInnerClasses!
	>*+??

23	`*+?,+? -?4?7?
*89:;<=
;<>?	`*+?C,+?D-?I?7?
*JK:;<=
DELM	?O*+?+? ?R+?U?[?;+?U?a+?U?gW?(M?iY?kY?np?t+??tv?t?y,?|??&)O
 *$}~OO89OPR&U)S*TNW
iO$5	?:*+-?R,???
?iY????+????:???Y??+?????
>::8;::;:;:??$??:??]_
`c$d)e9g
	?!?
LP	?I+???
?iY????+????,?-,,???#?iY?kY?n??t+?t??t?y????
 II8;I;jkmn(oHq
6??	?
????-???Y?¿,?a,??::-???]????N:?اB???8::?:?%????:		?ا
????':?iY?kY?np?t+?tv?t?y?|??3:=?#)S?#)\hor?S^\??O
H h???"}~??8;?S;??????*
z{#|)}S{\}??}?~??
k?*???????I?H??	?????????????BO#??	?
????-???Y?¿,??,??::-???]????N:?اB???8::?:?%????:		?ا
????':?iY?kY?np?t+?tv?t?y?|??3:=?#)S?#)\hor?S^\??O
H h???"}~??8;?S???????*
??#?)?S?\?????????
k?*???????I?H??	?????????????BO#
??	l*??M,+????N-+??W?
*??????	???????
E+	:*+??
<=;D
*+	:*+??
<=;;l	4??????.
@ ').0')H0'???
	





© 2015 - 2025 Weber Informatics LLC | Privacy Policy