org.springframework.data.neo4j.rest
Class RestGraphDatabase
java.lang.Object
org.springframework.data.neo4j.rest.RestGraphDatabase
- All Implemented Interfaces:
- org.neo4j.graphdb.GraphDatabaseService, GraphDatabase
public class RestGraphDatabase
- extends Object
- implements org.neo4j.graphdb.GraphDatabaseService, GraphDatabase
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestGraphDatabase
public RestGraphDatabase(URI uri)
RestGraphDatabase
public RestGraphDatabase(URI uri,
String user,
String password)
getNodeById
public org.neo4j.graphdb.Node getNodeById(long id)
- Specified by:
getNodeById in interface org.neo4j.graphdb.GraphDatabaseService- Specified by:
getNodeById in interface GraphDatabase
createNode
public org.neo4j.graphdb.Node createNode(Map<String,Object> props)
- Specified by:
createNode in interface GraphDatabase
getRelationshipById
public org.neo4j.graphdb.Relationship getRelationshipById(long id)
- Specified by:
getRelationshipById in interface org.neo4j.graphdb.GraphDatabaseService- Specified by:
getRelationshipById in interface GraphDatabase
createRelationship
public org.neo4j.graphdb.Relationship createRelationship(org.neo4j.graphdb.Node startNode,
org.neo4j.graphdb.Node endNode,
org.neo4j.graphdb.RelationshipType type,
Map<String,Object> props)
- Specified by:
createRelationship in interface GraphDatabase
getIndex
public <T extends org.neo4j.graphdb.PropertyContainer> org.neo4j.graphdb.index.Index<T> getIndex(String indexName)
- Specified by:
getIndex in interface GraphDatabase
createIndex
public <T extends org.neo4j.graphdb.PropertyContainer> org.neo4j.graphdb.index.Index<T> createIndex(Class<T> type,
String indexName,
boolean fullText)
- Specified by:
createIndex in interface GraphDatabase
createTraversalDescription
public org.neo4j.graphdb.traversal.TraversalDescription createTraversalDescription()
- Specified by:
createTraversalDescription in interface GraphDatabase
queryEngineFor
public QueryEngine queryEngineFor(QueryType type)
- Specified by:
queryEngineFor in interface GraphDatabase
setConversionService
public void setConversionService(org.springframework.core.convert.ConversionService conversionService)
- Specified by:
setConversionService in interface GraphDatabase
index
public RestIndexManager index()
- Specified by:
index in interface org.neo4j.graphdb.GraphDatabaseService
getReferenceNode
public org.neo4j.graphdb.Node getReferenceNode()
- Specified by:
getReferenceNode in interface org.neo4j.graphdb.GraphDatabaseService- Specified by:
getReferenceNode in interface GraphDatabase
getRestRequest
public RestRequest getRestRequest()
getPropertyRefetchTimeInMillis
public long getPropertyRefetchTimeInMillis()
createNode
public org.neo4j.graphdb.Node createNode()
- Specified by:
createNode in interface org.neo4j.graphdb.GraphDatabaseService
getAllNodes
public Iterable<org.neo4j.graphdb.Node> getAllNodes()
- Specified by:
getAllNodes in interface org.neo4j.graphdb.GraphDatabaseService
getRelationshipTypes
public Iterable<org.neo4j.graphdb.RelationshipType> getRelationshipTypes()
- Specified by:
getRelationshipTypes in interface org.neo4j.graphdb.GraphDatabaseService
shutdown
public void shutdown()
- Specified by:
shutdown in interface org.neo4j.graphdb.GraphDatabaseService
beginTx
public org.neo4j.graphdb.Transaction beginTx()
- Specified by:
beginTx in interface org.neo4j.graphdb.GraphDatabaseService
registerTransactionEventHandler
public <T> org.neo4j.graphdb.event.TransactionEventHandler<T> registerTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> handler)
- Specified by:
registerTransactionEventHandler in interface org.neo4j.graphdb.GraphDatabaseService
unregisterTransactionEventHandler
public <T> org.neo4j.graphdb.event.TransactionEventHandler<T> unregisterTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> handler)
- Specified by:
unregisterTransactionEventHandler in interface org.neo4j.graphdb.GraphDatabaseService
registerKernelEventHandler
public org.neo4j.graphdb.event.KernelEventHandler registerKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler handler)
- Specified by:
registerKernelEventHandler in interface org.neo4j.graphdb.GraphDatabaseService
unregisterKernelEventHandler
public org.neo4j.graphdb.event.KernelEventHandler unregisterKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler handler)
- Specified by:
unregisterKernelEventHandler in interface org.neo4j.graphdb.GraphDatabaseService
Copyright © 2011 SpringSource. All Rights Reserved.