public class CommunityDatabase extends Object implements Database
| Constructor and Description |
|---|
CommunityDatabase(Configurator configurator,
org.neo4j.kernel.logging.Logging logging) |
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.kernel.GraphDatabaseAPI |
getGraph() |
org.neo4j.graphdb.index.IndexManager |
getIndexManager() |
String |
getLocation() |
org.neo4j.kernel.logging.Logging |
getLogging() |
org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> |
getNodeIndex(String name) |
org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Relationship> |
getRelationshipIndex(String name) |
void |
init() |
boolean |
isRunning() |
void |
shutdown() |
void |
start() |
void |
stop() |
public CommunityDatabase(Configurator configurator, org.neo4j.kernel.logging.Logging logging)
public String getLocation()
getLocation in interface Databasepublic org.neo4j.kernel.logging.Logging getLogging()
getLogging in interface Databasepublic org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Relationship> getRelationshipIndex(String name)
getRelationshipIndex in interface Databasepublic org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> getNodeIndex(String name)
getNodeIndex in interface Databasepublic org.neo4j.graphdb.index.IndexManager getIndexManager()
getIndexManager in interface Databasepublic org.neo4j.kernel.GraphDatabaseAPI getGraph()
public void init()
throws Throwable
init in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void start()
throws Throwable
start in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void stop()
throws Throwable
stop in interface org.neo4j.kernel.lifecycle.LifecycleThrowablepublic void shutdown()
throws Throwable
shutdown in interface org.neo4j.kernel.lifecycle.LifecycleThrowableCopyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.