public class GeoIndexOptions extends IndexOptions
Constructor and Description |
---|
GeoIndexOptions() |
Modifier and Type | Method and Description |
---|---|
protected GeoIndexOptions |
fields(Iterable<String> fields) |
GeoIndexOptions |
geoJson(Boolean geoJson) |
protected Iterable<String> |
getFields() |
Boolean |
getGeoJson() |
protected IndexType |
getType() |
getInBackground, getName, inBackground, name
protected GeoIndexOptions fields(Iterable<String> fields)
fields
- A list of attribute pathsprotected IndexType getType()
public Boolean getGeoJson()
public GeoIndexOptions geoJson(Boolean geoJson)
geoJson
- If a geo-spatial index on a location is constructed and geoJson is true, then the order within the
array is longitude followed by latitude. This corresponds to the format described inCopyright © 2016–2019 ArangoDB GmbH. All rights reserved.