public class org.apache.lucene.spatial.vector.DistanceValueSource extends org.apache.lucene.search.DoubleValuesSource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.vector.DistanceValueSource
super_class: org.apache.lucene.search.DoubleValuesSource
{
private org.apache.lucene.spatial.vector.PointVectorStrategy strategy;
descriptor: Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
flags: (0x0002) ACC_PRIVATE
private final org.locationtech.spatial4j.shape.Point from;
descriptor: Lorg/locationtech/spatial4j/shape/Point;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double multiplier;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double nullValue;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.apache.lucene.spatial.vector.PointVectorStrategy, org.locationtech.spatial4j.shape.Point, double);
descriptor: (Lorg/apache/lucene/spatial/vector/PointVectorStrategy;Lorg/locationtech/spatial4j/shape/Point;D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.apache.lucene.search.DoubleValuesSource.<init>:()V
1: aload 0
aload 1
putfield org.apache.lucene.spatial.vector.DistanceValueSource.strategy:Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
2: aload 0
aload 2
putfield org.apache.lucene.spatial.vector.DistanceValueSource.from:Lorg/locationtech/spatial4j/shape/Point;
3: aload 0
dload 3
putfield org.apache.lucene.spatial.vector.DistanceValueSource.multiplier:D
4: aload 0
ldc 180.0
dload 3
dmul
putfield org.apache.lucene.spatial.vector.DistanceValueSource.nullValue:D
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/spatial/vector/DistanceValueSource;
0 6 1 strategy Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
0 6 2 from Lorg/locationtech/spatial4j/shape/Point;
0 6 3 multiplier D
MethodParameters:
Name Flags
strategy
from
multiplier
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "DistanceValueSource("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource.strategy:Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource.from:Lorg/locationtech/spatial4j/shape/Point;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/vector/DistanceValueSource;
public org.apache.lucene.search.DoubleValues getValues(org.apache.lucene.index.LeafReaderContext, org.apache.lucene.search.DoubleValues);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;Lorg/apache/lucene/search/DoubleValues;)Lorg/apache/lucene/search/DoubleValues;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
astore 3
start local 3 1: aload 3
aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource.strategy:Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.getFieldNameX:()Ljava/lang/String;
invokestatic org.apache.lucene.index.DocValues.getNumeric:(Lorg/apache/lucene/index/LeafReader;Ljava/lang/String;)Lorg/apache/lucene/index/NumericDocValues;
astore 4
start local 4 2: aload 3
aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource.strategy:Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.getFieldNameY:()Ljava/lang/String;
invokestatic org.apache.lucene.index.DocValues.getNumeric:(Lorg/apache/lucene/index/LeafReader;Ljava/lang/String;)Lorg/apache/lucene/index/NumericDocValues;
astore 5
start local 5 3: new org.apache.lucene.spatial.vector.DistanceValueSource$1
dup
aload 0
aload 4
aload 5
invokespecial org.apache.lucene.spatial.vector.DistanceValueSource$1.<init>:(Lorg/apache/lucene/spatial/vector/DistanceValueSource;Lorg/apache/lucene/index/NumericDocValues;Lorg/apache/lucene/index/NumericDocValues;)V
4: aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource.nullValue:D
5: invokestatic org.apache.lucene.search.DoubleValues.withDefault:(Lorg/apache/lucene/search/DoubleValues;D)Lorg/apache/lucene/search/DoubleValues;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/spatial/vector/DistanceValueSource;
0 6 1 readerContext Lorg/apache/lucene/index/LeafReaderContext;
0 6 2 scores Lorg/apache/lucene/search/DoubleValues;
1 6 3 reader Lorg/apache/lucene/index/LeafReader;
2 6 4 ptX Lorg/apache/lucene/index/NumericDocValues;
3 6 5 ptY Lorg/apache/lucene/index/NumericDocValues;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
readerContext
scores
public boolean needsScores();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/vector/DistanceValueSource;
public boolean isCacheable(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_2
anewarray java.lang.String
dup
iconst_0
aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource.strategy:Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.getFieldNameX:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource.strategy:Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
invokevirtual org.apache.lucene.spatial.vector.PointVectorStrategy.getFieldNameY:()Ljava/lang/String;
aastore
invokestatic org.apache.lucene.index.DocValues.isCacheable:(Lorg/apache/lucene/index/LeafReaderContext;[Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/vector/DistanceValueSource;
0 1 1 ctx Lorg/apache/lucene/index/LeafReaderContext;
MethodParameters:
Name Flags
ctx
public org.apache.lucene.search.DoubleValuesSource rewrite(org.apache.lucene.search.IndexSearcher);
descriptor: (Lorg/apache/lucene/search/IndexSearcher;)Lorg/apache/lucene/search/DoubleValuesSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/vector/DistanceValueSource;
0 1 1 searcher Lorg/apache/lucene/search/IndexSearcher;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
searcher
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.lucene.spatial.vector.DistanceValueSource
astore 2
start local 2 4: aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource.from:Lorg/locationtech/spatial4j/shape/Point;
aload 2
getfield org.apache.lucene.spatial.vector.DistanceValueSource.from:Lorg/locationtech/spatial4j/shape/Point;
invokeinterface org.locationtech.spatial4j.shape.Point.equals:(Ljava/lang/Object;)Z
ifne 5
iconst_0
ireturn
5: StackMap locals: org.apache.lucene.spatial.vector.DistanceValueSource
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource.strategy:Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
aload 2
getfield org.apache.lucene.spatial.vector.DistanceValueSource.strategy:Lorg/apache/lucene/spatial/vector/PointVectorStrategy;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 6
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource.multiplier:D
aload 2
getfield org.apache.lucene.spatial.vector.DistanceValueSource.multiplier:D
dcmpl
ifeq 7
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/lucene/spatial/vector/DistanceValueSource;
0 8 1 o Ljava/lang/Object;
4 8 2 that Lorg/apache/lucene/spatial/vector/DistanceValueSource;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.vector.DistanceValueSource.from:Lorg/locationtech/spatial4j/shape/Point;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/vector/DistanceValueSource;
}
SourceFile: "DistanceValueSource.java"
NestMembers:
org.apache.lucene.spatial.vector.DistanceValueSource$1
InnerClasses:
org.apache.lucene.spatial.vector.DistanceValueSource$1