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

com.groupbyinc.flux.index.mapper.GeoShapeFieldMapper.class Maven / Gradle / Ivy

????4?4com/groupbyinc/flux/index/mapper/GeoShapeFieldMapper,com/groupbyinc/flux/index/mapper/FieldMapperGeoShapeFieldMapper.javaFcom/groupbyinc/flux/index/mapper/GeoShapeFieldMapper$GeoShapeFieldTypeGeoShapeFieldType?com/groupbyinc/flux/index/mapper/GeoShapeFieldMapper$TypeParser	
TypeParser;ignoreMalformedignoreZValueS(Ljava/lang/String;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/common/Explicit;Lcom/groupbyinc/flux/common/Explicit;Lcom/groupbyinc/flux/common/Explicit;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;)V
FIELD_TYPE2Lcom/groupbyinc/flux/index/mapper/MappedFieldType;9:	;(Ljava/lang/String;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;)V7=
>23	@53	B63	Dthis6Lcom/groupbyinc/flux/index/mapper/GeoShapeFieldMapper;
simpleName	fieldType
indexSettings.Lcom/groupbyinc/flux/common/settings/Settings;multiFields:Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;copyTo5Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;J()Lcom/groupbyinc/flux/index/mapper/GeoShapeFieldMapper$GeoShapeFieldType;4()Lcom/groupbyinc/flux/index/mapper/MappedFieldType;IQ
RparseZ(Lcom/groupbyinc/flux/index/mapper/ParseContext;)Lcom/groupbyinc/flux/index/mapper/Mapper;java/io/IOExceptionVjava/lang/ExceptionX&org/locationtech/spatial4j/shape/ShapeZparseExternalValue%(Ljava/lang/Class;)Ljava/lang/Object;\]
'^parser6()Lcom/groupbyinc/flux/common/xcontent/XContentParser;`a
'b2com/groupbyinc/flux/common/geo/parsers/ShapeParserd?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/index/mapper/GeoShapeFieldMapper;)Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder;Tfegbuild*()Lorg/locationtech/spatial4j/shape/Shape;ij
,kIP
m
pointsOnly()Zop
q/com/groupbyinc/flux/common/geo/XShapeCollectionsjava/lang/Classucast&(Ljava/lang/Object;)Ljava/lang/Object;wx
vy
tq	getShapes()Ljava/util/List;|}
t~java/util/List?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext?p??next()Ljava/lang/Object;????
indexShapeZ(Lcom/groupbyinc/flux/index/mapper/ParseContext;Lorg/locationtech/spatial4j/shape/Shape;)V??
?&org/locationtech/spatial4j/shape/Point?7com/groupbyinc/flux/index/mapper/MapperParsingException?java/lang/StringBuilder?()V7?
??[{?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??name()Ljava/lang/String;??
?'}] is configured for points only but a ?0org/locationtech/spatial4j/shape/jts/JtsGeometry?getGeom&()Lorg/locationtech/jts/geom/Geometry;??
??"org/locationtech/jts/geom/Geometry?getGeometryType??
??java/lang/Object?getClass()Ljava/lang/Class;??
??java/io/Serializable?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??
 was found?toString??
??(Ljava/lang/String;)V7?
??#com/groupbyinc/flux/common/Explicit?value??
??java/lang/Boolean?booleanValue?p
??failed to parse [?]?*(Ljava/lang/String;Ljava/lang/Throwable;)V7?
??I:	?0com/groupbyinc/flux/index/mapper/MappedFieldType?
??addIgnoredField??
'?shapeBuilder6Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder;s(Lorg/locationtech/spatial4j/shape/Shape;shapes:Ljava/util/List;Ljava/util/List;shapeeLjava/lang/Exception;context/Lcom/groupbyinc/flux/index/mapper/ParseContext;java/util/ArrayList?defaultStrategyN()Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeStrategy;??
?Jcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeStrategy?createIndexableFieldsd(Lorg/locationtech/spatial4j/shape/Shape;)[Lcom/groupbyinc/flux/common/apache/lucene/document/Field;??
??java/util/Arrays?asList%([Ljava/lang/Object;)Ljava/util/List;??
??(Ljava/util/Collection;)V7?
??createFieldNamesFieldB(Lcom/groupbyinc/flux/index/mapper/ParseContext;Ljava/util/List;)V
=com/groupbyinc/flux/common/apache/lucene/index/IndexableFielddoc:()Lcom/groupbyinc/flux/index/mapper/ParseContext$Document;
'addB(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableField;)V

%field?Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableField;fieldsQLjava/util/List;parseCreateFielddoMerge-(Lcom/groupbyinc/flux/index/mapper/Mapper;Z)V
explicitp
?	mergeWith)Lcom/groupbyinc/flux/index/mapper/Mapper;updateAllTypesZgsfmdoXContentBodyp(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;ZLcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Vtype!contentType#?
$3com/groupbyinc/flux/common/xcontent/XContentBuilder&[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;(
')tree+?
,geohash.java/lang/String0equals(Ljava/lang/Object;)Z23
14+
treeLevels()I78
9tree_levels;J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;=
'>precisionInMeters()D@A
B??GEOHASH_LEVELSIFG	HlegacyquadtreeJQUADTREE_LEVELSLG	MquadtreeO"java/lang/IllegalArgumentExceptionQUnknown prefix tree type [S
R?	precisionV,com/groupbyinc/flux/common/unit/DistanceUnitXMETERS.Lcom/groupbyinc/flux/common/unit/DistanceUnit;Z[	Y\(D)Ljava/lang/String;?^
Y_@IstrategyNamec?
dSTRATEGYf/	gstrategyidistanceErrorPctkA
l
access$100K(Lcom/groupbyinc/flux/index/mapper/GeoShapeFieldMapper$GeoShapeFieldType;)Dno
pdistance_error_pctrJ(Ljava/lang/String;D)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;t
'uorientationD()Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder$Orientation;wx
yORIENTATIONBLcom/groupbyinc/flux/common/geo/builders/ShapeBuilder$Orientation;{|	}w[(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?
'?.com/groupbyinc/flux/common/geo/SpatialStrategy?TERM0Lcom/groupbyinc/flux/common/geo/SpatialStrategy;??	??getStrategyName??
??points_only?J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?
'?2\(Ljava/lang/String;Ljava/lang/Boolean;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?
'?ignore_malformed?IGNORE_Z_VALUE'Lcom/groupbyinc/flux/common/ParseField;??	!?%com/groupbyinc/flux/common/ParseField?getPreferredName??
??builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;includeDefaultsparams7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;'()Lcom/groupbyinc/flux/common/Explicit;
ConstantValue	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Ljava/lang/String;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/common/Explicit;Lcom/groupbyinc/flux/common/Explicit;Lcom/groupbyinc/flux/common/Explicit;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;)V
StackMapTable
Exceptions?(Lcom/groupbyinc/flux/index/mapper/ParseContext;Ljava/util/List;)V<()Lcom/groupbyinc/flux/common/Explicit;
SourceFileInnerClasses!./?123?453?463?478??	!*+,?<??*?A*-?C*?E??\	!FG!H/!I:!53!23!63!JK!LM!NO? !54!24!64????? ???IP?2*?S???FG??TU?j+[?_?[M,?+?c*?hN-??-?lM*?n?r??,?t?Dt,?z?t?{?5,?t?N-??:??????[:*+??????,???I??Y??Y?????*?n???????,???,???????,????????·ſ*+,???FM*?C???̶Ϛ*??Y??Y??Ѷ?*?n????Ӷ???,?ֿ+*?ض۶???Yt?Yu??Y?H??i??K*??
????B??FG???K*???^?
?????"?-?C?K?i?psu|???
??	?
?l?[,??0?????9'[||??'[||???'Y?7Y?
?W????G??Y*?n??,??????N*+-?-??:??????:+?	?
????4:	GFGG??G??1??1?:CF??$???!?Q?? FG??????W????B*+?+?N-?A??*-?A?A-?C??*-?C?C-?E??*-?E?E??*BFGBB7G?&	!"#%'&/(9)A+?
? ?1@+"*?%?*W?*?n?-/?5?+6*?n?-?*W*?n?:?+<*?n?:??W????*?n?CD???/*?n?-?5?+




© 2015 - 2025 Weber Informatics LLC | Privacy Policy