Class GeoJsonGeometryCollection
java.lang.Object
org.springframework.data.elasticsearch.core.geo.GeoJsonGeometryCollection
Defines a
Copied from Spring Data Mongodb
GeoJsonGeometryCollection that consists of a List of GeoJson objects.Copied from Spring Data Mongodb
- Since:
- 4.1
- Author:
- Christoph Strobl, Peter-Josef Meisch
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe value of the coordinates member is always anIterable.getType()String value representing the type of theGeoJsonobject.inthashCode()static GeoJsonGeometryCollectionCreates a newGeoJsonGeometryCollectionfor the givenGeoJsoninstances.toString()
-
Field Details
-
TYPE
- See Also:
-
-
Method Details
-
of
Creates a newGeoJsonGeometryCollectionfor the givenGeoJsoninstances.- Parameters:
geometries- must not be null.
-
getType
Description copied from interface:GeoJsonString value representing the type of theGeoJsonobject. -
getCoordinates
Description copied from interface:GeoJsonThe value of the coordinates member is always anIterable. The structure for the elements within is determined byGeoJson.getType()of geometry.- Specified by:
getCoordinatesin interfaceGeoJson<Iterable<GeoJson<?>>>- Returns:
- will never be null.
- See Also:
-
getGeometries
-
equals
-
hashCode
public int hashCode() -
toString
-