com.groupbyinc.flux.common.apache.lucene.index.ParallelLeafReader.class Maven / Gradle / Ivy
???? 4? Acom/groupbyinc/flux/common/apache/lucene/index/ParallelLeafReader 9com/groupbyinc/flux/common/apache/lucene/index/LeafReader ParallelLeafReader.java Pcom/groupbyinc/flux/common/apache/lucene/index/ParallelLeafReader$ParallelFields ParallelFields Acom/groupbyinc/flux/common/apache/lucene/index/FieldInfos$Builder 9com/groupbyinc/flux/common/apache/lucene/index/FieldInfos Builder Fcom/groupbyinc/flux/common/apache/lucene/index/IndexReader$CacheHelper :com/groupbyinc/flux/common/apache/lucene/index/IndexReader CacheHelper java/util/Map$Entry
java/util/Map Entry Fcom/groupbyinc/flux/common/apache/lucene/index/FieldInfos$FieldNumbers FieldNumbers %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
fieldInfos ;Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfos; parallelReaders <[Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; storedFieldsReaders completeReaderSet Ljava/util/Set; LLjava/util/Set; closeSubReaders Z maxDoc I numDocs hasDeletions metaData =Lcom/groupbyinc/flux/common/apache/lucene/index/LeafMetaData; tvFieldToReader Ljava/util/SortedMap; dLjava/util/SortedMap;
fieldToReader termsFieldToReader Ljava/util/Map; ^Ljava/util/Map; ?([Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)V java/io/IOException 9 @(Z[Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)V 7 ;
< this CLcom/groupbyinc/flux/common/apache/lucene/index/ParallelLeafReader; readers |(Z[Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;[Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)V 7 A
B ()V 7 D
E java/util/IdentityHashMap G
H E java/util/Collections J
newSetFromMap (Ljava/util/Map;)Ljava/util/Set; L M
K N % & P java/util/TreeMap R
S E 0 1 U 3 1 W java/util/HashMap Y
Z E 4 5 \ ( ) ^ "java/lang/IllegalArgumentException ` GThere must be at least one main reader if storedFieldsReaders are used. b (Ljava/lang/String;)V 7 d
a e # clone ()Ljava/lang/Object; h i
g j " # l $ # n ()I * p
q * + s , p
u , + w ()Z - y
z - ) | addAll ,(Ljava/util/Collection;[Ljava/lang/Object;)Z ~
K ?
java/util/Set ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ? y ? ? next ? i ? ? java/lang/StringBuilder ?
? E #All readers must have same maxDoc: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (I)Ljava/lang/StringBuilder; ? ?
? ? != ? toString ()Ljava/lang/String; ? ?
? ? stream ()Ljava/util/stream/Stream; ? ? ? ? "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; ? ?
? ? ? &(Ljava/lang/Object;)Ljava/lang/Object; ? lambda$new$0 O(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)Ljava/lang/String; ? ?
? ? ? apply ()Ljava/util/function/Function; ? ? ? java/util/stream/Stream ? map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream; ? ? ? ? (Ljava/lang/Object;)Z ? java/util/Objects ? nonNull ? ?
? ? ? (Ljava/lang/String;)Z ? test ()Ljava/util/function/Predicate; ? ? ? filter 9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream; ? ? ? ? findAny ()Ljava/util/Optional; ? ? ? ? java/util/Optional ? orElse ? ?
? ? java/lang/String ?
e K(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfos$FieldNumbers;)V 7 ?
? 4com/groupbyinc/flux/common/apache/lucene/search/Sort ? getMetaData ?()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafMetaData; ? ?
? ;com/groupbyinc/flux/common/apache/lucene/index/LeafMetaData ? getSort 8()Lcom/groupbyinc/flux/common/apache/lucene/search/Sort; ? ?
? ? equals ? ?
? ? Jcannot combine LeafReaders that have different index sorts: saw both sort= ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? and ? getCreatedVersionMajor ? p
? ? Scannot combine LeafReaders that have different creation versions: saw both version= ?
getFieldInfos =()Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfos; ? ?
?
? 8com/groupbyinc/flux/common/apache/lucene/index/FieldInfo name Ljava/lang/String; java/util/SortedMap containsKey ? getDocValuesGen ()J
add w(Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;J)Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo;
put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
hasVectors y
getIndexOptions ?()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions;
;com/groupbyinc/flux/common/apache/lucene/index/IndexOptions NONE =Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions; ! " 5com/groupbyinc/flux/common/apache/lucene/util/Version% LATEST 7Lcom/groupbyinc/flux/common/apache/lucene/util/Version;'( &) major+ + &,
getMinVersion 9()Lcom/groupbyinc/flux/common/apache/lucene/util/Version;./
?0 onOrAfter :(Lcom/groupbyinc/flux/common/apache/lucene/util/Version;)Z23
&4 finish6 ?
7 ! 9 q(ILcom/groupbyinc/flux/common/apache/lucene/util/Version;Lcom/groupbyinc/flux/common/apache/lucene/search/Sort;)V 7;
?< . / > incRef@ D
A registerParentReader ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)VCD
E first ;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; reader fieldInfo :Lcom/groupbyinc/flux/common/apache/lucene/index/FieldInfo; leafMetaData
leafIndexSort 6Lcom/groupbyinc/flux/common/apache/lucene/search/Sort; readerFieldInfos leafVersion softDeletesField builder CLcom/groupbyinc/flux/common/apache/lucene/index/FieldInfos$Builder; indexSort createdVersionMajor
minVersion ParallelLeafReader(W
? e , Z (C)Ljava/lang/StringBuilder; ?\
?] iter QLjava/util/Iterator; Ljava/util/Iterator; buffer Ljava/lang/StringBuilder; getLiveDocs 6()Lcom/groupbyinc/flux/common/apache/lucene/util/Bits;
ensureOpenf D
gde
i 2com/groupbyinc/flux/common/apache/lucene/util/Bitsk terms J(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/Terms; geto ? pmn
r 4com/groupbyinc/flux/common/apache/lucene/index/Termst field
leafReader document G(ILcom/groupbyinc/flux/common/apache/lucene/index/StoredFieldVisitor;)Vxy
z docID visitor CLcom/groupbyinc/flux/common/apache/lucene/index/StoredFieldVisitor; getCoreCacheHelper J()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader$CacheHelper;?
? getReaderCacheHelper??
? getTermVectors :(I)Lcom/groupbyinc/flux/common/apache/lucene/index/Fields; entrySet ()Ljava/util/Set;??? getKey? i ? getValue? i ?
getTermVector K(ILjava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;??
?
E addField K(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;)V??
? fieldName vector 6Lcom/groupbyinc/flux/common/apache/lucene/index/Terms; ent dLjava/util/Map$Entry; Ljava/util/Map$Entry; fields RLcom/groupbyinc/flux/common/apache/lucene/index/ParallelLeafReader$ParallelFields; doClose close? D
? decRef? D
? e Ljava/io/IOException; ioe getNumericDocValues U(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/NumericDocValues;p??
? ?com/groupbyinc/flux/common/apache/lucene/index/NumericDocValues? getBinaryDocValues T(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/BinaryDocValues;??
? >com/groupbyinc/flux/common/apache/lucene/index/BinaryDocValues? getSortedDocValues T(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/SortedDocValues;??
? >com/groupbyinc/flux/common/apache/lucene/index/SortedDocValues? getSortedNumericDocValues [(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/SortedNumericDocValues;??
? Ecom/groupbyinc/flux/common/apache/lucene/index/SortedNumericDocValues? getSortedSetDocValues W(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/SortedSetDocValues;??
? Acom/groupbyinc/flux/common/apache/lucene/index/SortedSetDocValues?
getNormValues??
? values ALcom/groupbyinc/flux/common/apache/lucene/index/NumericDocValues; getPointValues P(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/PointValues;??
? :com/groupbyinc/flux/common/apache/lucene/index/PointValues? checkIntegrity? D
? getParallelReaders >()[Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; getSoftDeletesField? ?
? r Signature Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable LocalVariableTypeTable BootstrapMethods
SourceFile InnerClasses ! ! " # $ # % &