Spring Data Graph

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

java.lang.Object
  extended by org.springframework.data.neo4j.rest.index.RestIndex<org.neo4j.graphdb.Relationship>
      extended by org.springframework.data.neo4j.rest.index.RestRelationshipIndex
All Implemented Interfaces:
org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Relationship>, org.neo4j.graphdb.index.ReadableIndex<org.neo4j.graphdb.Relationship>, org.neo4j.graphdb.index.ReadableRelationshipIndex, org.neo4j.graphdb.index.RelationshipIndex

public class RestRelationshipIndex
extends RestIndex<org.neo4j.graphdb.Relationship>
implements org.neo4j.graphdb.index.RelationshipIndex

Since:
24.01.11
Author:
mh

Field Summary
 
Fields inherited from class org.springframework.data.neo4j.rest.index.RestIndex
restGraphDatabase, restRequest
 
Constructor Summary
RestRelationshipIndex(RestRequest restRequest, String indexName, RestGraphDatabase restGraphDatabase)
           
 
Method Summary
protected  org.neo4j.graphdb.Relationship createEntity(Map<?,?> item)
           
 org.neo4j.graphdb.index.IndexHits<org.neo4j.graphdb.Relationship> get(String s, Object o, org.neo4j.graphdb.Node node, org.neo4j.graphdb.Node node1)
           
 Class<org.neo4j.graphdb.Relationship> getEntityType()
           
 org.neo4j.graphdb.index.IndexHits<org.neo4j.graphdb.Relationship> query(Object o, org.neo4j.graphdb.Node node, org.neo4j.graphdb.Node node1)
           
 org.neo4j.graphdb.index.IndexHits<org.neo4j.graphdb.Relationship> query(String s, Object o, org.neo4j.graphdb.Node node, org.neo4j.graphdb.Node node1)
           
 
Methods inherited from class org.springframework.data.neo4j.rest.index.RestIndex
add, delete, get, getName, indexPath, indexPath, indexPath, query, query, remove, remove, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.neo4j.graphdb.index.Index
add, delete, remove, remove, remove
 
Methods inherited from interface org.neo4j.graphdb.index.ReadableIndex
get, getName, query, query
 

Constructor Detail

RestRelationshipIndex

public RestRelationshipIndex(RestRequest restRequest,
                             String indexName,
                             RestGraphDatabase restGraphDatabase)
Method Detail

getEntityType

public Class<org.neo4j.graphdb.Relationship> getEntityType()
Specified by:
getEntityType in interface org.neo4j.graphdb.index.ReadableIndex<org.neo4j.graphdb.Relationship>

createEntity

protected org.neo4j.graphdb.Relationship createEntity(Map<?,?> item)
Specified by:
createEntity in class RestIndex<org.neo4j.graphdb.Relationship>

get

public org.neo4j.graphdb.index.IndexHits<org.neo4j.graphdb.Relationship> get(String s,
                                                                             Object o,
                                                                             org.neo4j.graphdb.Node node,
                                                                             org.neo4j.graphdb.Node node1)
Specified by:
get in interface org.neo4j.graphdb.index.ReadableRelationshipIndex

query

public org.neo4j.graphdb.index.IndexHits<org.neo4j.graphdb.Relationship> query(String s,
                                                                               Object o,
                                                                               org.neo4j.graphdb.Node node,
                                                                               org.neo4j.graphdb.Node node1)
Specified by:
query in interface org.neo4j.graphdb.index.ReadableRelationshipIndex

query

public org.neo4j.graphdb.index.IndexHits<org.neo4j.graphdb.Relationship> query(Object o,
                                                                               org.neo4j.graphdb.Node node,
                                                                               org.neo4j.graphdb.Node node1)
Specified by:
query in interface org.neo4j.graphdb.index.ReadableRelationshipIndex

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.