com.groupbyinc.flux.index.mapper.ObjectMapper.class Maven / Gradle / Ivy
???? 4? -com/groupbyinc/flux/index/mapper/ObjectMapper 'com/groupbyinc/flux/index/mapper/Mapper java/lang/Cloneable ObjectMapper.java 8com/groupbyinc/flux/index/mapper/ObjectMapper$TypeParser
TypeParser 5com/groupbyinc/flux/index/mapper/ObjectMapper$Builder Builder 4com/groupbyinc/flux/index/mapper/ObjectMapper$Nested Nested 5com/groupbyinc/flux/index/mapper/ObjectMapper$Dynamic Dynamic 6com/groupbyinc/flux/index/mapper/ObjectMapper$Defaults Defaults /com/groupbyinc/flux/index/mapper/ObjectMapper$1 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup CONTENT_TYPE Ljava/lang/String; object % NESTED_CONTENT_TYPE nested ( fullPath enabled Z 6Lcom/groupbyinc/flux/index/mapper/ObjectMapper$Nested; nestedTypePathAsString nestedTypePathAsBytes 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; nestedTypeFilter 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; dynamic 7Lcom/groupbyinc/flux/index/mapper/ObjectMapper$Dynamic; includeInAll Ljava/lang/Boolean; mappers 7Lcom/groupbyinc/flux/common/collect/CopyOnWriteHashMap; tLcom/groupbyinc/flux/common/collect/CopyOnWriteHashMap; $assertionsDisabled ?(Ljava/lang/String;Ljava/lang/String;ZLcom/groupbyinc/flux/index/mapper/ObjectMapper$Nested;Lcom/groupbyinc/flux/index/mapper/ObjectMapper$Dynamic;Ljava/lang/Boolean;Ljava/util/Map;Lcom/groupbyinc/flux/common/settings/Settings;)V (Ljava/lang/String;)V ; =
> : , @ java/lang/AssertionError B ()V ; D
C E java/lang/String G java/lang/Boolean I
java/util/Map K ,com/groupbyinc/flux/common/settings/Settings M com/groupbyinc/flux/Version O indexCreated M(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/Version; Q R
P S
V_5_0_0_beta1 Lcom/groupbyinc/flux/Version; U V P W onOrAfter (Lcom/groupbyinc/flux/Version;)Z Y Z
P [ isEmpty ()Z ] ^
H _ "java/lang/IllegalArgumentException a name cannot be empty string c
b > * $ f + , h ( - j 3 4 l 5 6 n 5com/groupbyinc/flux/common/collect/CopyOnWriteHashMap p
q E 7 8 s copyOf H(Ljava/util/Map;)Lcom/groupbyinc/flux/common/collect/CopyOnWriteHashMap; u v
q w java/lang/StringBuilder y
z E __ | append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ~
z ? toString ()Ljava/lang/String; ? ?
z ? . $ ? 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef ? (Ljava/lang/CharSequence;)V ; ?
? ? / 0 ? 9com/groupbyinc/flux/common/apache/lucene/search/TermQuery ? 3com/groupbyinc/flux/common/apache/lucene/index/Term ? _type ? M(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V ; ?
? ? 8(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)V ; ?
? ? 1 2 ? this /Lcom/groupbyinc/flux/index/mapper/ObjectMapper; name LLjava/util/Map; Ljava/util/Map; settings .Lcom/groupbyinc/flux/common/settings/Settings; indexCreatedVersion clone 1()Lcom/groupbyinc/flux/index/mapper/ObjectMapper; $java/lang/CloneNotSupportedException ? java/lang/Object ? ()Ljava/lang/Object; ? ?
? ? java/lang/RuntimeException ? (Ljava/lang/Throwable;)V ; ?
? ? e &Ljava/lang/CloneNotSupportedException;
mappingUpdate Z(Lcom/groupbyinc/flux/index/mapper/Mapper;)Lcom/groupbyinc/flux/index/mapper/ObjectMapper; ? ?
? putMapper ,(Lcom/groupbyinc/flux/index/mapper/Mapper;)V ? ?
? mapper )Lcom/groupbyinc/flux/index/mapper/Mapper; typeName isEnabled getMapper =(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/Mapper; get &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
q ? field 8()Lcom/groupbyinc/flux/index/mapper/ObjectMapper$Nested; ()Ljava/lang/Boolean; 9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query;
simpleName ? ?
?
copyAndPut ](Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/collect/CopyOnWriteHashMap; ? ?
q ? iterator ()Ljava/util/Iterator; values ()Ljava/util/Collection; ? ?
q ? java/util/Collection ? ? ? ? ? 9()Lcom/groupbyinc/flux/index/mapper/ObjectMapper$Dynamic; getParentObjectMapper a(Lcom/groupbyinc/flux/index/mapper/MapperService;)Lcom/groupbyinc/flux/index/mapper/ObjectMapper; * ?
? lastIndexOf (I)I ? ?
H ? substring (II)Ljava/lang/String; ? ?
H ? .com/groupbyinc/flux/index/mapper/MapperService ? getObjectMapper C(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/ObjectMapper; ? ?
? ? parentNestObjectPath
mapperService 0Lcom/groupbyinc/flux/index/mapper/MapperService; indexOfLastDot I parentObjectMapperAreNested 3(Lcom/groupbyinc/flux/index/mapper/MapperService;)Z ? ?
? ( ?
? isNested ? ^
? parent merge [(Lcom/groupbyinc/flux/index/mapper/Mapper;Z)Lcom/groupbyinc/flux/index/mapper/ObjectMapper; "Can't merge a non object mapping [ ? ?
] with an object mapping [
] doMerge 3(Lcom/groupbyinc/flux/index/mapper/ObjectMapper;Z)V
mergeWith updateAllTypes mergeWithObject merged object mapping [ ,] can't be changed from nested to non-nested ,] can't be changed from non-nested to nested
? java/util/Iterator hasNext ^ next ? U(Lcom/groupbyinc/flux/index/mapper/Mapper;Z)Lcom/groupbyinc/flux/index/mapper/Mapper; ?
! mergeIntoMapper mergeWithMapper updateFieldType @(Ljava/util/Map;)Lcom/groupbyinc/flux/index/mapper/ObjectMapper; java/util/List' :(Ljava/util/Map;)Lcom/groupbyinc/flux/index/mapper/Mapper;%)
* java/util/ArrayList,
- E add (Ljava/lang/Object;)Z/0(1( ? updated
updatedMapper fullNameToFieldType ULjava/util/Map; updatedMappers ;Ljava/util/List; Ljava/util/List;
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;
? 3com/groupbyinc/flux/common/xcontent/XContentBuilderG startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;IJ
HK typeM [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?O
HP isIncludeInParentR ^
S include_in_parentU J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?W
HX isIncludeInRootZ ^
[ include_in_root]
q _ 3
java/util/Localeb ROOT Ljava/util/Locale;de cf toLowerCase &(Ljava/util/Locale;)Ljava/lang/String;hi
Hj + include_in_allm \(Ljava/lang/String;Ljava/lang/Boolean;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?o
Hp;< r
doXContent o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Vtu
v stream ()Ljava/util/stream/Stream;xy ?z "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;~
}?? (I)Ljava/lang/Object;? lambda$toXContent$0 -(I)[Lcom/groupbyinc/flux/index/mapper/Mapper;??
??? apply "()Ljava/util/function/IntFunction;?? ? java/util/stream/Stream? toArray 5(Ljava/util/function/IntFunction;)[Ljava/lang/Object;???? *[Lcom/groupbyinc/flux/index/mapper/Mapper;? 2(Lcom/groupbyinc/flux/index/mapper/ObjectMapper;)V ;?
? java/util/Arrays? sort ,([Ljava/lang/Object;Ljava/util/Comparator;)V??
?? 4com/groupbyinc/flux/index/mapper/MetadataFieldMapper?
properties?
r endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
H? custom 0Lcom/groupbyinc/flux/common/xcontent/ToXContent;
sortedMappers count%&
? ? ?
? size java/lang/Class? desiredAssertionStatus? ^
??
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable"(Ljava/lang/String;Ljava/lang/String;ZLcom/groupbyinc/flux/index/mapper/ObjectMapper$Nested;Lcom/groupbyinc/flux/index/mapper/ObjectMapper$Dynamic;Ljava/lang/Boolean;Ljava/util/Map;Lcom/groupbyinc/flux/common/settings/Settings;)V A()Ljava/util/Iterator; ?(Ljava/util/Map;)Lcom/groupbyinc/flux/index/mapper/ObjectMapper;
Exceptions BootstrapMethods
SourceFile InnerClasses ! # $ ? &