public class org.apache.lucene.document.XYShape
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.document.XYShape
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/document/XYShape;
public static org.apache.lucene.document.Field[] createIndexableFields(java.lang.String, org.apache.lucene.geo.XYPolygon);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/geo/XYPolygon;)[Lorg/apache/lucene/document/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.lucene.geo.Tessellator.tessellate:(Lorg/apache/lucene/geo/XYPolygon;)Ljava/util/List;
astore 2
start local 2 1: new java.util.ArrayList
dup
aload 2
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 2: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: java.lang.String org.apache.lucene.geo.XYPolygon java.util.List java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.geo.Tessellator$Triangle
astore 4
start local 4 4: aload 3
new org.apache.lucene.document.ShapeField$Triangle
dup
aload 0
aload 4
invokespecial org.apache.lucene.document.ShapeField$Triangle.<init>:(Ljava/lang/String;Lorg/apache/lucene/geo/Tessellator$Triangle;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 3
aload 3
invokeinterface java.util.List.size:()I
anewarray org.apache.lucene.document.Field
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.apache.lucene.document.Field[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 fieldName Ljava/lang/String;
0 7 1 polygon Lorg/apache/lucene/geo/XYPolygon;
1 7 2 tessellation Ljava/util/List<Lorg/apache/lucene/geo/Tessellator$Triangle;>;
2 7 3 fields Ljava/util/List<Lorg/apache/lucene/document/ShapeField$Triangle;>;
4 5 4 t Lorg/apache/lucene/geo/Tessellator$Triangle;
MethodParameters:
Name Flags
fieldName
polygon
public static org.apache.lucene.document.Field[] createIndexableFields(java.lang.String, org.apache.lucene.geo.XYLine);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/geo/XYLine;)[Lorg/apache/lucene/document/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.lucene.geo.XYLine.numPoints:()I
istore 2
start local 2 1: iload 2
iconst_1
isub
anewarray org.apache.lucene.document.Field
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: iconst_1
istore 5
start local 5 4: goto 11
5: StackMap locals: java.lang.String org.apache.lucene.geo.XYLine int org.apache.lucene.document.Field[] int int
StackMap stack:
aload 3
iload 4
new org.apache.lucene.document.ShapeField$Triangle
dup
aload 0
6: aload 1
iload 4
invokevirtual org.apache.lucene.geo.XYLine.getX:(I)F
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
aload 1
iload 4
invokevirtual org.apache.lucene.geo.XYLine.getY:(I)F
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
7: aload 1
iload 5
invokevirtual org.apache.lucene.geo.XYLine.getX:(I)F
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
aload 1
iload 5
invokevirtual org.apache.lucene.geo.XYLine.getY:(I)F
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
8: aload 1
iload 4
invokevirtual org.apache.lucene.geo.XYLine.getX:(I)F
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
aload 1
iload 4
invokevirtual org.apache.lucene.geo.XYLine.getY:(I)F
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
invokespecial org.apache.lucene.document.ShapeField$Triangle.<init>:(Ljava/lang/String;IIIIII)V
9: aastore
10: iinc 4 1
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 2
if_icmplt 5
end local 5 end local 4 12: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 fieldName Ljava/lang/String;
0 13 1 line Lorg/apache/lucene/geo/XYLine;
1 13 2 numPoints I
2 13 3 fields [Lorg/apache/lucene/document/Field;
3 12 4 i I
4 12 5 j I
MethodParameters:
Name Flags
fieldName
line
public static org.apache.lucene.document.Field[] createIndexableFields(java.lang.String, float, float);
descriptor: (Ljava/lang/String;FF)[Lorg/apache/lucene/document/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
anewarray org.apache.lucene.document.Field
dup
iconst_0
new org.apache.lucene.document.ShapeField$Triangle
dup
aload 0
1: fload 1
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
fload 2
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
fload 1
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
fload 2
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
fload 1
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
fload 2
invokestatic org.apache.lucene.geo.XYEncodingUtils.encode:(F)I
2: invokespecial org.apache.lucene.document.ShapeField$Triangle.<init>:(Ljava/lang/String;IIIIII)V
aastore
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 fieldName Ljava/lang/String;
0 3 1 x F
0 3 2 y F
MethodParameters:
Name Flags
fieldName
x
y
public static org.apache.lucene.search.Query newBoxQuery(java.lang.String, org.apache.lucene.document.ShapeField$QueryRelation, float, float, float, float);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;FFFF)Lorg/apache/lucene/search/Query;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new org.apache.lucene.geo.XYRectangle
dup
fload 2
fload 3
fload 4
fload 5
invokespecial org.apache.lucene.geo.XYRectangle.<init>:(FFFF)V
astore 6
start local 6 1: aload 0
aload 1
iconst_1
anewarray org.apache.lucene.geo.XYGeometry
dup
iconst_0
aload 6
aastore
invokestatic org.apache.lucene.document.XYShape.newGeometryQuery:(Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[Lorg/apache/lucene/geo/XYGeometry;)Lorg/apache/lucene/search/Query;
areturn
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 2 0 field Ljava/lang/String;
0 2 1 queryRelation Lorg/apache/lucene/document/ShapeField$QueryRelation;
0 2 2 minX F
0 2 3 maxX F
0 2 4 minY F
0 2 5 maxY F
1 2 6 rectangle Lorg/apache/lucene/geo/XYRectangle;
MethodParameters:
Name Flags
field
queryRelation
minX
maxX
minY
maxY
public static org.apache.lucene.search.Query newLineQuery(java.lang.String, org.apache.lucene.document.ShapeField$QueryRelation, org.apache.lucene.geo.XYLine[]);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[Lorg/apache/lucene/geo/XYLine;)Lorg/apache/lucene/search/Query;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.apache.lucene.document.XYShape.newGeometryQuery:(Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[Lorg/apache/lucene/geo/XYGeometry;)Lorg/apache/lucene/search/Query;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 field Ljava/lang/String;
0 1 1 queryRelation Lorg/apache/lucene/document/ShapeField$QueryRelation;
0 1 2 lines [Lorg/apache/lucene/geo/XYLine;
MethodParameters:
Name Flags
field
queryRelation
lines
public static org.apache.lucene.search.Query newPolygonQuery(java.lang.String, org.apache.lucene.document.ShapeField$QueryRelation, org.apache.lucene.geo.XYPolygon[]);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[Lorg/apache/lucene/geo/XYPolygon;)Lorg/apache/lucene/search/Query;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.apache.lucene.document.XYShape.newGeometryQuery:(Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[Lorg/apache/lucene/geo/XYGeometry;)Lorg/apache/lucene/search/Query;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 field Ljava/lang/String;
0 1 1 queryRelation Lorg/apache/lucene/document/ShapeField$QueryRelation;
0 1 2 polygons [Lorg/apache/lucene/geo/XYPolygon;
MethodParameters:
Name Flags
field
queryRelation
polygons
public static org.apache.lucene.search.Query newPointQuery(java.lang.String, org.apache.lucene.document.ShapeField$QueryRelation, float[][]);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[[F)Lorg/apache/lucene/search/Query;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
anewarray org.apache.lucene.geo.XYPoint
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 5
3: StackMap locals: org.apache.lucene.geo.XYPoint[] int
StackMap stack:
aload 3
iload 4
new org.apache.lucene.geo.XYPoint
dup
aload 2
iload 4
aaload
iconst_0
faload
aload 2
iload 4
aaload
iconst_1
faload
invokespecial org.apache.lucene.geo.XYPoint.<init>:(FF)V
aastore
4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
aload 2
arraylength
if_icmplt 3
end local 4 6: aload 0
aload 1
aload 3
invokestatic org.apache.lucene.document.XYShape.newGeometryQuery:(Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[Lorg/apache/lucene/geo/XYGeometry;)Lorg/apache/lucene/search/Query;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 field Ljava/lang/String;
0 7 1 queryRelation Lorg/apache/lucene/document/ShapeField$QueryRelation;
0 7 2 points [[F
1 7 3 pointArray [Lorg/apache/lucene/geo/XYPoint;
2 6 4 i I
MethodParameters:
Name Flags
field
queryRelation
points
public static org.apache.lucene.search.Query newDistanceQuery(java.lang.String, org.apache.lucene.document.ShapeField$QueryRelation, org.apache.lucene.geo.XYCircle[]);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[Lorg/apache/lucene/geo/XYCircle;)Lorg/apache/lucene/search/Query;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic org.apache.lucene.document.XYShape.newGeometryQuery:(Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[Lorg/apache/lucene/geo/XYGeometry;)Lorg/apache/lucene/search/Query;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 field Ljava/lang/String;
0 1 1 queryRelation Lorg/apache/lucene/document/ShapeField$QueryRelation;
0 1 2 circle [Lorg/apache/lucene/geo/XYCircle;
MethodParameters:
Name Flags
field
queryRelation
circle
public static org.apache.lucene.search.Query newGeometryQuery(java.lang.String, org.apache.lucene.document.ShapeField$QueryRelation, org.apache.lucene.geo.XYGeometry[]);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[Lorg/apache/lucene/geo/XYGeometry;)Lorg/apache/lucene/search/Query;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic org.apache.lucene.document.ShapeField$QueryRelation.CONTAINS:Lorg/apache/lucene/document/ShapeField$QueryRelation;
if_acmpne 8
aload 2
arraylength
iconst_1
if_icmple 8
1: new org.apache.lucene.search.BooleanQuery$Builder
dup
invokespecial org.apache.lucene.search.BooleanQuery$Builder.<init>:()V
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: org.apache.lucene.search.BooleanQuery$Builder int
StackMap stack:
aload 3
aload 0
aload 1
iconst_1
anewarray org.apache.lucene.geo.XYGeometry
dup
iconst_0
aload 2
iload 4
aaload
aastore
invokestatic org.apache.lucene.document.XYShape.newGeometryQuery:(Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[Lorg/apache/lucene/geo/XYGeometry;)Lorg/apache/lucene/search/Query;
getstatic org.apache.lucene.search.BooleanClause$Occur.MUST:Lorg/apache/lucene/search/BooleanClause$Occur;
invokevirtual org.apache.lucene.search.BooleanQuery$Builder.add:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/search/BooleanClause$Occur;)Lorg/apache/lucene/search/BooleanQuery$Builder;
pop
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
aload 2
arraylength
if_icmplt 4
end local 4 7: aload 3
invokevirtual org.apache.lucene.search.BooleanQuery$Builder.build:()Lorg/apache/lucene/search/BooleanQuery;
areturn
end local 3 8: StackMap locals:
StackMap stack:
new org.apache.lucene.document.XYShapeQuery
dup
aload 0
aload 1
aload 2
invokespecial org.apache.lucene.document.XYShapeQuery.<init>:(Ljava/lang/String;Lorg/apache/lucene/document/ShapeField$QueryRelation;[Lorg/apache/lucene/geo/XYGeometry;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 field Ljava/lang/String;
0 9 1 queryRelation Lorg/apache/lucene/document/ShapeField$QueryRelation;
0 9 2 xyGeometries [Lorg/apache/lucene/geo/XYGeometry;
2 8 3 builder Lorg/apache/lucene/search/BooleanQuery$Builder;
3 7 4 i I
MethodParameters:
Name Flags
field
queryRelation
xyGeometries
}
SourceFile: "XYShape.java"
InnerClasses:
public final QueryRelation = org.apache.lucene.document.ShapeField$QueryRelation of org.apache.lucene.document.ShapeField
public Triangle = org.apache.lucene.document.ShapeField$Triangle of org.apache.lucene.document.ShapeField
public final Triangle = org.apache.lucene.geo.Tessellator$Triangle of org.apache.lucene.geo.Tessellator
public Occur = org.apache.lucene.search.BooleanClause$Occur of org.apache.lucene.search.BooleanClause
public Builder = org.apache.lucene.search.BooleanQuery$Builder of org.apache.lucene.search.BooleanQuery