public class org.apache.lucene.spatial.serialized.SerializedDVStrategy extends org.apache.lucene.spatial.SpatialStrategy
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.serialized.SerializedDVStrategy
super_class: org.apache.lucene.spatial.SpatialStrategy
{
private volatile int indexLastBufSize;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>(org.locationtech.spatial4j.context.SpatialContext, java.lang.String);
descriptor: (Lorg/locationtech/spatial4j/context/SpatialContext;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.SpatialStrategy.<init>:(Lorg/locationtech/spatial4j/context/SpatialContext;Ljava/lang/String;)V
1: aload 0
sipush 8192
putfield org.apache.lucene.spatial.serialized.SerializedDVStrategy.indexLastBufSize:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/serialized/SerializedDVStrategy;
0 3 1 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
0 3 2 fieldName Ljava/lang/String;
MethodParameters:
Name Flags
ctx
fieldName
public org.apache.lucene.document.Field[] createIndexableFields(org.locationtech.spatial4j.shape.Shape);
descriptor: (Lorg/locationtech/spatial4j/shape/Shape;)[Lorg/apache/lucene/document/Field;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: sipush 128
aload 0
getfield org.apache.lucene.spatial.serialized.SerializedDVStrategy.indexLastBufSize:I
i2d
ldc 1.5
dmul
d2i
invokestatic java.lang.Math.max:(II)I
istore 2
start local 2 1: new java.io.ByteArrayOutputStream
dup
iload 2
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 3
start local 3 2: new org.apache.lucene.util.BytesRef
dup
invokespecial org.apache.lucene.util.BytesRef.<init>:()V
astore 4
start local 4 3: aload 0
getfield org.apache.lucene.spatial.serialized.SerializedDVStrategy.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getBinaryCodec:()Lorg/locationtech/spatial4j/io/BinaryCodec;
new java.io.DataOutputStream
dup
aload 3
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
aload 1
invokevirtual org.locationtech.spatial4j.io.BinaryCodec.writeShape:(Ljava/io/DataOutput;Lorg/locationtech/spatial4j/shape/Shape;)V
4: aload 3
new org.apache.lucene.spatial.serialized.SerializedDVStrategy$1
dup
aload 0
aconst_null
aload 4
invokespecial org.apache.lucene.spatial.serialized.SerializedDVStrategy$1.<init>:(Lorg/apache/lucene/spatial/serialized/SerializedDVStrategy;Ljava/io/OutputStream;Lorg/apache/lucene/util/BytesRef;)V
invokevirtual java.io.ByteArrayOutputStream.writeTo:(Ljava/io/OutputStream;)V
5: goto 8
StackMap locals: org.apache.lucene.spatial.serialized.SerializedDVStrategy org.locationtech.spatial4j.shape.Shape int java.io.ByteArrayOutputStream org.apache.lucene.util.BytesRef
StackMap stack: java.io.IOException
6: astore 5
start local 5 7: new java.lang.RuntimeException
dup
aload 5
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 5 8: StackMap locals:
StackMap stack:
aload 0
aload 4
getfield org.apache.lucene.util.BytesRef.length:I
putfield org.apache.lucene.spatial.serialized.SerializedDVStrategy.indexLastBufSize:I
9: iconst_1
anewarray org.apache.lucene.document.Field
dup
iconst_0
new org.apache.lucene.document.BinaryDocValuesField
dup
aload 0
invokevirtual org.apache.lucene.spatial.serialized.SerializedDVStrategy.getFieldName:()Ljava/lang/String;
aload 4
invokespecial org.apache.lucene.document.BinaryDocValuesField.<init>:(Ljava/lang/String;Lorg/apache/lucene/util/BytesRef;)V
aastore
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/spatial/serialized/SerializedDVStrategy;
0 10 1 shape Lorg/locationtech/spatial4j/shape/Shape;
1 10 2 bufSize I
2 10 3 byteStream Ljava/io/ByteArrayOutputStream;
3 10 4 bytesRef Lorg/apache/lucene/util/BytesRef;
7 8 5 e Ljava/io/IOException;
Exception table:
from to target type
3 5 6 Class java.io.IOException
MethodParameters:
Name Flags
shape
public org.apache.lucene.search.DoubleValuesSource makeDistanceValueSource(org.locationtech.spatial4j.shape.Point, double);
descriptor: (Lorg/locationtech/spatial4j/shape/Point;D)Lorg/apache/lucene/search/DoubleValuesSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.lucene.spatial.util.DistanceToShapeValueSource
dup
aload 0
invokevirtual org.apache.lucene.spatial.serialized.SerializedDVStrategy.makeShapeValueSource:()Lorg/apache/lucene/spatial/ShapeValuesSource;
aload 1
dload 2
aload 0
getfield org.apache.lucene.spatial.serialized.SerializedDVStrategy.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokespecial org.apache.lucene.spatial.util.DistanceToShapeValueSource.<init>:(Lorg/apache/lucene/spatial/ShapeValuesSource;Lorg/locationtech/spatial4j/shape/Point;DLorg/locationtech/spatial4j/context/SpatialContext;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/serialized/SerializedDVStrategy;
0 1 1 queryPoint Lorg/locationtech/spatial4j/shape/Point;
0 1 2 multiplier D
MethodParameters:
Name Flags
queryPoint
multiplier
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=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.lucene.spatial.serialized.SerializedDVStrategy.makeShapeValueSource:()Lorg/apache/lucene/spatial/ShapeValuesSource;
astore 2
start local 2 1: new org.apache.lucene.spatial.util.ShapeValuesPredicate
dup
aload 2
aload 1
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getOperation:()Lorg/apache/lucene/spatial/query/SpatialOperation;
aload 1
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getShape:()Lorg/locationtech/spatial4j/shape/Shape;
invokespecial org.apache.lucene.spatial.util.ShapeValuesPredicate.<init>:(Lorg/apache/lucene/spatial/ShapeValuesSource;Lorg/apache/lucene/spatial/query/SpatialOperation;Lorg/locationtech/spatial4j/shape/Shape;)V
astore 3
start local 3 2: new org.apache.lucene.spatial.serialized.SerializedDVStrategy$PredicateValueSourceQuery
dup
aload 3
invokespecial org.apache.lucene.spatial.serialized.SerializedDVStrategy$PredicateValueSourceQuery.<init>:(Lorg/apache/lucene/spatial/util/ShapeValuesPredicate;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/serialized/SerializedDVStrategy;
0 3 1 args Lorg/apache/lucene/spatial/query/SpatialArgs;
1 3 2 shapeValueSource Lorg/apache/lucene/spatial/ShapeValuesSource;
2 3 3 predicateValueSource Lorg/apache/lucene/spatial/util/ShapeValuesPredicate;
MethodParameters:
Name Flags
args
public org.apache.lucene.spatial.ShapeValuesSource makeShapeValueSource();
descriptor: ()Lorg/apache/lucene/spatial/ShapeValuesSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.apache.lucene.spatial.serialized.SerializedDVStrategy$ShapeDocValueSource
dup
aload 0
invokevirtual org.apache.lucene.spatial.serialized.SerializedDVStrategy.getFieldName:()Ljava/lang/String;
aload 0
getfield org.apache.lucene.spatial.serialized.SerializedDVStrategy.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getBinaryCodec:()Lorg/locationtech/spatial4j/io/BinaryCodec;
invokespecial org.apache.lucene.spatial.serialized.SerializedDVStrategy$ShapeDocValueSource.<init>:(Ljava/lang/String;Lorg/locationtech/spatial4j/io/BinaryCodec;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/serialized/SerializedDVStrategy;
}
SourceFile: "SerializedDVStrategy.java"
NestMembers:
org.apache.lucene.spatial.serialized.SerializedDVStrategy$1 org.apache.lucene.spatial.serialized.SerializedDVStrategy$PredicateValueSourceQuery org.apache.lucene.spatial.serialized.SerializedDVStrategy$PredicateValueSourceQuery$1 org.apache.lucene.spatial.serialized.SerializedDVStrategy$ShapeDocValueSource org.apache.lucene.spatial.serialized.SerializedDVStrategy$ShapeDocValueSource$1
InnerClasses:
org.apache.lucene.spatial.serialized.SerializedDVStrategy$1
PredicateValueSourceQuery = org.apache.lucene.spatial.serialized.SerializedDVStrategy$PredicateValueSourceQuery of org.apache.lucene.spatial.serialized.SerializedDVStrategy
ShapeDocValueSource = org.apache.lucene.spatial.serialized.SerializedDVStrategy$ShapeDocValueSource of org.apache.lucene.spatial.serialized.SerializedDVStrategy