public class org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource 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.util.ShapeFieldCacheDistanceValueSource
super_class: org.apache.lucene.search.DoubleValuesSource
{
private final org.locationtech.spatial4j.context.SpatialContext ctx;
descriptor: Lorg/locationtech/spatial4j/context/SpatialContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.locationtech.spatial4j.shape.Point from;
descriptor: Lorg/locationtech/spatial4j/shape/Point;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.spatial.util.ShapeFieldCacheProvider<org.locationtech.spatial4j.shape.Point> provider;
descriptor: Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider<Lorg/locationtech/spatial4j/shape/Point;>;
private final double multiplier;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.locationtech.spatial4j.context.SpatialContext, org.apache.lucene.spatial.util.ShapeFieldCacheProvider<org.locationtech.spatial4j.shape.Point>, org.locationtech.spatial4j.shape.Point, );
descriptor: (Lorg/locationtech/spatial4j/context/SpatialContext;Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider;Lorg/locationtech/spatial4j/shape/Point;D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial org.apache.lucene.search.DoubleValuesSource.<init>:()V
1: aload 0
aload 1
putfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
2: aload 0
aload 3
putfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.from:Lorg/locationtech/spatial4j/shape/Point;
3: aload 0
aload 2
putfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.provider:Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider;
4: aload 0
dload 4
putfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.multiplier:D
5: return
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/util/ShapeFieldCacheDistanceValueSource;
0 6 1 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
0 6 2 provider Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider<Lorg/locationtech/spatial4j/shape/Point;>;
0 6 3 from Lorg/locationtech/spatial4j/shape/Point;
0 6 4 multiplier D
Signature: (Lorg/locationtech/spatial4j/context/SpatialContext;Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider<Lorg/locationtech/spatial4j/shape/Point;>;Lorg/locationtech/spatial4j/shape/Point;D)V
MethodParameters:
Name Flags
ctx
provider
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
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.provider:Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider;
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.util.ShapeFieldCacheDistanceValueSource.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/util/ShapeFieldCacheDistanceValueSource;
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=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual org.locationtech.spatial4j.context.SpatialContext.isGeo:()Z
ifeq 1
ldc 180.0
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.multiplier:D
dmul
goto 2
StackMap locals:
StackMap stack:
1: ldc 1.7976931348623157E308
StackMap locals:
StackMap stack: double
2: dstore 3
start local 3 3: new org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1
dup
aload 0
aload 1
invokespecial org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1.<init>:(Lorg/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource;Lorg/apache/lucene/index/LeafReaderContext;)V
4: dload 3
5: invokestatic org.apache.lucene.search.DoubleValues.withDefault:(Lorg/apache/lucene/search/DoubleValues;D)Lorg/apache/lucene/search/DoubleValues;
areturn
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/util/ShapeFieldCacheDistanceValueSource;
0 6 1 readerContext Lorg/apache/lucene/index/LeafReaderContext;
0 6 2 scores Lorg/apache/lucene/search/DoubleValues;
3 6 3 nullValue D
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/util/ShapeFieldCacheDistanceValueSource;
public boolean isCacheable(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource;
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/util/ShapeFieldCacheDistanceValueSource;
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.util.ShapeFieldCacheDistanceValueSource
astore 2
start local 2 4: aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
aload 2
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 5
iconst_0
ireturn
5: StackMap locals: org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.from:Lorg/locationtech/spatial4j/shape/Point;
aload 2
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.from:Lorg/locationtech/spatial4j/shape/Point;
invokeinterface org.locationtech.spatial4j.shape.Point.equals:(Ljava/lang/Object;)Z
ifne 6
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.provider:Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider;
aload 2
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.provider:Lorg/apache/lucene/spatial/util/ShapeFieldCacheProvider;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 7
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.multiplier:D
aload 2
getfield org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource.multiplier:D
dcmpl
ifeq 8
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource;
0 9 1 o Ljava/lang/Object;
4 9 2 that Lorg/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource;
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.util.ShapeFieldCacheDistanceValueSource.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/util/ShapeFieldCacheDistanceValueSource;
}
SourceFile: "ShapeFieldCacheDistanceValueSource.java"
NestMembers:
org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1
InnerClasses:
org.apache.lucene.spatial.util.ShapeFieldCacheDistanceValueSource$1