
com.groupbyinc.flux.common.apache.lucene.index.SegmentInfos.class Maven / Gradle / Ivy
???? 3? ;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_40 I
VERSION_46
VERSION_48
VERSION_49
VERSION_50
VERSION_51
VERSION_53 VERSION_CURRENT counter version J
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 unsupportedCodecs $Ljava/util/List;
pendingCommit Z $assertionsDisabled ()V A B
C java/util/Collections E emptyMap ()Ljava/util/Map; G H
F I / 0 K java/util/ArrayList M
N C 2 3 P this =Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfos; info E(I)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo; java/util/List V get (I)Ljava/lang/Object; X Y W Z @com/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo \ i getLastCommitGeneration ([Ljava/lang/String;)J???????? [Ljava/lang/String; c 2 java/lang/String f
startsWith (Ljava/lang/String;)Z h i
g j segments.gen l equals (Ljava/lang/Object;)Z n o
g p generationFromSegmentsFileName (Ljava/lang/String;)J r s
t gen file Ljava/lang/String; arr$ len$ i$ 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; ? ?
? ? _ `
? 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; _ ~
? getSegmentsFileName ()Ljava/lang/String; . , ? length ()I ? ?
g ? substring (I)Ljava/lang/String; ? ?
g ? java/lang/Long ? parseLong (Ljava/lang/String;I)J ? ?
? ? "java/lang/IllegalArgumentException ? java/lang/StringBuilder ?
? C
fileName " ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? " is not a segments file ? toString ? ?
? ? (Ljava/lang/String;)V A ?
? ? fileName getNextPendingGeneration ()J - , ? getId ()[B 7 8 ? 8 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 ? 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; ? ?
? ? Acom/groupbyinc/flux/common/apache/lucene/store/ChecksumIndexInput ? readInt ? ?
? ???l Icom/groupbyinc/flux/common/apache/lucene/index/IndexFormatTooOldException ? @(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;III)V A ?
? ? 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; ? ?
? ? checkIndexHeaderSuffix `(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;Ljava/lang/String;)Ljava/lang/String; ? ?
? ?
C readVInt ? ?
? ? 5com/groupbyinc/flux/common/apache/lucene/util/Version ? fromBits <(III)Lcom/groupbyinc/flux/common/apache/lucene/util/Version; ? ?
? ? 9 : ? readLong ?
? + , * Dcom/groupbyinc/flux/common/apache/lucene/index/CorruptIndexException invalid segment count:
(I)Ljava/lang/StringBuilder; ?
?
O(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;)V A
; : LUCENE_4_0_0_ALPHA : ? onOrAfter :(Lcom/groupbyinc/flux/common/apache/lucene/util/Version;)Z
? 0this index contains a too-old segment (version: -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ?
? ) O(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;Ljava/lang/String;)V A"
?#
readString% ?
?& readByte ()B()
?* invalid hasID byte, got: , readCodec t(Lcom/groupbyinc/flux/common/apache/lucene/store/DataInput;Z)Lcom/groupbyinc/flux/common/apache/lucene/codecs/Codec;./
0 5com/groupbyinc/flux/common/apache/lucene/codecs/Codec2 segmentInfoFormat E()Lcom/groupbyinc/flux/common/apache/lucene/codecs/SegmentInfoFormat;45
36 Acom/groupbyinc/flux/common/apache/lucene/codecs/SegmentInfoFormat8 read ?(Lcom/groupbyinc/flux/common/apache/lucene/store/Directory;Ljava/lang/String;[BLcom/groupbyinc/flux/common/apache/lucene/store/IOContext;)Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfo;:;
9< :com/groupbyinc/flux/common/apache/lucene/index/SegmentInfo> setCodec :(Lcom/groupbyinc/flux/common/apache/lucene/codecs/Codec;)V@A
?B maxDocD ?
?E invalid deletion count: G vs maxDoc=I C(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentInfo;IJJJ)V AK
]L java/util/HashMapN (I)V AP
OQ valueOf (J)Ljava/lang/Long;ST
?U
readStringSet ()Ljava/util/Set;WX
?Y put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;[\ ] setGenUpdatesFiles (Ljava/util/Map;)V_`
]a readSetOfStringscX
?d setFieldInfosFiles (Ljava/util/Set;)Vfg
]h unmodifiableSet (Ljava/util/Set;)Ljava/util/Set;jk
Fl java/lang/Integern (I)Ljava/lang/Integer;Sp
oq unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;st
Fu setDocValuesUpdatesFilesw`
]x add E(Lcom/groupbyinc/flux/common/apache/lucene/index/SegmentCommitInfo;)Vz{
|
getVersion 9()Lcom/groupbyinc/flux/common/apache/lucene/util/Version;~
?? /segments file recorded minSegmentLuceneVersion=?
but segment=? has older version=? readMapOfStrings? H
?? readStringStringMap? H
?? checkFooter F(Lcom/groupbyinc/flux/common/apache/lucene/store/ChecksumIndexInput;)J??
?? getChecksum? ?
?? /checksum failed (hardware problem?) : expected=? toHexString (J)Ljava/lang/String;??
?? actual=? checkEOF >(Lcom/groupbyinc/flux/common/apache/lucene/store/IndexInput;)V??
?? :com/groupbyinc/flux/common/apache/lucene/index/IndexWriter? getActualMaxDocs? ?
?? +Too many documents: an index cannot exceed ? but readers have total maxDoc=? (J)Ljava/lang/StringBuilder; ??
?? close? B
??
addSuppressed (Ljava/lang/Throwable;)V??
?? segmentID hasID B genUpdatesFiles DLjava/util/Map;>; numGensUpdatesFiles
dvUpdateFiles GLjava/util/Map;>; map numDVFields segName codec 7Lcom/groupbyinc/flux/common/apache/lucene/codecs/Codec;