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

com.groupbyinc.flux.index.mapper.MapperMergeValidator.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4`5com/groupbyinc/flux/index/mapper/MapperMergeValidatorjava/lang/ObjectMapperMergeValidator.java3com/groupbyinc/flux/index/mapper/FieldMapper$CopyTo,com/groupbyinc/flux/index/mapper/FieldMapperCopyTo4com/groupbyinc/flux/index/mapper/ObjectMapper$Nested-com/groupbyinc/flux/index/mapper/ObjectMapper
Nested%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookup()V
this7Lcom/groupbyinc/flux/index/mapper/MapperMergeValidator;validateMapperStructure?(Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Map;Lcom/groupbyinc/flux/index/mapper/FieldTypeLookup;Z)VcheckFieldUniqueness?(Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Map;Lcom/groupbyinc/flux/index/mapper/FieldTypeLookup;)V
checkObjectsCompatibility)(Ljava/util/Collection;Ljava/util/Map;Z)V!"
#typeLjava/lang/String;
objectMappersGLjava/util/Collection;Ljava/util/Collection;fieldMappersFLjava/util/Collection;fieldAliasMappersKLjava/util/Collection;fullPathObjectMappersRLjava/util/Map;Ljava/util/Map;
fieldTypes2Lcom/groupbyinc/flux/index/mapper/FieldTypeLookup;updateAllTypesZjava/util/HashSet5
6java/util/Collection8iterator()Ljava/util/Iterator;:;9<
java/util/Set>java/util/Iterator@hasNext()ZBCADnext()Ljava/lang/Object;FGAHfullPath()Ljava/lang/String;JK
Ladd(Ljava/lang/Object;)ZNO?P"java/lang/IllegalArgumentExceptionRjava/lang/StringBuilderT
UObject mapper [Wappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;YZ
U[(] is defined twice in mapping for type []]_toStringaK
Ub(Ljava/lang/String;)Vd
Sestream()Ljava/util/stream/Stream;gh9ijava/util/stream/StreamkconcatM(Ljava/util/stream/Stream;Ljava/util/stream/Stream;)Ljava/util/stream/Stream;mnlo"java/lang/invoke/LambdaMetafactoryqmetafactory?(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;st
ruv(Ljava/lang/Object;)Vxlambda$checkFieldUniqueness$0\(Ljava/util/Set;Ljava/lang/String;Ljava/util/Set;Lcom/groupbyinc/flux/index/mapper/Mapper;)Vz{
|},(Lcom/groupbyinc/flux/index/mapper/Mapper;)VacceptO(Ljava/util/Set;Ljava/lang/String;Ljava/util/Set;)Ljava/util/function/Consumer;???forEach (Ljava/util/function/Consumer;)V??l??<java/lang/String?
java/util/Map?containsKey?O??[?$] is defined as a field in mapping [?<] but this name is already used for an object in other types?0com/groupbyinc/flux/index/mapper/FieldTypeLookup?getF(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType;??
??&] is defined as an object in mapping [?:] but this name is already used for a field in other types?objectMapper/Lcom/groupbyinc/flux/index/mapper/ObjectMapper;	fieldName
objectPathobjectFullNames#Ljava/util/Set;Ljava/util/Set;
fieldNames&(Ljava/lang/Object;)Ljava/lang/Object;????merge[(Lcom/groupbyinc/flux/index/mapper/Mapper;Z)Lcom/groupbyinc/flux/index/mapper/ObjectMapper;??
?existingObjectMappernewObjectMappervalidateFieldReferences?(Lcom/groupbyinc/flux/index/IndexSettings;Ljava/util/List;Ljava/util/List;Ljava/util/Map;Lcom/groupbyinc/flux/index/mapper/FieldTypeLookup;)V'com/groupbyinc/flux/index/IndexSettings?getIndexVersionCreated()Lcom/groupbyinc/flux/Version;??
??com/groupbyinc/flux/Version?
V_6_0_0_beta1Lcom/groupbyinc/flux/Version;??	??	onOrAfter (Lcom/groupbyinc/flux/Version;)Z??
??validateCopyToT(Ljava/util/List;Ljava/util/Map;Lcom/groupbyinc/flux/index/mapper/FieldTypeLookup;)V??
?validateFieldAliasTargets"(Ljava/util/List;Ljava/util/Map;)V??
?
indexSettings)Lcom/groupbyinc/flux/index/IndexSettings;@Ljava/util/List;Ljava/util/List;ELjava/util/List;java/util/List??<copyTo7()Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;??
	?copyToFields()Ljava/util/List;??
?isEmpty?C??name?K
	?parentObject&(Ljava/lang/String;)Ljava/lang/String;??
?7[copy_to] may not be used to copy from a multi-field: [?getNestedScope5(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;??
?5[copy_to] may not be used to copy to a multi-field: [?Cannot copy to field [?!] since it is mapped as an object?checkNestedScopeCompatibility'(Ljava/lang/String;Ljava/lang/String;)V??
?copyToParenttargetScopesourceParentsourceScopemapper.Lcom/groupbyinc/flux/index/mapper/FieldMapper;1com/groupbyinc/flux/index/mapper/FieldAliasMapper?
??path?K
?java/util/Objectsequals'(Ljava/lang/Object;Ljava/lang/Object;)Z
Invalid [path] value [] for field alias [
;]: an alias must have the same nested scope as its target. 
UeThe alias is not nestedThe alias's nested scope is [, but the target is not nested.the target's nested scope is [].messageLjava/lang/StringBuilder;	aliasName
aliasScope	pathScope3Lcom/groupbyinc/flux/index/mapper/FieldAliasMapper;nested8()Lcom/groupbyinc/flux/index/mapper/ObjectMapper$Nested;!"
#isNested%C
&
parentPathO
?).+
startsWith(Ljava/lang/String;)Z-.
?/?Illegal combination of [copy_to] and [nested] mappings: [copy_to] may only copy data to the current nested document or any of its parents, however one [copy_to] directive is trying to copy data from nested object [1] to [3targetIsParentOfSourcesourcetargetlastIndexOf(I)I89
?:	substring(II)Ljava/lang/String;<=
?>fieldlastDotI'com/groupbyinc/flux/index/mapper/MapperC
D?containsFO?GField [I/] is defined both as an object and a field in [K] is defined twice in [M)Lcom/groupbyinc/flux/index/mapper/Mapper;CodeLocalVariableTableLineNumberTableLocalVariableTypeTable	Signaturer(Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Map;Lcom/groupbyinc/flux/index/mapper/FieldTypeLookup;Z)V
StackMapTableq(Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Map;Lcom/groupbyinc/flux/index/mapper/FieldTypeLookup;)V?(Ljava/util/Collection;Ljava/util/Map;Z)V5(Lcom/groupbyinc/flux/index/IndexSettings;Ljava/util/List;Ljava/util/List;Ljava/util/Map;Lcom/groupbyinc/flux/index/mapper/FieldTypeLookup;)V?(Ljava/util/List;Ljava/util/Map;Lcom/groupbyinc/flux/index/mapper/FieldTypeLookup;)V?(Ljava/util/List;Ljava/util/Map;)Vx(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;BootstrapMethods
SourceFileInnerClasses P/*??QR%	P?*+,-? +?$?QH%&')*),).01234S*'(*+,-./R:<=TU
P?
=?6Y?7:+?=:?E?O?I?:?M:		?Q?-?SY?UY?VX?\	?\^?\*?\`?\?c?f?????6Y?7:,?j-?j?p*??????:?E?H?I??:		???-?SY?UY?V??\	?\??\*?\??\?c?f??????:?E?F?I??:		???-?SY?UY?V??\	?\??\*?\??\?c?f?????Qz.6J&	'=???6?&	4?&	=%&=')=*)=,)=.0=12	4??p???S>='(=*+=,-=./	4??p???RJG	H'I.J:KdMgOpP?Q?[?\?]?`?bcd9g<hV,	??A?R??/?A?K??A?I?TW
!"P?=*?=N-?E?/-?I?:+?M???:???W??αQ4+????=')=.0=34S='(=./Rmn+o0r9t<uV?A1?TX	??P?*?????Ù
+-??,-?˱Q4??*?,?.012S *?,?./R?
???VTY
??P-*??N-?E?	-?I?	:?????׶۹??????:?0,???'?SY?UY?V?\??\`?\?c?f???+??:?׶۹?:?E???I??:??:		?-,	???$?SY?UY?V??\?\`?\?c?f?+???$?SY?UY?V?\?\?\?c?f?+??:

????y????Q\	?j?&		?&
?q?&=??&z??&???*?.012S*?./RF??3?=?K?o?z????????????	????V:?A?g	???A?K??+????A?TZ
??PN	?*??M,?E??,?I??N-??:-?:+??:+??:????UY?UY?V	?\?\?\?\
?\?c?:?	??UY?V?\?\`?\?c?\W?\W?	??UY?V?\?\?\?c?\W?SY?c?f???+?QRom ?&&??&.?&6?&?? ?,??.0S?,??./RN?? ?&?.?6?@?o?v?|???????????????????V??A?t	??A?????UU?	??A?????UU?YU?	??A?????UU????A?T[
??P?.*??M,?&+,???N-?-?$?'?,?,??M????Q*??'(&.?&..0S../R?	??"?$?,?V???T\
??P?n*?+?+??=?,*+?*?*?UY?V+?\,?\?c?0??=?.?SY?UY?V2?\*?\4?\+?\`?\?c?f??Q*54n6&n7&>054R???>?B?m?V	@"@?.
??Pa*.?;<??*???Q@&ABR????V?
z{P?u-?E:*?H?/?SY?UY?VJ?\?\L?\+?\`?\?c?f?,?Q?/?SY?UY?VJ?\?\N?\+?\`?\?c?f??Q4u??u%&u??u?Oo?&RRST=UHVtXV	?=?6]wy~?^_	
		




© 2015 - 2024 Weber Informatics LLC | Privacy Policy