public class ReadOnlyGraphDatabaseProxy extends Object implements org.neo4j.graphdb.GraphDatabaseService, org.neo4j.kernel.internal.GraphDatabaseAPI, org.neo4j.graphdb.index.IndexManager
| Constructor and Description |
|---|
ReadOnlyGraphDatabaseProxy(org.neo4j.kernel.internal.GraphDatabaseAPI graphDb) |
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.kernel.impl.coreapi.InternalTransaction |
beginTransaction(org.neo4j.kernel.api.KernelTransaction.Type type,
org.neo4j.kernel.api.security.SecurityContext securityContext) |
org.neo4j.kernel.impl.coreapi.InternalTransaction |
beginTransaction(org.neo4j.kernel.api.KernelTransaction.Type type,
org.neo4j.kernel.api.security.SecurityContext securityContext,
long timeout,
TimeUnit unit) |
org.neo4j.graphdb.Transaction |
beginTx() |
org.neo4j.graphdb.Transaction |
beginTx(long timeout,
TimeUnit unit) |
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,
long timeout,
TimeUnit unit) |
org.neo4j.graphdb.Result |
execute(String query,
Map<String,Object> parameters) |
org.neo4j.graphdb.Result |
execute(String query,
Map<String,Object> parameters,
long timeout,
TimeUnit unit) |
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.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) |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Label> |
getAllLabels() |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Label> |
getAllLabelsInUse() |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Node> |
getAllNodes() |
org.neo4j.graphdb.ResourceIterable<String> |
getAllPropertyKeys() |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Relationship> |
getAllRelationships() |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.RelationshipType> |
getAllRelationshipTypes() |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.RelationshipType> |
getAllRelationshipTypesInUse() |
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) |
String |
getStoreDir() |
org.neo4j.graphdb.index.IndexManager |
index() |
boolean |
isAvailable(long timeout) |
String[] |
nodeIndexNames() |
org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Node> |
nodes(org.neo4j.graphdb.ResourceIterable<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) |
URL |
validateURLAccess(URL url) |
public ReadOnlyGraphDatabaseProxy(org.neo4j.kernel.internal.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.kernel.impl.coreapi.InternalTransaction beginTransaction(org.neo4j.kernel.api.KernelTransaction.Type type,
org.neo4j.kernel.api.security.SecurityContext securityContext)
beginTransaction in interface org.neo4j.kernel.internal.GraphDatabaseAPIpublic org.neo4j.kernel.impl.coreapi.InternalTransaction beginTransaction(org.neo4j.kernel.api.KernelTransaction.Type type,
org.neo4j.kernel.api.security.SecurityContext securityContext,
long timeout,
TimeUnit unit)
beginTransaction in interface org.neo4j.kernel.internal.GraphDatabaseAPIpublic org.neo4j.graphdb.Transaction beginTx()
beginTx in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.Transaction beginTx(long timeout,
TimeUnit unit)
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, long timeout, TimeUnit unit) throws org.neo4j.graphdb.QueryExecutionException
execute in interface org.neo4j.graphdb.GraphDatabaseServiceorg.neo4j.graphdb.QueryExecutionExceptionpublic org.neo4j.graphdb.Result execute(String query, Map<String,Object> parameters)
execute in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.Result execute(String query, Map<String,Object> parameters, long timeout, TimeUnit unit) throws org.neo4j.graphdb.QueryExecutionException
execute in interface org.neo4j.graphdb.GraphDatabaseServiceorg.neo4j.graphdb.QueryExecutionExceptionpublic 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 org.neo4j.graphdb.ResourceIterable<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 org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Relationship> getAllRelationships()
getAllRelationships in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Label> getAllLabelsInUse()
getAllLabelsInUse in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.RelationshipType> getAllRelationshipTypesInUse()
getAllRelationshipTypesInUse in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Label> getAllLabels()
getAllLabels in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.RelationshipType> getAllRelationshipTypes()
getAllRelationshipTypes in interface org.neo4j.graphdb.GraphDatabaseServicepublic org.neo4j.graphdb.ResourceIterable<String> getAllPropertyKeys()
getAllPropertyKeys 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 org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Node> nodes(org.neo4j.graphdb.ResourceIterable<org.neo4j.graphdb.Node> nodes)
public 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.internal.GraphDatabaseAPIpublic String getStoreDir()
getStoreDir in interface org.neo4j.kernel.internal.GraphDatabaseAPIpublic org.neo4j.kernel.impl.store.StoreId storeId()
storeId in interface org.neo4j.kernel.internal.GraphDatabaseAPIpublic URL validateURLAccess(URL url) throws org.neo4j.graphdb.security.URLAccessValidationError
validateURLAccess in interface org.neo4j.kernel.internal.GraphDatabaseAPIorg.neo4j.graphdb.security.URLAccessValidationErrorpublic 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–2017 The Neo4j Graph Database Project. All rights reserved.