Package com.ibm.cloud.cloudant.v1.model
Class GeoResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.GeoResult
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GeoResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for the result of a geospatial query operation. For the `legacy`, `geojson`, or `application/vnd.geo+json`
format this is a GeoJson FeatureCollection with additional metadata in foreign members.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Declaration of the GeoJSON type: FeatureCollection Object. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
GeoResult
public GeoResult()
-
-
Method Details
-
getBookmark
Gets the bookmark. Opaque bookmark token used when paginating results.- Returns:
- the bookmark
-
getFeatures
Gets the features. The array of GeoJSON Feature Objects matching the geospatial query.- Returns:
- the features
-
getRows
Gets the rows. The array of rows matching the geospatial query. Present only when using `view` format.- Returns:
- the rows
-
getType
Gets the type. Declaration of the GeoJSON type: FeatureCollection Object.- Returns:
- the type
-