public class CypherRestGraphDatabase extends Object implements RestAPIProvider
Constructor and Description |
---|
CypherRestGraphDatabase(RestAPI restAPI) |
CypherRestGraphDatabase(String uri) |
CypherRestGraphDatabase(String uri,
String user,
String password) |
Modifier and Type | Method and Description |
---|---|
org.neo4j.graphdb.Transaction |
beginTx() |
org.neo4j.graphdb.traversal.BidirectionalTraversalDescription |
bidirectionalTraversalDescription() |
org.neo4j.graphdb.Node |
createNode() |
org.neo4j.graphdb.Node |
createNode(org.neo4j.graphdb.Label... labels) |
Result |
execute(String s) |
Result |
execute(String s,
Map<String,Object> map) |
org.neo4j.graphdb.Node |
findNode(org.neo4j.graphdb.Label label,
String property,
Object value) |
org.neo4j.graphdb.ResourceIterator<org.neo4j.graphdb.Node> |
findNodes(org.neo4j.graphdb.Label label) |
org.neo4j.graphdb.ResourceIterator<org.neo4j.graphdb.Node> |
findNodes(org.neo4j.graphdb.Label label,
String property,
Object value) |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Node> |
findNodesByLabelAndProperty(org.neo4j.graphdb.Label label,
String property,
Object value) |
Collection<String> |
getAllLabelNames() |
Iterable<org.neo4j.graphdb.Node> |
getAllNodes() |
org.neo4j.graphdb.DependencyResolver |
getDependencyResolver() |
org.neo4j.graphdb.Node |
getNodeById(long id) |
org.neo4j.graphdb.Relationship |
getRelationshipById(long id) |
Iterable<org.neo4j.graphdb.RelationshipType> |
getRelationshipTypes() |
RestAPI |
getRestAPI() |
String |
getStoreDir() |
RestCypherTransactionManager |
getTxManager() |
RestIndexManager |
index() |
boolean |
isAvailable(long timeout) |
org.neo4j.graphdb.event.KernelEventHandler |
registerKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler kernelEventHandler) |
<T> org.neo4j.graphdb.event.TransactionEventHandler<T> |
registerTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> tTransactionEventHandler) |
org.neo4j.graphdb.schema.Schema |
schema() |
void |
shutdown() |
Set<String> |
toLabelNames(org.neo4j.graphdb.Label[] labels) |
RestTraversalDescription |
traversalDescription() |
org.neo4j.graphdb.event.KernelEventHandler |
unregisterKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler kernelEventHandler) |
<T> org.neo4j.graphdb.event.TransactionEventHandler<T> |
unregisterTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> tTransactionEventHandler) |
public CypherRestGraphDatabase(RestAPI restAPI)
public CypherRestGraphDatabase(String uri)
public RestAPI getRestAPI()
getRestAPI
in interface RestAPIProvider
public RestIndexManager index()
index
in interface org.neo4j.graphdb.GraphDatabaseService
public org.neo4j.graphdb.Node createNode()
createNode
in interface org.neo4j.graphdb.GraphDatabaseService
public org.neo4j.graphdb.Node getNodeById(long id)
getNodeById
in interface org.neo4j.graphdb.GraphDatabaseService
public Iterable<org.neo4j.graphdb.Node> getAllNodes()
getAllNodes
in interface org.neo4j.graphdb.GraphDatabaseService
public Iterable<org.neo4j.graphdb.RelationshipType> getRelationshipTypes()
getRelationshipTypes
in interface org.neo4j.graphdb.GraphDatabaseService
public org.neo4j.graphdb.Relationship getRelationshipById(long id)
getRelationshipById
in interface org.neo4j.graphdb.GraphDatabaseService
public String getStoreDir()
public boolean isAvailable(long timeout)
isAvailable
in interface org.neo4j.graphdb.GraphDatabaseService
public RestCypherTransactionManager getTxManager()
public org.neo4j.graphdb.DependencyResolver getDependencyResolver()
public org.neo4j.graphdb.Transaction beginTx()
beginTx
in interface org.neo4j.graphdb.GraphDatabaseService
public void shutdown()
shutdown
in interface org.neo4j.graphdb.GraphDatabaseService
public org.neo4j.graphdb.Node createNode(org.neo4j.graphdb.Label... labels)
createNode
in interface org.neo4j.graphdb.GraphDatabaseService
public org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Node> findNodesByLabelAndProperty(org.neo4j.graphdb.Label label, String property, Object value)
findNodesByLabelAndProperty
in interface org.neo4j.graphdb.GraphDatabaseService
public org.neo4j.graphdb.ResourceIterator<org.neo4j.graphdb.Node> findNodes(org.neo4j.graphdb.Label label, String property, Object value)
public org.neo4j.graphdb.Node findNode(org.neo4j.graphdb.Label label, String property, Object value)
public org.neo4j.graphdb.ResourceIterator<org.neo4j.graphdb.Node> findNodes(org.neo4j.graphdb.Label label)
public org.neo4j.graphdb.schema.Schema schema()
schema
in interface org.neo4j.graphdb.GraphDatabaseService
public RestTraversalDescription traversalDescription()
traversalDescription
in interface org.neo4j.graphdb.GraphDatabaseService
public org.neo4j.graphdb.traversal.BidirectionalTraversalDescription bidirectionalTraversalDescription()
bidirectionalTraversalDescription
in interface org.neo4j.graphdb.GraphDatabaseService
public Collection<String> getAllLabelNames()
public <T> org.neo4j.graphdb.event.TransactionEventHandler<T> registerTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> tTransactionEventHandler)
registerTransactionEventHandler
in interface org.neo4j.graphdb.GraphDatabaseService
public <T> org.neo4j.graphdb.event.TransactionEventHandler<T> unregisterTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> tTransactionEventHandler)
unregisterTransactionEventHandler
in interface org.neo4j.graphdb.GraphDatabaseService
public org.neo4j.graphdb.event.KernelEventHandler registerKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler kernelEventHandler)
registerKernelEventHandler
in interface org.neo4j.graphdb.GraphDatabaseService
public org.neo4j.graphdb.event.KernelEventHandler unregisterKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler kernelEventHandler)
unregisterKernelEventHandler
in interface org.neo4j.graphdb.GraphDatabaseService
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.