getIndex: Indexes

Description Usage Arguments Details Value See Also Examples

View source: R/getIndex.R

Description

Get all indexes for a given label or for the entire graph database.

Usage

1
getIndex(graph, label = character())

Arguments

graph

A graph object.

label

A character vector.

Details

Omitting the label argument returns all indexes in the graph database.

Value

A data.frame.

See Also

addIndex, dropIndex

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
graph = startGraph("http://localhost:7474/db/data/")
clear(graph)

addIndex(graph, "Person", "status")
addIndex(graph, "School", "type")

getIndex(graph, "Person")
getIndex(graph)

## End(Not run)

RNeo4j documentation built on May 29, 2017, 4:01 p.m.

Related to getIndex in RNeo4j...