Spring Data Graph

org.springframework.data.neo4j.rest.index
Class RestIndexManager

java.lang.Object
  extended by org.springframework.data.neo4j.rest.index.RestIndexManager
All Implemented Interfaces:
org.neo4j.graphdb.index.IndexManager

public class RestIndexManager
extends Object
implements org.neo4j.graphdb.index.IndexManager


Field Summary
 
Fields inherited from interface org.neo4j.graphdb.index.IndexManager
PROVIDER
 
Constructor Summary
RestIndexManager(RestRequest restRequest, RestGraphDatabase restGraphDatabase)
           
 
Method Summary
 boolean existsForNodes(String indexName)
           
 boolean existsForRelationships(String indexName)
           
 org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> forNodes(String indexName)
           
 org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> forNodes(String indexName, Map<String,String> config)
           
 org.neo4j.graphdb.index.RelationshipIndex forRelationships(String indexName)
           
 org.neo4j.graphdb.index.RelationshipIndex forRelationships(String indexName, Map<String,String> config)
           
 Map<String,String> getConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index)
           
 org.neo4j.graphdb.index.AutoIndexer<org.neo4j.graphdb.Node> getNodeAutoIndexer()
           
 org.neo4j.graphdb.index.RelationshipAutoIndexer getRelationshipAutoIndexer()
           
 String[] nodeIndexNames()
           
 String[] relationshipIndexNames()
           
 String removeConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index, String name)
           
 String setConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index, String name, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestIndexManager

public RestIndexManager(RestRequest restRequest,
                        RestGraphDatabase restGraphDatabase)
Method Detail

existsForNodes

public boolean existsForNodes(String indexName)
Specified by:
existsForNodes in interface org.neo4j.graphdb.index.IndexManager

forNodes

public org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> forNodes(String indexName)
Specified by:
forNodes in interface org.neo4j.graphdb.index.IndexManager

forNodes

public org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> forNodes(String indexName,
                                                                      Map<String,String> config)
Specified by:
forNodes in interface org.neo4j.graphdb.index.IndexManager

nodeIndexNames

public String[] nodeIndexNames()
Specified by:
nodeIndexNames in interface org.neo4j.graphdb.index.IndexManager

existsForRelationships

public boolean existsForRelationships(String indexName)
Specified by:
existsForRelationships in interface org.neo4j.graphdb.index.IndexManager

forRelationships

public org.neo4j.graphdb.index.RelationshipIndex forRelationships(String indexName)
Specified by:
forRelationships in interface org.neo4j.graphdb.index.IndexManager

forRelationships

public org.neo4j.graphdb.index.RelationshipIndex forRelationships(String indexName,
                                                                  Map<String,String> config)
Specified by:
forRelationships in interface org.neo4j.graphdb.index.IndexManager

relationshipIndexNames

public String[] relationshipIndexNames()
Specified by:
relationshipIndexNames in interface org.neo4j.graphdb.index.IndexManager

getConfiguration

public Map<String,String> getConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index)
Specified by:
getConfiguration in interface org.neo4j.graphdb.index.IndexManager

setConfiguration

public String setConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index,
                               String name,
                               String value)
Specified by:
setConfiguration in interface org.neo4j.graphdb.index.IndexManager

removeConfiguration

public String removeConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index,
                                  String name)
Specified by:
removeConfiguration in interface org.neo4j.graphdb.index.IndexManager

getNodeAutoIndexer

public org.neo4j.graphdb.index.AutoIndexer<org.neo4j.graphdb.Node> getNodeAutoIndexer()
Specified by:
getNodeAutoIndexer in interface org.neo4j.graphdb.index.IndexManager

getRelationshipAutoIndexer

public org.neo4j.graphdb.index.RelationshipAutoIndexer getRelationshipAutoIndexer()
Specified by:
getRelationshipAutoIndexer in interface org.neo4j.graphdb.index.IndexManager

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.