com.groupbyinc.flux.common.apache.lucene.document.LatLonPointDistanceQuery.class Maven / Gradle / Ivy
???? 4 ? Jcom/groupbyinc/flux/common/apache/lucene/document/LatLonPointDistanceQuery 5com/groupbyinc/flux/common/apache/lucene/search/Query LatLonPointDistanceQuery.java Lcom/groupbyinc/flux/common/apache/lucene/document/LatLonPointDistanceQuery$1 field Ljava/lang/String; latitude D longitude radiusMeters (Ljava/lang/String;DDD)V ()V
"java/lang/IllegalArgumentException field must not be null (Ljava/lang/String;)V
java/lang/String java/lang/Double isFinite (D)Z
java/lang/StringBuilder "
# radiusMeters: ' % append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ' (
# ) (D)Ljava/lang/StringBuilder; ' +
# , ' is invalid . toString ()Ljava/lang/String; 0 1
# 2 5com/groupbyinc/flux/common/apache/lucene/geo/GeoUtils 4
checkLatitude (D)V 6 7
5 8 checkLongitude : 7
5 ; =
? A
C this LLcom/groupbyinc/flux/common/apache/lucene/document/LatLonPointDistanceQuery; createWeight {(Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;ZF)Lcom/groupbyinc/flux/common/apache/lucene/search/Weight; java/io/IOException I 6com/groupbyinc/flux/common/apache/lucene/geo/Rectangle K fromPointDistance =(DDD)Lcom/groupbyinc/flux/common/apache/lucene/geo/Rectangle; M N
L O minLat Q L R =com/groupbyinc/flux/common/apache/lucene/geo/GeoEncodingUtils T encodeLatitude (D)I V W
U X :com/groupbyinc/flux/common/apache/lucene/util/NumericUtils Z intToSortableBytes (I[BI)V \ ]
[ ^ maxLat ` L a crossesDateline ()Z c d
L e? maxLon h L i encodeLongitude k W
U l minLon n L o =com/groupbyinc/flux/common/apache/lucene/search/IndexSearcher q [B s??? distanceQuerySortKey (D)D v w
5 x axisLat (DD)D z {
L | ?(Lcom/groupbyinc/flux/common/apache/lucene/document/LatLonPointDistanceQuery;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;F[B[B[B[B[BDD)V ~
searcher ?Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher; needsScores Z boost F box 8Lcom/groupbyinc/flux/common/apache/lucene/geo/Rectangle; minLon2 sortKey getField getLatitude ()D getLongitude getRadiusMeters hashCode ()I classHash ? ?
? ? ?
? doubleToLongBits (D)J ? ?
? prime I result temp J equals (Ljava/lang/Object;)Z sameClassAs ? ?
? java/lang/Object ? getClass ()Ljava/lang/Class; ? ?
? ? java/lang/Class ? cast &(Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? equalsTo O(Lcom/groupbyinc/flux/common/apache/lucene/document/LatLonPointDistanceQuery;)Z ? ?
? other Ljava/lang/Object; ? ?
? &(Ljava/lang/String;)Ljava/lang/String; (C)Ljava/lang/StringBuilder; ' ?
# ? , ? +/- ? meters ? sb Ljava/lang/StringBuilder; Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses 0
? ? b*? +?
? Y? ?? !?
?? $? Y? #Y? $&? *? -/? *? 3? ?(? 9? <*+? >*(? @*? B*? D? ? 4 b E F b b
b b
? 2 7 8 9 ; ! <