public class org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy extends org.apache.lucene.spatial.prefix.PrefixTreeStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy
super_class: org.apache.lucene.spatial.prefix.PrefixTreeStrategy
{
protected int prefixGridScanLevel;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected boolean pruneLeafyBranches;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean multiOverlappingIndexedShapes;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
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/spatial/prefix/RecursivePrefixTreeStrategy;
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.spatial.prefix.RecursivePrefixTreeStrategy.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree, java.lang.String);
descriptor: (Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.apache.lucene.spatial.prefix.PrefixTreeStrategy.<init>:(Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;Ljava/lang/String;)V
1: aload 0
iconst_1
putfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.pruneLeafyBranches:Z
2: aload 0
iconst_1
putfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.multiOverlappingIndexedShapes:Z
3: aload 0
aload 1
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getMaxLevels:()I
iconst_4
isub
putfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.prefixGridScanLevel:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
0 5 1 grid Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
0 5 2 fieldName Ljava/lang/String;
MethodParameters:
Name Flags
grid
fieldName
public int getPrefixGridScanLevel();
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.prefix.RecursivePrefixTreeStrategy.prefixGridScanLevel:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
public void setPrefixGridScanLevel(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.prefixGridScanLevel:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
0 2 1 prefixGridScanLevel I
MethodParameters:
Name Flags
prefixGridScanLevel
public boolean isMultiOverlappingIndexedShapes();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.multiOverlappingIndexedShapes:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
public void setMultiOverlappingIndexedShapes(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.multiOverlappingIndexedShapes:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
0 2 1 multiOverlappingIndexedShapes Z
MethodParameters:
Name Flags
multiOverlappingIndexedShapes
public boolean isPruneLeafyBranches();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.pruneLeafyBranches:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
public void setPruneLeafyBranches(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.pruneLeafyBranches:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
0 2 1 pruneLeafyBranches Z
MethodParameters:
Name Flags
pruneLeafyBranches
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, 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;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
astore 1
start local 1 1: aload 1
ldc "SPG:("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.pointsOnly:Z
ifeq 4
3: aload 1
ldc ",pointsOnly"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.pruneLeafyBranches:Z
ifeq 6
5: aload 1
ldc ",pruneLeafyBranches"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.prefixGridScanLevel:I
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getMaxLevels:()I
iconst_4
isub
if_icmpeq 8
7: aload 1
ldc ",prefixGridScanLevel:"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.prefixGridScanLevel:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.multiOverlappingIndexedShapes:Z
ifne 10
9: aload 1
ldc ",!multiOverlappingIndexedShapes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
aload 1
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
1 11 1 str Ljava/lang/StringBuilder;
protected java.util.Iterator<org.apache.lucene.spatial.prefix.tree.Cell> createCellIteratorToIndex(org.locationtech.spatial4j.shape.Shape, int, java.util.Iterator<org.apache.lucene.spatial.prefix.tree.Cell>);
descriptor: (Lorg/locationtech/spatial4j/shape/Shape;ILjava/util/Iterator;)Ljava/util/Iterator;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.pruneLeafyBranches:Z
ifeq 1
aload 0
aload 1
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.isGridAlignedShape:(Lorg/locationtech/spatial4j/shape/Shape;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
aload 3
invokespecial org.apache.lucene.spatial.prefix.PrefixTreeStrategy.createCellIteratorToIndex:(Lorg/locationtech/spatial4j/shape/Shape;ILjava/util/Iterator;)Ljava/util/Iterator;
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
sipush 4096
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 3: aload 0
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getWorldCell:()Lorg/apache/lucene/spatial/prefix/tree/Cell;
aload 1
iload 2
aload 4
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.recursiveTraverseAndPrune:(Lorg/apache/lucene/spatial/prefix/tree/Cell;Lorg/locationtech/spatial4j/shape/Shape;ILjava/util/List;)Z
pop
4: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
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/RecursivePrefixTreeStrategy;
0 5 1 shape Lorg/locationtech/spatial4j/shape/Shape;
0 5 2 detailLevel I
0 5 3 reuse Ljava/util/Iterator<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;
3 5 4 cells Ljava/util/List<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;
Signature: (Lorg/locationtech/spatial4j/shape/Shape;ILjava/util/Iterator<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;)Ljava/util/Iterator<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;
MethodParameters:
Name Flags
shape
detailLevel
reuse
private boolean recursiveTraverseAndPrune(org.apache.lucene.spatial.prefix.tree.Cell, org.locationtech.spatial4j.shape.Shape, int, java.util.List<org.apache.lucene.spatial.prefix.tree.Cell>);
descriptor: (Lorg/apache/lucene/spatial/prefix/tree/Cell;Lorg/locationtech/spatial4j/shape/Shape;ILjava/util/List;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.getLevel:()I
iload 3
if_icmpne 2
1: aload 1
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.setLeaf:()V
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.isLeaf:()Z
ifeq 5
3: aload 4
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 1
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.getLevel:()I
ifeq 7
6: aload 4
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 8: aload 1
aload 2
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.getNextLevelCells:(Lorg/locationtech/spatial4j/shape/Shape;)Lorg/apache/lucene/spatial/prefix/tree/CellIterator;
astore 6
start local 6 9: goto 13
10: StackMap locals: int org.apache.lucene.spatial.prefix.tree.CellIterator
StackMap stack:
aload 6
invokevirtual org.apache.lucene.spatial.prefix.tree.CellIterator.next:()Lorg/apache/lucene/spatial/prefix/tree/Cell;
astore 7
start local 7 11: aload 0
aload 7
aload 2
iload 3
aload 4
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.recursiveTraverseAndPrune:(Lorg/apache/lucene/spatial/prefix/tree/Cell;Lorg/locationtech/spatial4j/shape/Shape;ILjava/util/List;)Z
ifeq 13
12: iinc 5 1
end local 7 13: StackMap locals:
StackMap stack:
aload 6
invokevirtual org.apache.lucene.spatial.prefix.tree.CellIterator.hasNext:()Z
ifne 10
14: aload 1
instanceof org.apache.lucene.spatial.prefix.tree.CellCanPrune
ifne 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
iload 5
aload 1
checkcast org.apache.lucene.spatial.prefix.tree.CellCanPrune
invokeinterface org.apache.lucene.spatial.prefix.tree.CellCanPrune.getSubCellsSize:()I
if_icmpne 22
aload 1
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.getLevel:()I
ifeq 22
17: StackMap locals:
StackMap stack:
aload 4
aload 4
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
18: iinc 5 -1
iload 5
19: ifgt 17
20: aload 1
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.setLeaf:()V
21: iconst_1
ireturn
22: StackMap locals:
StackMap stack:
iconst_0
ireturn
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 23 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
0 23 1 cell Lorg/apache/lucene/spatial/prefix/tree/Cell;
0 23 2 shape Lorg/locationtech/spatial4j/shape/Shape;
0 23 3 detailLevel I
0 23 4 result Ljava/util/List<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;
8 23 5 leaves I
9 23 6 subCells Lorg/apache/lucene/spatial/prefix/tree/CellIterator;
11 13 7 subCell Lorg/apache/lucene/spatial/prefix/tree/Cell;
Signature: (Lorg/apache/lucene/spatial/prefix/tree/Cell;Lorg/locationtech/spatial4j/shape/Shape;ILjava/util/List<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;)Z
MethodParameters:
Name Flags
cell
shape
detailLevel
result
public org.apache.lucene.search.Query makeQuery(org.apache.lucene.spatial.query.SpatialArgs);
descriptor: (Lorg/apache/lucene/spatial/query/SpatialArgs;)Lorg/apache/lucene/search/Query;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getOperation:()Lorg/apache/lucene/spatial/query/SpatialOperation;
astore 2
start local 2 1: aload 1
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getShape:()Lorg/locationtech/spatial4j/shape/Shape;
astore 3
start local 3 2: aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
aload 1
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.distErrPct:D
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.resolveDistErr:(Lorg/locationtech/spatial4j/context/SpatialContext;D)D
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getLevelForDistance:(D)I
istore 4
start local 4 3: aload 2
getstatic org.apache.lucene.spatial.query.SpatialOperation.Intersects:Lorg/apache/lucene/spatial/query/SpatialOperation;
if_acmpne 9
4: aload 0
aload 1
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getShape:()Lorg/locationtech/spatial4j/shape/Shape;
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.isGridAlignedShape:(Lorg/locationtech/spatial4j/shape/Shape;)Z
ifeq 6
5: aload 0
aload 1
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getShape:()Lorg/locationtech/spatial4j/shape/Shape;
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.makeGridShapeIntersectsQuery:(Lorg/locationtech/spatial4j/shape/Shape;)Lorg/apache/lucene/search/Query;
areturn
6: StackMap locals: org.apache.lucene.spatial.query.SpatialOperation org.locationtech.spatial4j.shape.Shape int
StackMap stack:
new org.apache.lucene.spatial.prefix.IntersectsPrefixTreeQuery
dup
7: aload 3
aload 0
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.getFieldName:()Ljava/lang/String;
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
iload 4
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.prefixGridScanLevel:I
8: invokespecial org.apache.lucene.spatial.prefix.IntersectsPrefixTreeQuery.<init>:(Lorg/locationtech/spatial4j/shape/Shape;Ljava/lang/String;Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;II)V
areturn
9: StackMap locals:
StackMap stack:
aload 2
getstatic org.apache.lucene.spatial.query.SpatialOperation.IsWithin:Lorg/apache/lucene/spatial/query/SpatialOperation;
if_acmpne 14
10: new org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery
dup
11: aload 3
aload 0
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.getFieldName:()Ljava/lang/String;
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
iload 4
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.prefixGridScanLevel:I
12: ldc -1.0
13: invokespecial org.apache.lucene.spatial.prefix.WithinPrefixTreeQuery.<init>:(Lorg/locationtech/spatial4j/shape/Shape;Ljava/lang/String;Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;IID)V
areturn
14: StackMap locals:
StackMap stack:
aload 2
getstatic org.apache.lucene.spatial.query.SpatialOperation.Contains:Lorg/apache/lucene/spatial/query/SpatialOperation;
if_acmpne 18
15: new org.apache.lucene.spatial.prefix.ContainsPrefixTreeQuery
dup
aload 3
aload 0
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.getFieldName:()Ljava/lang/String;
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
iload 4
16: aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.multiOverlappingIndexedShapes:Z
17: invokespecial org.apache.lucene.spatial.prefix.ContainsPrefixTreeQuery.<init>:(Lorg/locationtech/spatial4j/shape/Shape;Ljava/lang/String;Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;IZ)V
areturn
18: StackMap locals:
StackMap stack:
new org.apache.lucene.spatial.query.UnsupportedSpatialOperation
dup
aload 2
invokespecial org.apache.lucene.spatial.query.UnsupportedSpatialOperation.<init>:(Lorg/apache/lucene/spatial/query/SpatialOperation;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
0 19 1 args Lorg/apache/lucene/spatial/query/SpatialArgs;
1 19 2 op Lorg/apache/lucene/spatial/query/SpatialOperation;
2 19 3 shape Lorg/locationtech/spatial4j/shape/Shape;
3 19 4 detailLevel I
MethodParameters:
Name Flags
args
protected boolean isGridAlignedShape(org.locationtech.spatial4j.shape.Shape);
descriptor: (Lorg/locationtech/spatial4j/shape/Shape;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.isPointShape:(Lorg/locationtech/spatial4j/shape/Shape;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
0 1 1 shape Lorg/locationtech/spatial4j/shape/Shape;
MethodParameters:
Name Flags
shape
protected org.apache.lucene.search.Query makeGridShapeIntersectsQuery(org.locationtech.spatial4j.shape.Shape);
descriptor: (Lorg/locationtech/spatial4j/shape/Shape;)Lorg/apache/lucene/search/Query;
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.$assertionsDisabled:Z
ifne 1
aload 0
aload 1
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.isGridAlignedShape:(Lorg/locationtech/spatial4j/shape/Shape;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.isPointsOnly:()Z
ifeq 11
2: aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
aload 1
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getMaxLevels:()I
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getTreeCellIterator:(Lorg/locationtech/spatial4j/shape/Shape;I)Lorg/apache/lucene/spatial/prefix/tree/CellIterator;
astore 2
start local 2 3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.spatial.prefix.tree.Cell
astore 3
start local 3 4: goto 8
5: StackMap locals: java.util.Iterator org.apache.lucene.spatial.prefix.tree.Cell
StackMap stack:
aload 3
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.getLevel:()I
istore 4
start local 4 6: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.spatial.prefix.tree.Cell
astore 3
7: getstatic org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.$assertionsDisabled:Z
ifne 8
iload 4
aload 3
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.getLevel:()I
if_icmplt 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 4 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: getstatic org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.$assertionsDisabled:Z
ifne 10
aload 3
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.isLeaf:()Z
ifne 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
new org.apache.lucene.search.TermQuery
dup
new org.apache.lucene.index.Term
dup
aload 0
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.getFieldName:()Ljava/lang/String;
aload 3
aconst_null
invokeinterface org.apache.lucene.spatial.prefix.tree.Cell.getTokenBytesWithLeaf:(Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/util/BytesRef;
invokespecial org.apache.lucene.index.Term.<init>:(Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;)V
invokespecial org.apache.lucene.search.TermQuery.<init>:(Lorg/apache/lucene/index/Term;)V
areturn
end local 3 end local 2 11: StackMap locals:
StackMap stack:
new org.apache.lucene.spatial.prefix.IntersectsPrefixTreeQuery
dup
12: aload 1
aload 0
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.getFieldName:()Ljava/lang/String;
aload 0
getfield org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.grid:Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
aload 0
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.getGrid:()Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getMaxLevels:()I
aload 0
invokevirtual org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy.getGrid:()Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;
invokevirtual org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree.getMaxLevels:()I
iconst_1
iadd
13: invokespecial org.apache.lucene.spatial.prefix.IntersectsPrefixTreeQuery.<init>:(Lorg/locationtech/spatial4j/shape/Shape;Ljava/lang/String;Lorg/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;II)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/lucene/spatial/prefix/RecursivePrefixTreeStrategy;
0 14 1 gridShape Lorg/locationtech/spatial4j/shape/Shape;
3 11 2 cellIterator Ljava/util/Iterator<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;
4 11 3 cell Lorg/apache/lucene/spatial/prefix/tree/Cell;
6 8 4 prevLevel I
MethodParameters:
Name Flags
gridShape
}
SourceFile: "RecursivePrefixTreeStrategy.java"