
com.groupbyinc.flux.index.fieldvisitor.FieldsVisitor.class Maven / Gradle / Ivy
???? 3[ 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 6com/groupbyinc/flux/index/mapper/MappedFieldType$Names 0com/groupbyinc/flux/index/mapper/MappedFieldType Names BASE_REQUIRED_FIELDS Ljava/util/Set; #Ljava/util/Set;
loadSource Z requiredFields source 1Lcom/groupbyinc/flux/common/bytes/BytesReference; uid &Lcom/groupbyinc/flux/index/mapper/Uid; 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 4 8com/groupbyinc/flux/common/apache/lucene/index/FieldInfo 6 name Ljava/lang/String; 8 9 7 :
java/util/Set < remove (Ljava/lang/Object;)Z > ? = @ YES JLcom/groupbyinc/flux/common/apache/lucene/index/StoredFieldVisitor$Status; B C D isEmpty ()Z F G = H STOP J C K NO M C N fieldInfo :Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo; postProcess 3(Lcom/groupbyinc/flux/index/mapper/MapperService;)V T $com/groupbyinc/flux/index/mapper/Uid V type ()Ljava/lang/String; X Y
W Z .com/groupbyinc/flux/index/mapper/MapperService \ documentMapper E(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/DocumentMapper; ^ _
] ` 4(Lcom/groupbyinc/flux/index/mapper/DocumentMapper;)V R b
c fields ()Ljava/util/Map; e f
g entrySet ()Ljava/util/Set; i j k iterator ()Ljava/util/Iterator; m n = o java/util/Iterator q hasNext s G r t next ()Ljava/lang/Object; v w r x getKey z w
{ java/lang/String } indexName F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType; ?
] ? getValue ? w
? java/util/List ? size ()I ? ? ? ? get (I)Ljava/lang/Object; ? ? ? ? valueForSearch &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? set '(ILjava/lang/Object;)Ljava/lang/Object; ? ? ? ? 1Lcom/groupbyinc/flux/index/mapper/DocumentMapper; 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; /com/groupbyinc/flux/index/mapper/DocumentMapper ? mappers 9()Lcom/groupbyinc/flux/index/mapper/DocumentFieldMappers; ? ?
? ? 5com/groupbyinc/flux/index/mapper/DocumentFieldMappers ? getMapper B(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/FieldMapper; ? ?
? ?
? o ,com/groupbyinc/flux/index/mapper/FieldMapper ? 4()Lcom/groupbyinc/flux/index/mapper/MappedFieldType; ? ?
? ? names :()Lcom/groupbyinc/flux/index/mapper/MappedFieldType$Names; ? ?
? Y
? equals ? ?
~ ? mapper .Lcom/groupbyinc/flux/index/mapper/FieldMapper; fieldMapper binaryField ?(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;[B)V _source ? +com/groupbyinc/flux/common/bytes/BytesArray ? ([B)V ! ?
? ? ? 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 ! ?
~ ? _uid ? createUid :(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/Uid; ? ?
W ? 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; routing _routing
? ? ? H java/lang/AssertionError
$ java/lang/Object toString Y
values =com/groupbyinc/flux/common/google/common/collect/ImmutableMap of A()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap;
! clear# # $ & addAll (Ljava/util/Collection;)Z() =* add, ? =- 5com/groupbyinc/flux/common/google/common/collect/Maps/
newHashMap ()Ljava/util/HashMap;12
03 java/util/ArrayList5 (I)V !7
68 put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;:; < ?- Ljava/lang/Object; java/lang/ClassA desiredAssertionStatusC G
BD
_timestampF _ttlH _parentJ =com/groupbyinc/flux/common/google/common/collect/ImmutableSetL ?(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableSet;N
MO Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions LocalVariableTypeTable I()Ljava/util/Map;>;
SourceFile InnerClasses ! Q Q Q ! " R ] *? %*? '*? )Y? *? ,*? /? S 0 1 T H I J K L 2 3 R t **? ,+? ;? A ? ? E?*? ,? I ? ? L? ? O? S * 0 1 * P Q T P Q UU B V 5 R S R ~ ?*? U? +*? U? [? aM,? *,? d?*? h? l ? p M,? u ? _,? y ?
N+-? | ? ~? ?:? ???-? ? ? ?:6? ? ? !? ? ? ?? ? W???٧??? S H
^ ? d * ? ? N @ ? ? a - ? ? ? O ? ? ? 0 1 ? ? ? W a - ? ? ? O ? ? T > [ \ ] _ ` d ? e N f S g V i a j p k ? j ? m ? nU , ? r? )
?
?? ) ] r ? R b R ? ?*? h? l ? p M,? u ? ?,? y ?
N-? | ? ~:+? ?? ?:? G+? ?? ?:? u ? ,? y ? ?:? ?? ?? ?? ??
:? ???? ???-? ? ? ?:6? ? ? $? ?? ? ? ?? ? W???֧?S? S R \ ? ? ? - ? ? - ? 9 8 ? ? ? ? 0 ? ? " ? ? ? ? 0 1 ? ^ ? W ? 0 ? ? " ? ? ? T F q " r - s 8 t = v \ w o x s y v { y | ~ ~ ? ? ? ? ? ? ? ? ? ? ? ?U C ? r? 6 ? r
~ ? r /? ?
?? , ? r ? ? ? R ? ,?+? ;? ?? *? ?Y,? ˵ ͧ *+? ;? ?Y,? ж Ա S , 0 1 , P Q , ? ? T ? ? ? + ?U V 5 ? ? R ? -? ~Y,? ݷ ?N?+? ;? ?? *-? ? U? *+? ;-? Ա S * - 0 1 - P Q - ? ? ! ? 9 T ? ? ? # ? , ?U ? # ~V 5 ? ? R O
*+? ;? ? Ա S
0 1
P Q
? ? T
? ?V 5 ? ? R O
*+? ; ? ?? Ա S
0 1
P Q
? ? T
? ?V 5 ? ? R O
*+? ;$? ?? Ա S
0 1
P Q
? ? T
? ?V 5 R O
*+? ;(?? Ա S
0 1
P Q
? T
? ?V 5 R / *? Ͱ S 0 1 T ? R / *? U? S 0 1 T ?
Y R ? K*?? ?*?? ? ?L+? +? ? ??? +? ? ? ?Y??+? ? ?? S K 0 1 2 ? W 2 ? T ? ? ? ? &