public abstract class Database extends Object implements org.neo4j.kernel.lifecycle.Lifecycle
| Modifier and Type | Field and Description |
|---|---|
org.neo4j.kernel.AbstractGraphDatabase |
graph
Deprecated.
|
static Logger |
log |
| Constructor and Description |
|---|
Database()
Deprecated.
|
Database(org.neo4j.kernel.AbstractGraphDatabase db)
Deprecated.
|
Database(GraphDatabaseFactory factory,
String databaseStoreDirectory)
Deprecated.
|
Database(GraphDatabaseFactory factory,
String databaseStoreDirectory,
Map<String,String> databaseTuningProperties)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.kernel.GraphDatabaseAPI |
getGraph() |
org.neo4j.graphdb.index.IndexManager |
getIndexManager() |
String |
getLocation() |
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() |
abstract boolean |
isRunning() |
org.rrd4j.core.RrdDb |
rrdDb()
Deprecated.
|
void |
setRrdDb(org.rrd4j.core.RrdDb rrdDb)
Deprecated.
|
void |
setRrdDb(RrdDbWrapper provider) |
void |
shutdown() |
void |
start() |
void |
startup()
Deprecated.
|
StatisticCollector |
statisticCollector()
Deprecated.
|
void |
stop() |
public static final Logger log
@Deprecated public org.neo4j.kernel.AbstractGraphDatabase graph
getGraph() instead. This will be removed in
version 1.10@Deprecated public Database()
@Deprecated public Database(org.neo4j.kernel.AbstractGraphDatabase db)
WrappingDatabase instead.db - @Deprecated public Database(GraphDatabaseFactory factory, String databaseStoreDirectory)
CommunityDatabase instead.@Deprecated public Database(GraphDatabaseFactory factory, String databaseStoreDirectory, Map<String,String> databaseTuningProperties)
CommunityDatabase instead.public String getLocation()
public org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Relationship> getRelationshipIndex(String name)
public org.neo4j.graphdb.index.Index<org.neo4j.graphdb.Node> getNodeIndex(String name)
public org.neo4j.graphdb.index.IndexManager getIndexManager()
public org.neo4j.kernel.GraphDatabaseAPI getGraph()
@Deprecated public org.rrd4j.core.RrdDb rrdDb()
@Deprecated public void setRrdDb(org.rrd4j.core.RrdDb rrdDb)
public void setRrdDb(RrdDbWrapper provider)
@Deprecated public StatisticCollector statisticCollector()
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.LifecycleThrowablepublic abstract boolean isRunning()
@Deprecated public void startup()
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.