Hideaki Ohno > ArangoDB-0.08 > ArangoDB::Index::Geo

Download:
ArangoDB-0.08.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

ArangoDB::Index::Geo - An ArangoDB Geo Index

DESCRIPTION ^

Instance of ArangoDB geo index.

METHODS ^

new()

Constructor.

id()

Returns identifier of index.

type()

Returns type of index. This method will return 'geo1' or 'geo2'.

geo1

A geo index with one field. The value of the field is a list of two double values(latitude and longitude).

geo2

A geo index with two fields(latitude and longitude).

collection_id()

Returns identifier of the index.

fields()

List of attribure paths.

geoJson()

If it is true, This geo-spatial index is using geojson format.

constraint()

If it is true, this index is geo-spatial constraint.

drop()

Drop the index.

AUTHOR ^

Hideaki Ohno <hide.o.j55 {at} gmail.com>

syntax highlighting: