com.groupbyinc.flux.index.mapper.Mapping.class Maven / Gradle / Ivy
???? 4 ? (com/groupbyinc/flux/index/mapper/Mapping java/lang/Object 6com/groupbyinc/flux/common/xcontent/ToXContentFragment Mapping.java *com/groupbyinc/flux/index/mapper/Mapping$2 *com/groupbyinc/flux/index/mapper/Mapping$1
5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params 8com/groupbyinc/flux/common/xcontent/ToXContent$MapParams MapParams indexCreated Lcom/groupbyinc/flux/Version; root 3Lcom/groupbyinc/flux/index/mapper/RootObjectMapper; metadataMappers 7[Lcom/groupbyinc/flux/index/mapper/MetadataFieldMapper; metadataMappersMap Ljava/util/Map; ?Ljava/util/Map;Lcom/groupbyinc/flux/index/mapper/MetadataFieldMapper;>; meta 5Ljava/util/Map; ?(Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/index/mapper/RootObjectMapper;[Lcom/groupbyinc/flux/index/mapper/MetadataFieldMapper;Ljava/util/Map;)V ()V !
" $ & java/util/HashMap (
) " com/groupbyinc/flux/Version + 1com/groupbyinc/flux/index/mapper/RootObjectMapper -
java/util/Map 0 getClass ()Ljava/lang/Class; 2 3
4 put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 6 7 1 8 : -(Lcom/groupbyinc/flux/index/mapper/Mapping;)V <
= java/util/Arrays ? sort ,([Ljava/lang/Object;Ljava/util/Comparator;)V A B
@ C java/util/Collections E unmodifiableMap (Ljava/util/Map;)Ljava/util/Map; G H
F I K M metadataMapper 6Lcom/groupbyinc/flux/index/mapper/MetadataFieldMapper; this *Lcom/groupbyinc/flux/index/mapper/Mapping; rootObjectMapper 5()Lcom/groupbyinc/flux/index/mapper/RootObjectMapper;
mappingUpdate U(Lcom/groupbyinc/flux/index/mapper/Mapper;)Lcom/groupbyinc/flux/index/mapper/Mapping;
W )Lcom/groupbyinc/flux/index/mapper/Mapper; I(Ljava/lang/Class;)Lcom/groupbyinc/flux/index/mapper/MetadataFieldMapper; get &(Ljava/lang/Object;)Ljava/lang/Object; [ \ 1 ] 4com/groupbyinc/flux/index/mapper/MetadataFieldMapper _ clazz Ljava/lang/Class; Ljava/lang/Class; merge W(Lcom/groupbyinc/flux/index/mapper/Mapping;Z)Lcom/groupbyinc/flux/index/mapper/Mapping; _(Lcom/groupbyinc/flux/index/mapper/Mapper;Z)Lcom/groupbyinc/flux/index/mapper/RootObjectMapper; d f
. g (Ljava/util/Map;)V i
) j b(Lcom/groupbyinc/flux/index/mapper/Mapper;Z)Lcom/groupbyinc/flux/index/mapper/MetadataFieldMapper; d l
` m values ()Ljava/util/Collection; o p 1 q java/util/Collection s toArray (([Ljava/lang/Object;)[Ljava/lang/Object; u v t w merged mergeInto
metaMergeWith mergeWith updateAllTypes Z
mergedRoot mergedMetaDataMappers updateFieldType ;(Ljava/util/Map;)Lcom/groupbyinc/flux/index/mapper/Mapping; ?(Ljava/util/Map;)Lcom/groupbyinc/flux/index/mapper/FieldMapper; ? ?
` ? copyOf )([Ljava/lang/Object;I)[Ljava/lang/Object; ? ?
@ ? D(Ljava/util/Map;)Lcom/groupbyinc/flux/index/mapper/RootObjectMapper; ? ?
. ? currentFieldMapper updatedFieldMapper i I fullNameToFieldType ULjava/util/Map; updatedMeta updatedRoot
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; java/io/IOException ?
= ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;Lcom/groupbyinc/flux/common/xcontent/ToXContent;)V ? ?
. ? builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; toString ()Ljava/lang/String; 3com/groupbyinc/flux/common/xcontent/XContentFactory ? jsonBuilder 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? startObject ? ?
? ? emptyMap ()Ljava/util/Map; ? ?
F ?
j ? ?
? endObject ? ?
? ? string ? ?
? ? java/io/UncheckedIOException ? (Ljava/io/IOException;)V ?
? ? bogus Ljava/io/IOException; Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable ?(Lcom/groupbyinc/flux/Version;Lcom/groupbyinc/flux/index/mapper/RootObjectMapper;[Lcom/groupbyinc/flux/index/mapper/MetadataFieldMapper;Ljava/util/Map;)V U(Ljava/lang/Class;)TT; ?(Ljava/util/Map;)Lcom/groupbyinc/flux/index/mapper/Mapping;
Exceptions
SourceFile InnerClasses 1 ? ? ? =
f*? #*+? %*-? '? )Y? *:-:?66? 2: ? 5 ? 9 W????*,? ;-? Y*? >? D*? J? L*? N? ? H 0 O P f Q R f f S f f O ? f O ? 2 2 3 4 5 6 0 7 ? 6 E 9 J ; V A _ B e C ? # ? " , . / 1 1 / ? " ? ? T ? / *? ;? ? Q R ? G U V ? L ? Y*? %+? .*? '*? N? X? ? Q R S Y ? N O Z ? T *? L+? ^ ? `? ? Q R a c ? a b ? T ? ? d e ? ? ?*? ;+? ;? hN? )Y*? L? k:+? ':?66? F2:? 5? ^ ? `: ?
:
?
? n:
? 5
? 9 W????? Y*? %-? r ? `? x ? /+? N? X? ? \ P y P
G % z P ] y P
6 6 { P ? Q R ? | R ? } ~
? | ? ? | ? ? *
Y
Z [ 6 \ G ^ L _ S a ] c l [ r e ? > ? ( . 1 / ? * ` `? `? . 1 ? ? ? ? zM>*? '?? <*? '2:+? ?? `:? ,? *? '*? '?? ?? /M,S????*? ;+? ?N,?
-*? ;? *?? Y*? %-,?
*? '? ,*? N? X? ? H + ? P ? P B ? ? z Q R z ? x ? O + ? ? z ? ? ? 6
l m
n o p ' q + r ; t @ m F w O x [ y ] { ? _ ? /? 6 ` `? ? ? .? 1 / . ] ] , .? 1 / . ] ] , . / ? ? ? ? ? U *? ;+,? Y*? ?? ?+? ? Q R ? ? ? ? ?
? ? ? ? ? ? ? ? )? ?? ?L*+? Y? ?? ?? ?W+? ?? ??L? ?Y+? ?? ? ? ? ? ? ? ) Q R ? ? ? ? ? ? ? _ ? ? ? "