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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The value of the coordinates member is always anIterable
.getType()
String value representing the type of theGeoJson
object.int
hashCode()
static GeoJsonGeometryCollection
Creates a newGeoJsonGeometryCollection
for the givenGeoJson
instances.toString()
-
Field Details
-
TYPE
- See Also:
-
-
Method Details
-
of
Creates a newGeoJsonGeometryCollection
for the givenGeoJson
instances.- Parameters:
geometries
- must not be null.
-
getType
Description copied from interface:GeoJson
String value representing the type of theGeoJson
object. -
getCoordinates
Description copied from interface:GeoJson
The value of the coordinates member is always anIterable
. The structure for the elements within is determined byGeoJson.getType()
of geometry.- Specified by:
getCoordinates
in interfaceGeoJson<Iterable<GeoJson<?>>>
- Returns:
- will never be null.
- See Also:
-
getGeometries
-
equals
-
hashCode
public int hashCode() -
toString
-