public abstract class org.apache.lucene.store.DataInput implements java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.store.DataInput
super_class: java.lang.Object
{
private static final int SKIP_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
private byte[] skipBuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/store/DataInput;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.store.DataInput.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/store/DataInput;
public abstract byte readByte();
descriptor: ()B
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void readBytes(byte[], int, int);
descriptor: ([BII)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
offset
len
public void readBytes(byte[], int, int, boolean);
descriptor: ([BIIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
iload 3
invokevirtual org.apache.lucene.store.DataInput.readBytes:([BII)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/store/DataInput;
0 2 1 b [B
0 2 2 offset I
0 2 3 len I
0 2 4 useBuffer Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
offset
len
useBuffer
public short readShort();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
sipush 255
iand
bipush 8
ishl
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
sipush 255
iand
ior
i2s
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/store/DataInput;
Exceptions:
throws java.io.IOException
public int readInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
sipush 255
iand
bipush 24
ishl
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
sipush 255
iand
bipush 16
ishl
ior
1: aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
sipush 255
iand
bipush 8
ishl
2: ior
3: aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
sipush 255
iand
4: ior
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/store/DataInput;
Exceptions:
throws java.io.IOException
public int readVInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 1
start local 1 1: iload 1
iflt 2
iload 1
ireturn
2: StackMap locals: int
StackMap stack:
iload 1
bipush 127
iand
istore 2
start local 2 3: aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 1
4: iload 2
iload 1
bipush 127
iand
bipush 7
ishl
ior
istore 2
5: iload 1
iflt 6
iload 2
ireturn
6: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 1
7: iload 2
iload 1
bipush 127
iand
bipush 14
ishl
ior
istore 2
8: iload 1
iflt 9
iload 2
ireturn
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 1
10: iload 2
iload 1
bipush 127
iand
bipush 21
ishl
ior
istore 2
11: iload 1
iflt 12
iload 2
ireturn
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 1
13: iload 2
iload 1
bipush 15
iand
bipush 28
ishl
ior
istore 2
14: iload 1
sipush 240
iand
ifne 15
iload 2
ireturn
15: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid vInt detected (too many bits)"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/lucene/store/DataInput;
1 16 1 b B
3 16 2 i I
Exceptions:
throws java.io.IOException
public int readZInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readVInt:()I
invokestatic org.apache.lucene.util.BitUtil.zigZagDecode:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/store/DataInput;
Exceptions:
throws java.io.IOException
public long readLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readInt:()I
i2l
bipush 32
lshl
aload 0
invokevirtual org.apache.lucene.store.DataInput.readInt:()I
i2l
ldc 4294967295
land
lor
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/store/DataInput;
Exceptions:
throws java.io.IOException
public long readVLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.lucene.store.DataInput.readVLong:(Z)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/store/DataInput;
Exceptions:
throws java.io.IOException
private long readVLong(boolean);
descriptor: (Z)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 2
start local 2 1: iload 2
iflt 2
iload 2
i2l
lreturn
2: StackMap locals: int
StackMap stack:
iload 2
i2l
ldc 127
land
lstore 3
start local 3 3: aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 2
4: lload 3
iload 2
i2l
ldc 127
land
bipush 7
lshl
lor
lstore 3
5: iload 2
iflt 6
lload 3
lreturn
6: StackMap locals: long
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 2
7: lload 3
iload 2
i2l
ldc 127
land
bipush 14
lshl
lor
lstore 3
8: iload 2
iflt 9
lload 3
lreturn
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 2
10: lload 3
iload 2
i2l
ldc 127
land
bipush 21
lshl
lor
lstore 3
11: iload 2
iflt 12
lload 3
lreturn
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 2
13: lload 3
iload 2
i2l
ldc 127
land
bipush 28
lshl
lor
lstore 3
14: iload 2
iflt 15
lload 3
lreturn
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 2
16: lload 3
iload 2
i2l
ldc 127
land
bipush 35
lshl
lor
lstore 3
17: iload 2
iflt 18
lload 3
lreturn
18: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 2
19: lload 3
iload 2
i2l
ldc 127
land
bipush 42
lshl
lor
lstore 3
20: iload 2
iflt 21
lload 3
lreturn
21: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 2
22: lload 3
iload 2
i2l
ldc 127
land
bipush 49
lshl
lor
lstore 3
23: iload 2
iflt 24
lload 3
lreturn
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 2
25: lload 3
iload 2
i2l
ldc 127
land
bipush 56
lshl
lor
lstore 3
26: iload 2
iflt 27
lload 3
lreturn
27: StackMap locals:
StackMap stack:
iload 1
ifeq 33
28: aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
istore 2
29: lload 3
iload 2
i2l
ldc 127
land
bipush 63
lshl
lor
lstore 3
30: iload 2
ifeq 31
iload 2
iconst_1
if_icmpne 32
StackMap locals:
StackMap stack:
31: lload 3
lreturn
32: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid vLong detected (more than 64 bits)"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
33: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid vLong detected (negative values disallowed)"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/apache/lucene/store/DataInput;
0 34 1 allowNegative Z
1 34 2 b B
3 34 3 i J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
allowNegative
public long readZLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.apache.lucene.store.DataInput.readVLong:(Z)J
invokestatic org.apache.lucene.util.BitUtil.zigZagDecode:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/store/DataInput;
Exceptions:
throws java.io.IOException
public java.lang.String readString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readVInt:()I
istore 1
start local 1 1: iload 1
newarray 8
astore 2
start local 2 2: aload 0
aload 2
iconst_0
iload 1
invokevirtual org.apache.lucene.store.DataInput.readBytes:([BII)V
3: new java.lang.String
dup
aload 2
iconst_0
iload 1
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BIILjava/nio/charset/Charset;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/store/DataInput;
1 4 1 length I
2 4 2 bytes [B
Exceptions:
throws java.io.IOException
public org.apache.lucene.store.DataInput clone();
descriptor: ()Lorg/apache/lucene/store/DataInput;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast org.apache.lucene.store.DataInput
1: areturn
2: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
pop
3: new java.lang.Error
dup
ldc "This cannot happen: Failing to clone DataInput"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/store/DataInput;
Exception table:
from to target type
0 1 2 Class java.lang.CloneNotSupportedException
public java.util.Map<java.lang.String, java.lang.String> readMapOfStrings();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readVInt:()I
istore 1
start local 1 1: iload 1
ifne 3
2: invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
areturn
3: StackMap locals: int
StackMap stack:
iload 1
iconst_1
if_icmpne 5
4: aload 0
invokevirtual org.apache.lucene.store.DataInput.readString:()Ljava/lang/String;
aload 0
invokevirtual org.apache.lucene.store.DataInput.readString:()Ljava/lang/String;
invokestatic java.util.Collections.singletonMap:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
areturn
5: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmple 6
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
goto 7
StackMap locals:
StackMap stack:
6: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
StackMap locals:
StackMap stack: java.util.AbstractMap
7: astore 2
start local 2 8: iconst_0
istore 3
start local 3 9: goto 14
10: StackMap locals: java.util.Map int
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readString:()Ljava/lang/String;
astore 4
start local 4 11: aload 0
invokevirtual org.apache.lucene.store.DataInput.readString:()Ljava/lang/String;
astore 5
start local 5 12: aload 2
aload 4
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 13: iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
iload 1
if_icmplt 10
end local 3 15: aload 2
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/lucene/store/DataInput;
1 16 1 count I
8 16 2 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
9 15 3 i I
11 13 4 key Ljava/lang/String;
12 13 5 val Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public java.util.Set<java.lang.String> readSetOfStrings();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readVInt:()I
istore 1
start local 1 1: iload 1
ifne 3
2: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
3: StackMap locals: int
StackMap stack:
iload 1
iconst_1
if_icmpne 5
4: aload 0
invokevirtual org.apache.lucene.store.DataInput.readString:()Ljava/lang/String;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
areturn
5: StackMap locals:
StackMap stack:
iload 1
bipush 10
if_icmple 6
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
goto 7
StackMap locals:
StackMap stack:
6: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
StackMap locals:
StackMap stack: java.util.AbstractSet
7: astore 2
start local 2 8: iconst_0
istore 3
start local 3 9: goto 12
10: StackMap locals: java.util.Set int
StackMap stack:
aload 2
aload 0
invokevirtual org.apache.lucene.store.DataInput.readString:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 1
if_icmplt 10
end local 3 13: aload 2
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/store/DataInput;
1 14 1 count I
8 14 2 set Ljava/util/Set<Ljava/lang/String;>;
9 13 3 i I
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public void skipBytes(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "numBytes must be >= 0, got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.store.DataInput.skipBuffer:[B
ifnonnull 4
3: aload 0
sipush 1024
newarray 8
putfield org.apache.lucene.store.DataInput.skipBuffer:[B
4: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.store.DataInput.$assertionsDisabled:Z
ifne 5
aload 0
getfield org.apache.lucene.store.DataInput.skipBuffer:[B
arraylength
sipush 1024
if_icmpeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
lconst_0
lstore 3
start local 3 6: goto 10
7: StackMap locals: long
StackMap stack:
ldc 1024
lload 1
lload 3
lsub
invokestatic java.lang.Math.min:(JJ)J
l2i
istore 5
start local 5 8: aload 0
aload 0
getfield org.apache.lucene.store.DataInput.skipBuffer:[B
iconst_0
iload 5
iconst_0
invokevirtual org.apache.lucene.store.DataInput.readBytes:([BIIZ)V
9: lload 3
iload 5
i2l
ladd
lstore 3
end local 5 10: StackMap locals:
StackMap stack:
lload 3
lload 1
lcmp
iflt 7
end local 3 11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/lucene/store/DataInput;
0 12 1 numBytes J
6 11 3 skipped J
8 10 5 step I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
numBytes final
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.lucene.store.DataInput.clone:()Lorg/apache/lucene/store/DataInput;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.CloneNotSupportedException
}
SourceFile: "DataInput.java"