com.groupbyinc.flux.index.fieldvisitor.FieldsVisitor.class Maven / Gradle / Ivy
???? 4l 4com/groupbyinc/flux/index/fieldvisitor/FieldsVisitor Acom/groupbyinc/flux/common/apache/lucene/index/StoredFieldVisitor FieldsVisitor.java Hcom/groupbyinc/flux/common/apache/lucene/index/StoredFieldVisitor$Status Status java/util/Map$Entry
java/util/Map Entry BASE_REQUIRED_FIELDS Ljava/util/Set; #Ljava/util/Set;
loadSource Z requiredFields source 1Lcom/groupbyinc/flux/common/bytes/BytesReference; type Ljava/lang/String; id fieldsValues Ljava/util/Map; GLjava/util/Map;>; $assertionsDisabled (Z)V ()V
" java/util/HashSet $
% ' reset )
* this 6Lcom/groupbyinc/flux/index/fieldvisitor/FieldsVisitor;
needsField ?(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;)Lcom/groupbyinc/flux/common/apache/lucene/index/StoredFieldVisitor$Status; java/io/IOException 0 8com/groupbyinc/flux/common/apache/lucene/index/FieldInfo 2 name 4 3 5
java/util/Set 7 remove (Ljava/lang/Object;)Z 9 : 8 ; YES JLcom/groupbyinc/flux/common/apache/lucene/index/StoredFieldVisitor$Status; = > ? _ignored A java/lang/String C equals E :
D F isEmpty ()Z H I 8 J STOP L > M NO O > P fieldInfo :Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo; postProcess 3(Lcom/groupbyinc/flux/index/mapper/MapperService;)V .com/groupbyinc/flux/index/mapper/MapperService V getIndexSettings +()Lcom/groupbyinc/flux/index/IndexSettings; X Y
W Z 'com/groupbyinc/flux/index/IndexSettings \ isSingleType ^ I
] _ types ()Ljava/util/Collection; a b
W c e java/util/Collection g size ()I i j h k java/lang/AssertionError m (Ljava/lang/Object;)V o
n p h J iterator ()Ljava/util/Iterator; s t h u java/util/Iterator w next ()Ljava/lang/Object; y z x { } fields ()Ljava/util/Map; ?
? entrySet ()Ljava/util/Set; ? ? ? 8 u hasNext ? I x ? getKey ? z
? fullName F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType; ? ?
W ? java/lang/IllegalStateException ? java/lang/StringBuilder ?
? Field [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? )] exists in the index but not in mappings ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/String;)V ?
? ? 0com/groupbyinc/flux/index/mapper/MappedFieldType ? getValue ? z
? java/util/List ? ? k get (I)Ljava/lang/Object; ? ? ? ? valueForDisplay &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? set '(ILjava/lang/Object;)Ljava/lang/Object; ? ? ? ? *Ljava/util/Collection; Ljava/util/Collection; i I fieldType 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; fieldValues $Ljava/util/List; Ljava/util/List; entry MLjava/util/Map$Entry;>; Ljava/util/Map$Entry;
mapperService 0Lcom/groupbyinc/flux/index/mapper/MapperService; binaryField ?(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;[B)V _source ? +com/groupbyinc/flux/common/bytes/BytesArray ? ([B)V ?
? ? ? _id ? $com/groupbyinc/flux/index/mapper/Uid ? decodeId ([B)Ljava/lang/String; ? ?
? ? ? 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef ?
? ? addValue '(Ljava/lang/String;Ljava/lang/Object;)V ? ?
? value [B stringField !java/nio/charset/StandardCharsets ? UTF_8 Ljava/nio/charset/Charset; ? ? ? ? ([BLjava/nio/charset/Charset;)V ?
D ? _uid ? createUid :(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/Uid; ? ?
? ? ?
? ? ?
? ? uid &Lcom/groupbyinc/flux/index/mapper/Uid; bytes intField >(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;I)V java/lang/Integer ? valueOf (I)Ljava/lang/Integer;
longField >(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;J)V java/lang/Long (J)Ljava/lang/Long;
J
floatField >(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;F)V java/lang/Float (F)Ljava/lang/Float;
F doubleField >(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;D)V java/lang/Double (D)Ljava/lang/Double;
D 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; (()Lcom/groupbyinc/flux/index/mapper/Uid; 'Call postProcess before getting the uid '(Ljava/lang/String;Ljava/lang/String;)V !
?" routing % _routing' ? ? ) ? J
n java/lang/Object-
. ? values java/util/Collections1 emptyMap3 ?
24 clear6 7 9 addAll (Ljava/util/Collection;)Z;< 8= add? : 8@ java/util/HashMapB
C java/util/ArrayListE (I)V G
FH put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;JK L ?@ Ljava/lang/Object; java/lang/ClassQ desiredAssertionStatusS I
RT _parentV (com/groupbyinc/flux/common/util/set/SetsX
newHashSet (([Ljava/lang/Object;)Ljava/util/HashSet;Z[
Y\ unmodifiableSet (Ljava/util/Set;)Ljava/util/Set;^_
2` Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions LocalVariableTypeTable I()Ljava/util/Map;>;
SourceFile InnerClasses ! b b b c ] *? !*? #*? %Y? &? (*? +? d , - e B C D E F . / c ? :*? (+? 6? < ? ? @?B+? 6? G? ? @?*? (? K ? ? N? ? Q? d : , - : R S e " J K P Q $ U 0 V 6 W 9 Uf B g 1 T U c ? ?+? [? `? <+? dM? f? ,? l ? ? nY,? q?,? r ? *,? v ? | ? D? ~*? ?? ? ? ? M,? ? ? ?,? | ?
N+-? ? ? D? ?:? +? ?Y? ?Y? ??? ?-? ? ? D? ??? ?? ?? ??-? ? ? ?:6? ? ? !? ? ? ?? ? W???٧?y? d H 4 a ? ? * ? ? t e ? ? ? - ? ? e t ? ? ? , - ? ? ? h 4 a ? ? - ? ? e t ? ? e > [
\ ] ( ^ 1 _ C b e c t d y e ? h ? i ? j ? i ? l ? mf 4 ? ( h? ? x? N
??
?? ) W x ? ? ? c ? C?+? 6? G? *? ?Y,? е ҧ *?+? 6? G? *,? ڵ ܧ *+? 6? ?Y,? ߶ ? d C , - C R S C ? ? e q r s ' t 2 v B xf g 1 ? ? c ? Q? DY,? ? ?N?+? 6? G? -? ?:*? ?? ~*? ?? ܧ ?+? 6? G? *-? ܧ *+? 6-? ? d 4 ? ? Q , - Q R S Q ? ? E ? e &