public class org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery extends org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery
super_class: org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery
{
private final org.locationtech.spatial4j.shape.Shape bufferedQueryShape;
descriptor: Lorg/locationtech/spatial4j/shape/Shape;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.locationtech.spatial4j.shape.Shape, java.lang.String, org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree, int, int, double);
descriptor: (Lorg/locationtech/spatial4j/shape/Shape;Ljava/lang/String;Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;IID)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
aload 3
iload 4
iload 5
invokespecial org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.<init>:(Lorg/locationtech/spatial4j/shape/Shape;Ljava/lang/String;Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;II)V
1: aload 0
dload 6
ldc -1.0
dcmpl
ifne 2
aconst_null
goto 3
StackMap locals: org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery org.locationtech.spatial4j.shape.Shape java.lang.String org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree int int double
StackMap stack: org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery
2: aload 0
aload 1
dload 6
invokevirtual org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.bufferShape:(Lorg/locationtech/spatial4j/shape/Shape;D)Lorg/locationtech/spatial4j/shape/Shape;
StackMap locals: org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery org.locationtech.spatial4j.shape.Shape java.lang.String org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree int int double
StackMap stack: org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery org.locationtech.spatial4j.shape.Shape
3: putfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.bufferedQueryShape:Lorg/locationtech/spatial4j/shape/Shape;
4: return
end local 6 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 5 0 this Lorg/apache/lucene/spatial/prefix/WithinPrefixTreeQuery;
0 5 1 queryShape Lorg/locationtech/spatial4j/shape/Shape;
0 5 2 fieldName Ljava/lang/String;
0 5 3 grid Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
0 5 4 detailLevel I
0 5 5 prefixGridScanLevel I
0 5 6 queryBuffer D
MethodParameters:
Name Flags
queryShape
fieldName
grid
detailLevel
prefixGridScanLevel
queryBuffer
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.equals:(Ljava/lang/Object;)Z
ifne 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery
astore 2
start local 2 2: aload 0
getfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.bufferedQueryShape:Lorg/locationtech/spatial4j/shape/Shape;
ifnull 3
aload 0
getfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.bufferedQueryShape:Lorg/locationtech/spatial4j/shape/Shape;
aload 2
getfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.bufferedQueryShape:Lorg/locationtech/spatial4j/shape/Shape;
invokeinterface org.locationtech.spatial4j.shape.Shape.equals:(Ljava/lang/Object;)Z
ifne 5
goto 4
StackMap locals: org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery
StackMap stack:
3: aload 2
getfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.bufferedQueryShape:Lorg/locationtech/spatial4j/shape/Shape;
ifnull 5
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/spatial/prefix/WithinPrefixTreeQuery;
0 6 1 o Ljava/lang/Object;
2 6 2 that Lorg/apache/lucene/spatial/prefix/WithinPrefixTreeQuery;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.apache.lucene.spatial.prefix.AbstractVisitingPrefixTreeQuery.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.bufferedQueryShape:Lorg/locationtech/spatial4j/shape/Shape;
ifnull 2
aload 0
getfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.bufferedQueryShape:Lorg/locationtech/spatial4j/shape/Shape;
invokevirtual java.lang.Object.hashCode:()I
goto 3
StackMap locals: org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery int
StackMap stack: int
2: iconst_0
StackMap locals: org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery int
StackMap stack: int int
3: iadd
istore 1
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/prefix/WithinPrefixTreeQuery;
1 5 1 result I
public java.lang.String toString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 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;
1: ldc "fieldName="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.fieldName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "queryShape="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.queryShape:Lorg/locationtech/spatial4j/shape/Shape;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "detailLevel="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.detailLevel:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "prefixGridScanLevel="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.prefixGridScanLevel:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
5: ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/lucene/spatial/prefix/WithinPrefixTreeQuery;
0 7 1 field Ljava/lang/String;
MethodParameters:
Name Flags
field
protected org.locationtech.spatial4j.shape.Shape bufferShape(org.locationtech.spatial4j.shape.Shape, double);
descriptor: (Lorg/locationtech/spatial4j/shape/Shape;D)Lorg/locationtech/spatial4j/shape/Shape;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=14, args_size=3
start local 0 start local 1 start local 2 0: dload 2
dconst_0
dcmpg
ifgt 2
1: new java.lang.IllegalArgumentException
dup
ldc "distErr must be > 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getSpatialContext:()Lorg/locationtech/spatial4j/context/SpatialContext;
astore 4
start local 4 3: aload 1
instanceof org.locationtech.spatial4j.shape.Point
ifeq 5
4: aload 4
aload 1
checkcast org.locationtech.spatial4j.shape.Point
dload 2
invokevirtual org.locationtech.spatial4j.context.SpatialContext.makeCircle:(Lorg/locationtech/spatial4j/shape/Point;D)Lorg/locationtech/spatial4j/shape/Circle;
areturn
5: StackMap locals: org.locationtech.spatial4j.context.SpatialContext
StackMap stack:
aload 1
instanceof org.locationtech.spatial4j.shape.Circle
ifeq 11
6: aload 1
checkcast org.locationtech.spatial4j.shape.Circle
astore 5
start local 5 7: aload 5
invokeinterface org.locationtech.spatial4j.shape.Circle.getRadius:()D
dload 2
dadd
dstore 6
start local 6 8: aload 4
invokevirtual org.locationtech.spatial4j.context.SpatialContext.isGeo:()Z
ifeq 10
dload 6
ldc 180.0
dcmpl
ifle 10
9: ldc 180.0
dstore 6
10: StackMap locals: org.locationtech.spatial4j.shape.Circle double
StackMap stack:
aload 4
aload 5
invokeinterface org.locationtech.spatial4j.shape.Circle.getCenter:()Lorg/locationtech/spatial4j/shape/Point;
dload 6
invokevirtual org.locationtech.spatial4j.context.SpatialContext.makeCircle:(Lorg/locationtech/spatial4j/shape/Point;D)Lorg/locationtech/spatial4j/shape/Circle;
areturn
end local 6 end local 5 11: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.locationtech.spatial4j.shape.Shape.getBoundingBox:()Lorg/locationtech/spatial4j/shape/Rectangle;
astore 5
start local 5 12: aload 5
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
dload 2
dsub
dstore 6
start local 6 13: aload 5
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
dload 2
dadd
dstore 8
start local 8 14: aload 5
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinY:()D
dload 2
dsub
dstore 10
start local 10 15: aload 5
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxY:()D
dload 2
dadd
dstore 12
start local 12 16: aload 4
invokevirtual org.locationtech.spatial4j.context.SpatialContext.isGeo:()Z
ifeq 28
17: dload 10
ldc -90.0
dcmpg
ifge 19
18: ldc -90.0
dstore 10
19: StackMap locals: org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery org.locationtech.spatial4j.shape.Shape double org.locationtech.spatial4j.context.SpatialContext org.locationtech.spatial4j.shape.Rectangle double double double double
StackMap stack:
dload 12
ldc 90.0
dcmpl
ifle 21
20: ldc 90.0
dstore 12
21: StackMap locals:
StackMap stack:
dload 10
ldc -90.0
dcmpl
ifeq 22
dload 12
ldc 90.0
dcmpl
ifeq 22
aload 5
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getWidth:()D
ldc 2.0
dload 2
dmul
dadd
ldc 360.0
dcmpl
ifle 25
22: StackMap locals:
StackMap stack:
ldc -180.0
dstore 6
23: ldc 180.0
dstore 8
24: goto 32
25: StackMap locals:
StackMap stack:
dload 6
invokestatic org.locationtech.spatial4j.distance.DistanceUtils.normLonDEG:(D)D
dstore 6
26: dload 8
invokestatic org.locationtech.spatial4j.distance.DistanceUtils.normLonDEG:(D)D
dstore 8
27: goto 32
28: StackMap locals:
StackMap stack:
dload 6
aload 4
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getWorldBounds:()Lorg/locationtech/spatial4j/shape/Rectangle;
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinX:()D
invokestatic java.lang.Math.max:(DD)D
dstore 6
29: dload 8
aload 4
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getWorldBounds:()Lorg/locationtech/spatial4j/shape/Rectangle;
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxX:()D
invokestatic java.lang.Math.min:(DD)D
dstore 8
30: dload 10
aload 4
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getWorldBounds:()Lorg/locationtech/spatial4j/shape/Rectangle;
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMinY:()D
invokestatic java.lang.Math.max:(DD)D
dstore 10
31: dload 12
aload 4
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getWorldBounds:()Lorg/locationtech/spatial4j/shape/Rectangle;
invokeinterface org.locationtech.spatial4j.shape.Rectangle.getMaxY:()D
invokestatic java.lang.Math.min:(DD)D
dstore 12
32: StackMap locals:
StackMap stack:
aload 4
dload 6
dload 8
dload 10
dload 12
invokevirtual org.locationtech.spatial4j.context.SpatialContext.makeRectangle:(DDDD)Lorg/locationtech/spatial4j/shape/Rectangle;
areturn
end local 12 end local 10 end local 8 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lorg/apache/lucene/spatial/prefix/WithinPrefixTreeQuery;
0 33 1 shape Lorg/locationtech/spatial4j/shape/Shape;
0 33 2 distErr D
3 33 4 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
7 11 5 circle Lorg/locationtech/spatial4j/shape/Circle;
8 11 6 newDist D
12 33 5 bbox Lorg/locationtech/spatial4j/shape/Rectangle;
13 33 6 newMinX D
14 33 8 newMaxX D
15 33 10 newMinY D
16 33 12 newMaxY D
MethodParameters:
Name Flags
shape
distErr
protected org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/DocIdSet;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery$1
dup
aload 0
aload 0
aload 1
invokespecial org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery$1.<init>:(Lorg/apache/lucene/spatial/prefix/WithinPrefixTreeQuery;Lorg/apache/lucene/spatial/prefix/AbstractVisitingPrefixTreeQuery;Lorg/apache/lucene/index/LeafReaderContext;)V
1: invokevirtual org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery$1.getDocIdSet:()Lorg/apache/lucene/search/DocIdSet;
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/prefix/WithinPrefixTreeQuery;
0 3 1 context Lorg/apache/lucene/index/LeafReaderContext;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
}
SourceFile: "WithinPrefixTreeQuery.java"
NestMembers:
org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery$1
InnerClasses:
org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery$1