Package com.ibm.cloud.cloudant.v1.model
Class GeoIndexDefinition
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.GeoIndexDefinition
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GeoIndexDefinition
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for a geospatial index definition.
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a GeoIndexDefinition builder
-
index
Gets the index. String form of a JavaScript function that is called for each document in the database. The function takes the document as a parameter, extracts some geospatial data from it, and then calls the `st_index` function to index that data. The `st_index` takes a GeoJSON geometry as a parameter.- Returns:
- the index
-