final class org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate extends org.apache.lucene.index.DocValuesUpdate
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate
super_class: org.apache.lucene.index.DocValuesUpdate
{
private final org.apache.lucene.util.BytesRef value;
descriptor: Lorg/apache/lucene/util/BytesRef;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final long RAW_VALUE_SIZE_IN_BYTES;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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=2, locals=0, args_size=0
0: ldc Lorg/apache/lucene/index/DocValuesUpdate;
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.index.DocValuesUpdate$BinaryDocValuesUpdate.$assertionsDisabled:Z
3: getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_ARRAY_HEADER:I
bipush 8
iadd
getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_OBJECT_REF:I
iadd
i2l
putstatic org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.RAW_VALUE_SIZE_IN_BYTES:J
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.index.Term, java.lang.String, org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/index/Term;Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
getstatic org.apache.lucene.index.BufferedUpdates.MAX_INT:Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
invokespecial org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.<init>:(Lorg/apache/lucene/index/Term;Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;I)V
1: return
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/index/DocValuesUpdate$BinaryDocValuesUpdate;
0 2 1 term Lorg/apache/lucene/index/Term;
0 2 2 field Ljava/lang/String;
0 2 3 value Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
term
field
value
private void <init>(org.apache.lucene.index.Term, java.lang.String, org.apache.lucene.util.BytesRef, int);
descriptor: (Lorg/apache/lucene/index/Term;Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getstatic org.apache.lucene.index.DocValuesType.BINARY:Lorg/apache/lucene/index/DocValuesType;
aload 1
aload 2
iload 4
aload 3
ifnull 1
iconst_1
goto 2
StackMap locals: uninitialized-this org.apache.lucene.index.Term java.lang.String org.apache.lucene.util.BytesRef int
StackMap stack: uninitialized-this org.apache.lucene.index.DocValuesType org.apache.lucene.index.Term java.lang.String int
1: iconst_0
StackMap locals: uninitialized-this org.apache.lucene.index.Term java.lang.String org.apache.lucene.util.BytesRef int
StackMap stack: uninitialized-this org.apache.lucene.index.DocValuesType org.apache.lucene.index.Term java.lang.String int int
2: invokespecial org.apache.lucene.index.DocValuesUpdate.<init>:(Lorg/apache/lucene/index/DocValuesType;Lorg/apache/lucene/index/Term;Ljava/lang/String;IZ)V
3: aload 0
aload 3
putfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.value:Lorg/apache/lucene/util/BytesRef;
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;
0 5 1 term Lorg/apache/lucene/index/Term;
0 5 2 field Ljava/lang/String;
0 5 3 value Lorg/apache/lucene/util/BytesRef;
0 5 4 docIDUpTo I
MethodParameters:
Name Flags
term
field
value
docIDUpTo
org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate prepareForApply(int);
descriptor: (I)Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.docIDUpto:I
if_icmpne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate
dup
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.term:Lorg/apache/lucene/index/Term;
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.field:Ljava/lang/String;
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.value:Lorg/apache/lucene/util/BytesRef;
iload 1
invokespecial org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.<init>:(Lorg/apache/lucene/index/Term;Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;
0 3 1 docIDUpto I
MethodParameters:
Name Flags
docIDUpto
long valueSizeInBytes();
descriptor: ()J
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.RAW_VALUE_SIZE_IN_BYTES:J
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.value:Lorg/apache/lucene/util/BytesRef;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack: long
1: aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.value:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
arraylength
StackMap locals: org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate
StackMap stack: long int
2: i2l
ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;
protected java.lang.String valueToString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.value:Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.util.BytesRef.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;
org.apache.lucene.util.BytesRef getValue();
descriptor: ()Lorg/apache/lucene/util/BytesRef;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.hasValue:Z
ifne 1
new java.lang.AssertionError
dup
ldc "getValue should only be called if this update has a value"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.value:Lorg/apache/lucene/util/BytesRef;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;
void writeTo(org.apache.lucene.store.DataOutput);
descriptor: (Lorg/apache/lucene/store/DataOutput;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.hasValue:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.value:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.length:I
invokevirtual org.apache.lucene.store.DataOutput.writeVInt:(I)V
2: aload 1
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.value:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.value:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.offset:I
aload 0
getfield org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate.value:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.length:I
invokevirtual org.apache.lucene.store.DataOutput.writeBytes:([BII)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/DocValuesUpdate$BinaryDocValuesUpdate;
0 4 1 out Lorg/apache/lucene/store/DataOutput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
static org.apache.lucene.util.BytesRef readFrom(org.apache.lucene.store.DataInput, org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/store/DataInput;Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/util/BytesRef;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.apache.lucene.store.DataInput.readVInt:()I
putfield org.apache.lucene.util.BytesRef.length:I
1: aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
arraylength
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
if_icmpge 3
2: aload 1
aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
invokestatic org.apache.lucene.util.ArrayUtil.grow:([BI)[B
putfield org.apache.lucene.util.BytesRef.bytes:[B
3: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
iconst_0
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
invokevirtual org.apache.lucene.store.DataInput.readBytes:([BII)V
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 in Lorg/apache/lucene/store/DataInput;
0 5 1 scratch Lorg/apache/lucene/util/BytesRef;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
scratch
}
SourceFile: "DocValuesUpdate.java"
NestHost: org.apache.lucene.index.DocValuesUpdate
InnerClasses:
final BinaryDocValuesUpdate = org.apache.lucene.index.DocValuesUpdate$BinaryDocValuesUpdate of org.apache.lucene.index.DocValuesUpdate