
com.groupbyinc.flux.index.fielddata.ScriptDocValues$GeoPoints.class Maven / Gradle / Ivy
???? 3 ? =com/groupbyinc/flux/index/fielddata/ScriptDocValues$GeoPoints ?Ljava/util/AbstractList;Lcom/groupbyinc/flux/index/fielddata/ScriptDocValues; java/util/AbstractList 3com/groupbyinc/flux/index/fielddata/ScriptDocValues ScriptDocValues.java GeoPoints values 9Lcom/groupbyinc/flux/index/fielddata/MultiGeoPointValues; <(Lcom/groupbyinc/flux/index/fielddata/MultiGeoPointValues;)V ()V
this ?Lcom/groupbyinc/flux/index/fielddata/ScriptDocValues$GeoPoints; setNextDocId (I)V 7com/groupbyinc/flux/index/fielddata/MultiGeoPointValues setDocument
docId I getValue +()Lcom/groupbyinc/flux/common/geo/GeoPoint; count ()I !
" valueAt ,(I)Lcom/groupbyinc/flux/common/geo/GeoPoint; $ %
& numValues getLat ()D
+ 'com/groupbyinc/flux/common/geo/GeoPoint - lat / *
. 0 getLats ()[D getValues ()Ljava/util/List; 4 5
6 java/util/List 8 size : ! 9 ; [D = get (I)Ljava/lang/Object; ? @ 9 A i points ;Ljava/util/List; Ljava/util/List; lats getLons lon I *
. J lons getLon java/util/Collections N unmodifiableList "(Ljava/util/List;)Ljava/util/List; P Q
O R (DD)V T
. U index point )Lcom/groupbyinc/flux/common/geo/GeoPoint; factorDistance (DD)D *com/groupbyinc/flux/common/geo/GeoDistance \ FACTOR ,Lcom/groupbyinc/flux/common/geo/GeoDistance; ^ _ ] ` ,com/groupbyinc/flux/common/unit/DistanceUnit b DEFAULT .Lcom/groupbyinc/flux/common/unit/DistanceUnit; d e c f calculate 5(DDDDLcom/groupbyinc/flux/common/unit/DistanceUnit;)D h i
] j D factorDistanceWithDefault (DDD)D isEmpty ()Z o p
q defaultValue factorDistance02 factorDistance13@ arcDistance ARC y _ ] z arcDistanceWithDefault arcDistanceInKm
KILOMETERS ~ e c arcDistanceInKmWithDefault arcDistanceInMiles MILES ? e c ? arcDistanceInMilesWithDefault distance PLANE ? _ ] ? distanceWithDefault distanceInKm distanceInKmWithDefault distanceInMiles distanceInMilesWithDefault geohashDistance (Ljava/lang/String;)D
. resetFromGeoHash =(Ljava/lang/String;)Lcom/groupbyinc/flux/common/geo/GeoPoint; ? ?
. ? geohash Ljava/lang/String; p geohashDistanceInKm geohashDistanceInMiles ? %
? Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature =()Ljava/util/List;
SourceFile InnerClasses !
? F
*? *+? ? ?
? ? ? ? ? A *? ? ? ? ?
? ? ? c *? ? #<? ?*? ? '? ? ( ? ? ? ? ? ? ? ) * ? 2 *? ,? 1? ? ? ? 2 3 ? ? 2*? 7L+? < ?M>+? < ? ,+? B ? .? 1R????,? ? * C 2 - D F $ G = ? - D E ? ? ? ? ? * ? 0 ? ? ? 9 >? H 3 ? ? 2*? 7L+? < ?M>+? < ? ,+? B ? .? KR????,? ? * C 2 - D F $ L = ? - D E ? ? ? ? ? * ? 0 ? ? ? 9 >? M * ? 2 *? ,? K? ? ? ? 4 5 ? / *? S? ? ? ? ? ? ? % ? [ *? ? 'M? .Y,? 1,? K? V? ? W X Y ?
? ? : ! ? 2 *? ? #? ? ? ? Z [ ? h
*? ,:? a? 1? K')? g? k? ? * / l I l X Y ?
m n ? ?
&*? r? ?*? ,:? a? 1? K')? g? k? ? 4 &