All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.index.query.GeoPolygonQueryBuilder.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?6com/groupbyinc/flux/index/query/GeoPolygonQueryBuilderpLcom/groupbyinc/flux/index/query/AbstractQueryBuilder;4com/groupbyinc/flux/index/query/AbstractQueryBuilderGeoPolygonQueryBuilder.java5com/groupbyinc/flux/common/xcontent/ToXContent$Params.com/groupbyinc/flux/common/xcontent/ToXContent	Params8com/groupbyinc/flux/common/xcontent/XContentParser$Token2com/groupbyinc/flux/common/xcontent/XContentParserTokenFcom/groupbyinc/flux/index/mapper/GeoPointFieldMapper$GeoPointFieldType4com/groupbyinc/flux/index/mapper/GeoPointFieldMapperGeoPointFieldTypeNAMELjava/lang/String;geo_polygonDEFAULT_IGNORE_UNMAPPEDZVALIDATION_METHOD'Lcom/groupbyinc/flux/common/ParseField;POINTS_FIELDIGNORE_UNMAPPED_FIELD	fieldNameshellLjava/util/List;;Ljava/util/List;validationMethod5Lcom/groupbyinc/flux/index/query/GeoValidationMethod;ignoreUnmapped%(Ljava/lang/String;Ljava/util/List;)V()V(*
+3com/groupbyinc/flux/index/query/GeoValidationMethod-DEFAULT/&	.0%&	2'	4"com/groupbyinc/flux/common/Strings6isEmpty(Ljava/lang/CharSequence;)Z89
7:"java/lang/IllegalArgumentException<fieldName must not be null>(Ljava/lang/String;)V(@
=Ajava/lang/StringCjava/util/ListE()Z8GFH!polygon must not be null or emptyJget(I)Ljava/lang/Object;LMFN'com/groupbyinc/flux/common/geo/GeoPointPsize()IRSFTequals(Ljava/lang/Object;)ZVW
QX,too few points defined for geo_polygon queryZ!	\java/util/ArrayList^(Ljava/util/Collection;)V(`
_a"#	caddeWFfstart)Lcom/groupbyinc/flux/common/geo/GeoPoint;this8Lcom/groupbyinc/flux/index/query/GeoPolygonQueryBuilder;points5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOExceptionn(m
p0com/groupbyinc/flux/common/io/stream/StreamInputr
readString()Ljava/lang/String;tu
svreadVIntxS
sy(I)V({
_|readGeoPoint+()Lcom/groupbyinc/flux/common/geo/GeoPoint;~
s?readFromStreami(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/query/GeoValidationMethod;??
.?readBoolean?G
s?iIin2Lcom/groupbyinc/flux/common/io/stream/StreamInput;	doWriteTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V1com/groupbyinc/flux/common/io/stream/StreamOutput?writeString?@
??	writeVInt?{
??iterator()Ljava/util/Iterator;??F?java/util/Iterator?hasNext?G??next()Ljava/lang/Object;????
writeGeoPoint,(Lcom/groupbyinc/flux/common/geo/GeoPoint;)V??
??writeTo??
.?writeBoolean(Z)V??
??pointout3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;()Ljava/util/List;setValidationMethodo(Lcom/groupbyinc/flux/index/query/GeoValidationMethod;)Lcom/groupbyinc/flux/index/query/GeoPolygonQueryBuilder;methodgetValidationMethod7()Lcom/groupbyinc/flux/index/query/GeoValidationMethod;;(Z)Lcom/groupbyinc/flux/index/query/GeoPolygonQueryBuilder;	doToQueryl(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;1com/groupbyinc/flux/index/query/QueryShardContext?fieldMapperF(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType;??
??@com/groupbyinc/flux/common/apache/lucene/search/MatchNoDocsQuery?
?+0com/groupbyinc/flux/index/mapper/MappedFieldType?3com/groupbyinc/flux/index/query/QueryShardException?java/lang/StringBuilder?
?+ failed to find geo_point field [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??]?toString?u
??java/lang/Object?[(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/lang/String;[Ljava/lang/Object;)V(?
??field [?] is not a geo_point field?(?
Q?isIgnoreMalformed8(Lcom/groupbyinc/flux/index/query/GeoValidationMethod;)Z??
.?lat()D??
Q?'com/groupbyinc/flux/common/geo/GeoUtils?isValidLatitude(D)Z??
??$illegal latitude value [{}] for [{}]?java/lang/Double?valueOf(D)Ljava/lang/Double;??
??lon??
Q?isValidLongitude??
??%illegal longitude value [{}] for [{}]?isCoerce??
.normalizePoint.(Lcom/groupbyinc/flux/common/geo/GeoPoint;ZZ)V
?[Dnameu
?	4com/groupbyinc/flux/common/apache/lucene/geo/Polygon>([D[D[Lcom/groupbyinc/flux/common/apache/lucene/geo/Polygon;)V(
=com/groupbyinc/flux/common/apache/lucene/document/LatLonPointnewPolygonQuery?(Ljava/lang/String;[Lcom/groupbyinc/flux/common/apache/lucene/geo/Polygon;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;
geoPointpcontext3Lcom/groupbyinc/flux/index/query/QueryShardContext;	fieldType2Lcom/groupbyinc/flux/index/mapper/MappedFieldType;	shellSizelatslons
doXContento(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V3com/groupbyinc/flux/common/xcontent/XContentBuilder!startObjectI(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;#$
"%	'%com/groupbyinc/flux/common/ParseField)getPreferredName+u
*,
startArray.$
"/7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;.1
"2value8(D)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;45
"6endArray81
"9	endObject;1
"<	>field[(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;@A
"B 	DJ(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;@F
"GprintBoostAndQueryName8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)VIJ
Kbuilder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;fromXContentn(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/GeoPolygonQueryBuilder;java/lang/FloatS	nextToken<()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;UVW
END_OBJECT:Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;YZ	
[
FIELD_NAME]Z	
^currentName`uaSTART_OBJECTcZ	
dSTART_ARRAYfZ	
ggetDeprecationHandler:()Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;ijkmatchM(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;)Zmn
*o
_+	END_ARRAYrZ	
s
parseGeoPoint_(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/common/geo/GeoPoint;uv
?w+com/groupbyinc/flux/common/ParsingExceptionygetTokenLocation8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation;{|}&[geo_polygon] query does not support [^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V(?
z?1[geo_polygon] query does not support token type [?

		] under [?isValue?G

?_name?
DXtext?u?boost?
floatValue()F???(F)Ljava/lang/Float;??
T?booleanValue?G?
fromStringI(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/GeoValidationMethod;??
.?%[geo_polygon] unexpected token type [?()
???
?	queryNameJ(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;??
?
T?9(F)Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;??
?'?
?parser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/Float;currentFieldNametokendoEquals;(Lcom/groupbyinc/flux/index/query/GeoPolygonQueryBuilder;)Zjava/util/Objects?'(Ljava/lang/Object;Ljava/lang/Object;)ZV?
??java/lang/Boolean?(Z)Ljava/lang/Boolean;??
??other
doHashCodehash([Ljava/lang/Object;)I??
??getWriteableName9(Lcom/groupbyinc/flux/index/query/AbstractQueryBuilder;)Z??
?validation_method?((Ljava/lang/String;[Ljava/lang/String;)V(?
*?lignore_unmapped?
ConstantValue	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTableP(Ljava/lang/String;Ljava/util/List;)V
Exceptions=()Ljava/util/List;
SourceFileInnerClasses!	?? !"#?$%&'()???*?,*?1?3*?5+?;?
?=Y??B?,?,?I?
?=YK?B?,?O?QN-,,?Ud?O?Y?,?U?!?=Y[?B?,?U?
?=Y[?B?*+?]*?_Y,?b?d*?d*?d?Ud?O?Q*?d?O?Y?*?d*?d?O?Q?gW??*C=hi?jk?!?l#??l$?J?;=@A!C.D8FCGXHbIlLvM?Q?R?S?T?V? ?!DF	?3Q??N??(m??V*+?q*?1?3*?5*+?w?]+?z=*?_Y?}?d>?*?d+???gW????*+???3*+???5??*,??VjkV??8R??2\;=]^_*`1a?`EcMdUe??,s??o????K+*?]??+*?d?U??*?d??M,???,???QN+-?????*?3+??+*?5???? 2?iKjkK???"ijk2l7m:nBoJp?????o!u?/*?]??jk?sl??/*?d??jk?w??????*+?3*??jk?&?
|}???/*?3??jk??'???*?5*??jk'?
??'G?/*?5??jk?????E		?+*?]??M,?:*?5???Y?ð??Y+??Y??̶?*?]??Ҷж??׷ڿ,??+??Y+??Y??ܶ?*?]??޶ж??׷ڿ?_Y*?d?U?}N*?d??:???"???Q:-?QY??gW???-?U6*?3??x-??:???f???Q:???"??Y+???Y???SYS?ڿ?????"??Y+???Y????SYS?ڿ???*?3??+-??:??????Q:?????:?:6?*-?O?Q:??R??R????,?
?Y?Y??S???z?i?T?ig?i?i?.???jk?	??H"#??wU}O??H"$?~?	?
???D?K?s???????????????????<???I?g?n?q?w?}????????????Q
??'.?F??(????Q?)?????	??F?-?o ??+?&W+*?]?&W+?(?-?0W*?d??N-???)-???Q:+?3???7??7?:W???+?:W+?=W+???-*?3?CW+?E?-*?5?HW*+?L+?=W??*9?i?jk?MN?OP?6
????9?Q?T?Y?^?m?|???????%??.?o	QR??
LMN:::6*?XY:?\???_?*?b:????e??L*?XY:?\????_?*?b:????h?e?(*?l?p?(?_Y?qM*?XY:?t???,*?x?gW???zY*?~??Y???????Ҷж??׷???zY*?~??Y??????????????Ҷж??׷??????????*??:???????*????N??ڲE*?l?p?*??6?????*?l?p?*????:????zY*?~??Y???????Ҷж??׷???zY*?~??Y?????????Ҷж??׷???Y+,??:	?	??W?	??W-?
	-????W	??W	??f
??
!"#	??	%&????Z?'?3Mk	?"$??+????	????!?)?4?<???N?V?a?i?z?????????
#.;	L
Whv????????!"?T?	DFT.DD?!	DFT.DD

! +9+.?
?o????D*?3+?3???7*?]+?]???)*?d+?d???*?5??+?5?¸?????DjkD?k?'($).*C'??B@?S?Q'??Y*?3SY*?]SY*?dSY*?5??S?Ȭ?'jk?/?u?-??jk?4D???3	*+??̬?	jk?,?*?T4?*Y??D?ҳ??*Y??D?ҳ(?*Y??D?ҳE??34"5???
	
D		




© 2015 - 2024 Weber Informatics LLC | Privacy Policy