com.groupbyinc.flux.common.geo.GeoPoint.class Maven / Gradle / Ivy
???? 4 ? 'com/groupbyinc/flux/common/geo/GeoPoint java/lang/Object
GeoPoint.java lat D lon ()V
this )Lcom/groupbyinc/flux/common/geo/GeoPoint; (Ljava/lang/String;)V resetFromString =(Ljava/lang/String;)Lcom/groupbyinc/flux/common/geo/GeoPoint;
value Ljava/lang/String; (DD)V ,(Lcom/groupbyinc/flux/common/geo/GeoPoint;)V getLat ()D
getLon
!
# template reset -(DD)Lcom/groupbyinc/flux/common/geo/GeoPoint; resetLat ,(D)Lcom/groupbyinc/flux/common/geo/GeoPoint; resetLon java/lang/String + indexOf (I)I - .
, / substring (II)Ljava/lang/String; 1 2
, 3 trim ()Ljava/lang/String; 5 6
, 7 java/lang/Double 9 parseDouble (Ljava/lang/String;)D ; <
: = (I)Ljava/lang/String; 1 ?
, @ resetFromGeoHash B
C comma I resetFromIndexHash ,(J)Lcom/groupbyinc/flux/common/geo/GeoPoint; +com/groupbyinc/flux/common/geo/GeoHashUtils I decodeLongitude (J)D K L
J M decodeLatitude O L
J P hash J resetFromIndexableField j(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableField;)Lcom/groupbyinc/flux/common/geo/GeoPoint; =com/groupbyinc/flux/common/apache/lucene/document/LatLonPoint V =com/groupbyinc/flux/common/apache/lucene/index/IndexableField X binaryValue :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; Z [ Y \ 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef ^ bytes [B ` a _ b offset d F _ e length g F _ h java/util/Arrays j copyOfRange ([BII)[B l m
k n =com/groupbyinc/flux/common/apache/lucene/geo/GeoEncodingUtils p ([BI)D O r
q s K r
q u &