com.groupbyinc.flux.common.apache.lucene.store.BufferedIndexInput.class Maven / Gradle / Ivy
???? 4 Acom/groupbyinc/flux/common/apache/lucene/store/BufferedIndexInput 9com/groupbyinc/flux/common/apache/lucene/store/IndexInput @com/groupbyinc/flux/common/apache/lucene/store/RandomAccessInput BufferedIndexInput.java Ccom/groupbyinc/flux/common/apache/lucene/store/BufferedIndexInput$1 Rcom/groupbyinc/flux/common/apache/lucene/store/BufferedIndexInput$SlicedIndexInput
SlicedIndexInput @com/groupbyinc/flux/common/apache/lucene/store/IOContext$Context
8com/groupbyinc/flux/common/apache/lucene/store/IOContext Context BUFFER_SIZE I MIN_BUFFER_SIZE MERGE_BUFFER_SIZE
bufferSize buffer [B bufferStart J bufferLength bufferPosition $assertionsDisabled Z readByte ()B java/io/IOException $ & ( refill ()V * +
, . this CLcom/groupbyinc/flux/common/apache/lucene/store/BufferedIndexInput; (Ljava/lang/String;)V (Ljava/lang/String;I)V 2 4
5 resourceDesc Ljava/lang/String; O(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/IOContext;)V =(Lcom/groupbyinc/flux/common/apache/lucene/store/IOContext;)I :
; context :Lcom/groupbyinc/flux/common/apache/lucene/store/IOContext; 2 3
? A C checkBufferSize (I)V E F
G
setBufferSize ! J java/lang/AssertionError L java/lang/StringBuilder N 2 +
O P buffer= R append -(Ljava/lang/String;)Ljava/lang/StringBuilder; T U
O V -(Ljava/lang/Object;)Ljava/lang/StringBuilder; T X
O Y bufferSize= [ (I)Ljava/lang/StringBuilder; T ]
O ^ buffer.length= ` toString ()Ljava/lang/String; b c
O d (Ljava/lang/Object;)V 2 f
M g java/lang/System j arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V l m
k n newBuffer ([B)V p q
r numToCopy leftInBuffer newSize
getBufferSize ()I "java/lang/IllegalArgumentException y 1bufferSize must be at least MIN_BUFFER_SIZE (got { ) }
z ? readBytes ([BII)V ([BIIZ)V ? ?
? b offset len java/io/EOFException ? read past EOF: ?
? ? length ()J ? ?
? readInternal ? ?
? after useBuffer available readShort ()S ? ?
? readInt ? x
? readLong ???? ? ?
? i1 i2 readVInt %Invalid vInt detected (too many bits) ?
% ? ? x
? B i readVLong 3Invalid vLong detected (negative values disallowed) ? ? ?
? (J)B seekInternal (J)V ? ?
? pos index (J)S (J)I (J)J start end newLength getFilePointer seek clone E()Lcom/groupbyinc/flux/common/apache/lucene/store/BufferedIndexInput; =()Lcom/groupbyinc/flux/common/apache/lucene/store/IndexInput; ? ?
? ? ?
? slice Q(Ljava/lang/String;JJ)Lcom/groupbyinc/flux/common/apache/lucene/store/IndexInput; wrap ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/store/IndexInput;JJ)Lcom/groupbyinc/flux/common/apache/lucene/store/BufferedIndexInput; ? ?
? sliceDescription flushBuffer @(Lcom/groupbyinc/flux/common/apache/lucene/store/IndexOutput;J)I :com/groupbyinc/flux/common/apache/lucene/store/IndexOutput ?
writeBytes ? ?
? ? out