com.groupbyinc.flux.common.apache.lucene.index.SegmentInfos.class Maven / Gradle / Ivy
???? 4? ;com/groupbyinc/flux/common/apache/lucene/index/SegmentInfos Ljava/lang/Object;Ljava/lang/Cloneable;Ljava/lang/Iterable; java/lang/Object java/lang/Cloneable java/lang/Iterable SegmentInfos.java Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos$FindSegmentsFile FindSegmentsFile =com/groupbyinc/flux/common/apache/lucene/index/SegmentInfos$1 java/util/Map$Entry
java/util/Map Entry Ccom/groupbyinc/flux/common/apache/lucene/index/MergePolicy$OneMerge :com/groupbyinc/flux/common/apache/lucene/index/MergePolicy OneMerge
VERSION_53 I
VERSION_70
VERSION_72
VERSION_74 VERSION_CURRENT counter J version
generation lastGeneration userData Ljava/util/Map; 5Ljava/util/Map; segments Ljava/util/List; TLjava/util/List;
infoStream Ljava/io/PrintStream; id [B
luceneVersion 7Lcom/groupbyinc/flux/common/apache/lucene/util/Version; minSegmentLuceneVersion indexCreatedVersionMajor
pendingCommit Z $assertionsDisabled (I)V ()V : <
= java/util/Collections ? emptyMap ()Ljava/util/Map; A B
@ C ) * E java/util/ArrayList G
H = , - J 5com/groupbyinc/flux/common/apache/lucene/util/Version L LATEST N 4 M O major Q M R "java/lang/IllegalArgumentException T java/lang/StringBuilder V
W = +indexCreatedVersionMajor is in the future: Y append -(Ljava/lang/String;)Ljava/lang/StringBuilder; [ \
W ] (I)Ljava/lang/StringBuilder; [ _
W ` toString ()Ljava/lang/String; b c
W d (Ljava/lang/String;)V : f
U g ,indexCreatedVersionMajor must be >= 6, got: i 6 k this =Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos; info E(I)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo; java/util/List q get (I)Ljava/lang/Object; s t r u @com/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo w i getLastCommitGeneration ([Ljava/lang/String;)J???????? [Ljava/lang/String; ~ , java/lang/String ?
startsWith (Ljava/lang/String;)Z ? ?
? ? segments.gen ? equals (Ljava/lang/Object;)Z ? ?
? ? generationFromSegmentsFileName (Ljava/lang/String;)J ? ?
? gen file Ljava/lang/String; files max =(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)J java/io/IOException ? 8com/groupbyinc/flux/common/apache/lucene/store/Directory ? listAll ()[Ljava/lang/String; ? ?
? ? z {
? directory :Lcom/groupbyinc/flux/common/apache/lucene/store/Directory; getLastCommitSegmentsFileName '([Ljava/lang/String;)Ljava/lang/String; ? =com/groupbyinc/flux/common/apache/lucene/index/IndexFileNames ? fileNameFromGeneration 9(Ljava/lang/String;Ljava/lang/String;J)Ljava/lang/String; ? ?
? ? N(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;)Ljava/lang/String; z ?
? getSegmentsFileName ( % ? length ()I ? ?
? ? substring (I)Ljava/lang/String; ? ?
? ? java/lang/Long ? parseLong (Ljava/lang/String;I)J ? ?
? ?
fileName " ? " is not a segments file ? fileName getNextPendingGeneration ()J ' % ? getId ()[B 1 2 ? 2 clone ()Ljava/lang/Object; ? ?
? ?
readCommit ?(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos; java/lang/Throwable ? java/io/EOFException ? !java/nio/file/NoSuchFileException ? java/io/FileNotFoundException ? 8com/groupbyinc/flux/common/apache/lucene/store/IOContext ? READ :Lcom/groupbyinc/flux/common/apache/lucene/store/IOContext; ? ? ? ? openChecksumInput ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/IOContext;)Lcom/groupbyinc/flux/common/apache/lucene/store/ChecksumIndexInput; ? ?
? ? ?(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Lcom/groupbyinc/flux/common/apache/lucene/store/ChecksumIndexInput;J)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos; ? ?
? Acom/groupbyinc/flux/common/apache/lucene/store/ChecksumIndexInput ? close ? <
? ?
addSuppressed (Ljava/lang/Throwable;)V ? ?
? ? Dcom/groupbyinc/flux/common/apache/lucene/index/CorruptIndexException ? /Unexpected file read error while reading index. ? d(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;Ljava/lang/Throwable;)V : ?
? ? e Ljava/io/IOException; input CLcom/groupbyinc/flux/common/apache/lucene/store/ChecksumIndexInput; segmentFileName readInt ? ?
? ??l Icom/groupbyinc/flux/common/apache/lucene/index/IndexFormatTooOldException @(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;III)V :
9com/groupbyinc/flux/common/apache/lucene/codecs/CodecUtil checkHeaderNoMagic Q(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;Ljava/lang/String;II)I
readBytes ([BII)V
? (JI)Ljava/lang/String; b
? checkIndexHeaderSuffix `(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;Ljava/lang/String;)Ljava/lang/String;
readVInt ?
? fromBits <(III)Lcom/groupbyinc/flux/common/apache/lucene/util/Version;
M LUCENE_6_0_0 4 M! onOrAfter :(Lcom/groupbyinc/flux/common/apache/lucene/util/Version;)Z#$
M% this index is too old (version: ' -(Ljava/lang/Object;)Ljava/lang/StringBuilder; [)
W* ), O(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;Ljava/lang/String;)V :.
/ : ;
1 3 4 3 readLong5 ?
?6 &