
com.groupbyinc.flux.index.query.GeohashCellQuery$Builder.class Maven / Gradle / Ivy
???? 3 ~ 8com/groupbyinc/flux/index/query/GeohashCellQuery$Builder ,com/groupbyinc/flux/index/query/QueryBuilder GeohashCellQuery.java 0com/groupbyinc/flux/index/query/GeohashCellQuery Builder 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params field Ljava/lang/String; geohash levels I neighbors Z (Ljava/lang/String;)V ((Ljava/lang/String;Ljava/lang/String;Z)V
this :Lcom/groupbyinc/flux/index/query/GeohashCellQuery$Builder; >(Ljava/lang/String;Lcom/groupbyinc/flux/common/geo/GeoPoint;)V 'com/groupbyinc/flux/common/geo/GeoPoint ()Ljava/lang/String;
point )Lcom/groupbyinc/flux/common/geo/GeoPoint; '(Ljava/lang/String;Ljava/lang/String;)V ()V %
& ( * , . e(Lcom/groupbyinc/flux/common/geo/GeoPoint;)Lcom/groupbyinc/flux/index/query/GeohashCellQuery$Builder;
getGeohash 1
2 >(DD)Lcom/groupbyinc/flux/index/query/GeohashCellQuery$Builder; Bcom/groupbyinc/flux/common/apache/lucene/spatial/util/GeoHashUtils 5 stringEncode (DD)Ljava/lang/String; 7 8
6 9 lat D lon N(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/GeohashCellQuery$Builder; precision =(I)Lcom/groupbyinc/flux/index/query/GeohashCellQuery$Builder; ,com/groupbyinc/flux/common/unit/DistanceUnit A DEFAULT .Lcom/groupbyinc/flux/common/unit/DistanceUnit; C D B E METERS G D B H parse q(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/DistanceUnit;Lcom/groupbyinc/flux/common/unit/DistanceUnit;)D J K
B L 'com/groupbyinc/flux/common/geo/GeoUtils N geoHashLevelsForPrecision (D)I P Q
O R ? @
T meters =(Z)Lcom/groupbyinc/flux/index/query/GeohashCellQuery$Builder;
doXContent o(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V java/io/IOException Z geohash_cell \ 3com/groupbyinc/flux/common/xcontent/XContentBuilder ^ startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ` a
_ b J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; e
_ f ? J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; i
_ j [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; l
_ m endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; o p
_ q builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses ! w @ *+? ? x y
h i w M *+,? !? ? x " # y
l
m $ w J *+,? ? x y
p q w u *? '*? )*+? +*,? -*? /? x * y t c u v w x " 0 w B
*+? 3? -*? x
" # y
{ | " 4 w M *)'? :? -*? x ; <