public class ReadOnlyGraphDatabaseProxy extends Object implements org.neo4j.graphdb.GraphDatabaseService, org.neo4j.kernel.GraphDatabaseAPI, org.neo4j.graphdb.index.IndexManager
| Constructor and Description |
|---|
ReadOnlyGraphDatabaseProxy(org.neo4j.kernel.GraphDatabaseAPI graphDb) |
| 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) |
boolean |
enableRemoteShell() |
boolean |
enableRemoteShell(Map<String,Serializable> initialProperties) |
org.neo4j.graphdb.Result |
execute(String query) |
org.neo4j.graphdb.Result |
execute(String query,
Map<String,Object> parameters) |
boolean |
existsForNodes(String indexName) |
boolean |
existsForRelationships(String indexName) |
org.neo4j.graphdb.Node |
findNode(org.neo4j.graphdb.Label label,
String key,
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 key,
Object value) |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Node> |
findNodesByLabelAndProperty(org.neo4j.graphdb.Label label,
String key,
Object value) |
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> customConfiguration) |
org.neo4j.graphdb.index.RelationshipIndex |
forRelationships(String indexName) |
org.neo4j.graphdb.index.RelationshipIndex |
forRelationships(String indexName,
Map<String,String> customConfiguration) |
Iterable<org.neo4j.graphdb.Node> |
getAllNodes() |
Map<String,String> |
getConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index) |
org.neo4j.graphdb.DependencyResolver |
getDependencyResolver() |
org.neo4j.graphdb.index.AutoIndexer<org.neo4j.graphdb.Node> |
getNodeAutoIndexer() |
org.neo4j.graphdb.Node |
getNodeById(long id) |
org.neo4j.graphdb.index.RelationshipAutoIndexer |
getRelationshipAutoIndexer() |
org.neo4j.graphdb.Relationship |
getRelationshipById(long id) |
Iterable<org.neo4j.graphdb.RelationshipType> |
getRelationshipTypes() |
String |
getStoreDir() |
org.neo4j.graphdb.index.IndexManager |
index() |
boolean |
isAvailable(long timeout) |
String[] |
nodeIndexNames() |
Iterable<org.neo4j.graphdb.Node> |
nodes(Iterable<org.neo4j.graphdb.Node> nodes) |
org.neo4j.graphdb.Node |
readOnly(org.neo4j.graphdb.Node actual) |
org.neo4j.graphdb.Relationship |
readOnly(org.neo4j.graphdb.Relationship actual) |
org.neo4j.graphdb.event.KernelEventHandler |
registerKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler handler) |
<T> org.neo4j.graphdb.event.TransactionEventHandler<T> |
registerTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> handler) |
String[] |
relationshipIndexNames() |
Iterable<org.neo4j.graphdb.Relationship> |
relationships(Iterable<org.neo4j.graphdb.Relationship> relationships) |
String |
removeConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index,
String key) |
org.neo4j.graphdb.schema.Schema |
schema() |
String |
setConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index,
String key,
String value) |
void |
shutdown() |
org.neo4j.kernel.impl.store.StoreId |
storeId() |
org.neo4j.graphdb.traversal.TraversalDescription |
traversalDescription() |
org.neo4j.graphdb.event.KernelEventHandler |
unregisterKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler handler) |
<T> org.neo4j.graphdb.event.TransactionEventHandler<T> |
unregisterTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> handler) |
public ReadOnlyGraphDatabaseProxy(org.neo4j.kernel.GraphDatabaseAPI graphDb)
public org.neo4j.graphdb.Node readOnly(org.neo4j.graphdb.Node actual)
public org.neo4j.graphdb.Relationship readOnly(org.neo4j.graphdb.Relationship actual)
public org.neo4j.graphdb.Transaction beginTx()
beginTx in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.Result execute(String query)
execute in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.Result execute(String query, Map<String,Object> parameters)
execute in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.Node createNode()
createNode in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.Node createNode(org.neo4j.graphdb.Label... labels)
createNode in interface org.neo4j.graphdb.GraphDatabaseServicepublic boolean enableRemoteShell()
public boolean enableRemoteShell(Map<String,Serializable> initialProperties)
public Iterable<org.neo4j.graphdb.Node> getAllNodes()
getAllNodes in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.Node getNodeById(long id)
getNodeById in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.Relationship getRelationshipById(long id)
getRelationshipById in interface org.neo4j.graphdb.GraphDatabaseServicepublic Iterable<org.neo4j.graphdb.RelationshipType> getRelationshipTypes()
getRelationshipTypes in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.event.KernelEventHandler registerKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler handler)
registerKernelEventHandler in interface org.neo4j.graphdb.GraphDatabaseServicepublic <T> org.neo4j.graphdb.event.TransactionEventHandler<T> registerTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> handler)
registerTransactionEventHandler in interface org.neo4j.graphdb.GraphDatabaseServicepublic boolean isAvailable(long timeout)
isAvailable in interface org.neo4j.graphdb.GraphDatabaseServicepublic void shutdown()
shutdown in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.event.KernelEventHandler unregisterKernelEventHandler(org.neo4j.graphdb.event.KernelEventHandler handler)
unregisterKernelEventHandler in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.schema.Schema schema()
schema in interface org.neo4j.graphdb.GraphDatabaseServicepublic <T> org.neo4j.graphdb.event.TransactionEventHandler<T> unregisterTransactionEventHandler(org.neo4j.graphdb.event.TransactionEventHandler<T> handler)
unregisterTransactionEventHandler in interface org.neo4j.graphdb.GraphDatabaseServicepublic Iterable<org.neo4j.graphdb.Relationship> relationships(Iterable<org.neo4j.graphdb.Relationship> relationships)
public boolean existsForNodes(String indexName)
existsForNodes in interface org.neo4j.graphdb.index.IndexManagerpublic org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> forNodes(String indexName)
forNodes in interface org.neo4j.graphdb.index.IndexManagerpublic org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> forNodes(String indexName, Map<String,String> customConfiguration)
forNodes in interface org.neo4j.graphdb.index.IndexManagerpublic String[] nodeIndexNames()
nodeIndexNames in interface org.neo4j.graphdb.index.IndexManagerpublic boolean existsForRelationships(String indexName)
existsForRelationships in interface org.neo4j.graphdb.index.IndexManagerpublic org.neo4j.graphdb.index.RelationshipIndex forRelationships(String indexName)
forRelationships in interface org.neo4j.graphdb.index.IndexManagerpublic org.neo4j.graphdb.index.RelationshipIndex forRelationships(String indexName, Map<String,String> customConfiguration)
forRelationships in interface org.neo4j.graphdb.index.IndexManagerpublic String[] relationshipIndexNames()
relationshipIndexNames in interface org.neo4j.graphdb.index.IndexManagerpublic org.neo4j.graphdb.index.IndexManager index()
index in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.traversal.TraversalDescription traversalDescription()
traversalDescription in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.traversal.BidirectionalTraversalDescription bidirectionalTraversalDescription()
bidirectionalTraversalDescription in interface org.neo4j.graphdb.GraphDatabaseServicepublic Map<String,String> getConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index)
getConfiguration in interface org.neo4j.graphdb.index.IndexManagerpublic String setConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index, String key, String value)
setConfiguration in interface org.neo4j.graphdb.index.IndexManagerpublic String removeConfiguration(org.neo4j.graphdb.index.Index<? extends org.neo4j.graphdb.PropertyContainer> index, String key)
removeConfiguration in interface org.neo4j.graphdb.index.IndexManagerpublic org.neo4j.graphdb.index.AutoIndexer<org.neo4j.graphdb.Node> getNodeAutoIndexer()
getNodeAutoIndexer in interface org.neo4j.graphdb.index.IndexManagerpublic org.neo4j.graphdb.index.RelationshipAutoIndexer getRelationshipAutoIndexer()
getRelationshipAutoIndexer in interface org.neo4j.graphdb.index.IndexManagerpublic org.neo4j.graphdb.DependencyResolver getDependencyResolver()
getDependencyResolver in interface org.neo4j.kernel.GraphDatabaseAPIpublic String getStoreDir()
getStoreDir in interface org.neo4j.kernel.GraphDatabaseAPIpublic org.neo4j.kernel.impl.store.StoreId storeId()
storeId in interface org.neo4j.kernel.GraphDatabaseAPIpublic org.neo4j.graphdb.ResourceIterator<org.neo4j.graphdb.Node> findNodes(org.neo4j.graphdb.Label label,
String key,
Object value)
findNodes in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.Node findNode(org.neo4j.graphdb.Label label,
String key,
Object value)
findNode in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.ResourceIterator<org.neo4j.graphdb.Node> findNodes(org.neo4j.graphdb.Label label)
findNodes in interface org.neo4j.graphdb.GraphDatabaseServiceCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.