com.groupbyinc.flux.index.fielddata.ScriptDocValues$GeoPoints.class Maven / Gradle / Ivy
???? 4 ? =com/groupbyinc/flux/index/fielddata/ScriptDocValues$GeoPoints `Lcom/groupbyinc/flux/index/fielddata/ScriptDocValues; 3com/groupbyinc/flux/index/fielddata/ScriptDocValues ScriptDocValues.java GeoPoints in 9Lcom/groupbyinc/flux/index/fielddata/MultiGeoPointValues; values *[Lcom/groupbyinc/flux/common/geo/GeoPoint; count I <(Lcom/groupbyinc/flux/index/fielddata/MultiGeoPointValues;)V ()V
'com/groupbyinc/flux/common/geo/GeoPoint
this ?Lcom/groupbyinc/flux/index/fielddata/ScriptDocValues$GeoPoints; setNextDocId (I)V java/io/IOException 7com/groupbyinc/flux/index/fielddata/MultiGeoPointValues advanceExact (I)Z ! "
#
docValueCount ()I % &
' resize )
*
, nextValue +()Lcom/groupbyinc/flux/common/geo/GeoPoint; . /
0 lat ()D 2 3
4 lon 6 3
7 (DD)V 9
: point )Lcom/groupbyinc/flux/common/geo/GeoPoint; i docId 7com/groupbyinc/flux/common/apache/lucene/util/ArrayUtil @ grow )([Ljava/lang/Object;I)[Ljava/lang/Object; B C
A D
oldLength newSize getValue getLat J /
L getLats ()[D getValues ()Ljava/util/List; P Q
R java/util/List T size V & U W [D Y get (I)Ljava/lang/Object; [ \ U ] points ;Ljava/util/List; Ljava/util/List; lats getLons lons getLon ,(I)Lcom/groupbyinc/flux/common/geo/GeoPoint; index arcDistance (DD)D 'com/groupbyinc/flux/common/geo/GeoUtils j (DDDD)D h l
k m D arcDistanceWithDefault (DDD)D isEmpty ()Z r s
t h i
v defaultValue
planeDistance y l
k z planeDistanceWithDefault y i
} geohashDistance (Ljava/lang/String;)D +com/groupbyinc/flux/common/geo/GeoHashUtils ? decodeLatitude ? ?
? ? decodeLongitude ? ?
? ? geohash Ljava/lang/String; geohashDistanceWithDefault (Ljava/lang/String;D)D ?
? [ f
? Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions LocalVariableTypeTable Signature
SourceFile InnerClasses 1
? R *? *? ? *+? ? ? ? R O S T ? ? L*? ? $? >**? ? (? +=*? -? &*? ? 1N*? ? Y-? 5-? 8? ;S???ا *? +? ? * ( <