|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neo4j.kernel.AbstractGraphDatabase
public abstract class AbstractGraphDatabase
Exposes the methods getConfig()
() and getManagementBeans(Class)
() a.s.o.
Constructor Summary | |
---|---|
protected |
AbstractGraphDatabase(String storeDir)
|
Method Summary | ||
---|---|---|
Transaction |
beginTx()
Starts a new transaction and associates it with the current thread. |
|
protected abstract void |
close()
|
|
protected org.neo4j.kernel.impl.util.StringLogger |
createStringLogger()
|
|
Iterable<Node> |
getAllNodes()
Returns all nodes in the graph. |
|
abstract Config |
getConfig()
|
|
abstract KernelData |
getKernelData()
|
|
|
getManagementBean(Class<T> type)
Deprecated. since Neo4j may now have multiple beans implementing the same bean interface, this method has been deprecated in favor of getSingleManagementBean(Class) and getManagementBeans(Class)
. Version 1.5 of Neo4j will be the last version to contain this method. |
|
abstract
|
getManagementBeans(Class<T> type)
|
|
org.neo4j.kernel.impl.util.StringLogger |
getMessageLog()
|
|
Iterable<RelationshipType> |
getRelationshipTypes()
Returns all relationship types currently in the underlying store. |
|
|
getSingleManagementBean(Class<T> type)
|
|
String |
getStoreDir()
|
|
protected boolean |
isEphemeral()
|
|
void |
shutdown()
Shuts down Neo4j. |
|
String |
toString()
|
|
abstract TransactionBuilder |
tx()
Returns a new builder where some aspects of the behavior can be configured. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.neo4j.graphdb.GraphDatabaseService |
---|
createNode, getNodeById, getReferenceNode, getRelationshipById, index, registerKernelEventHandler, registerTransactionEventHandler, unregisterKernelEventHandler, unregisterTransactionEventHandler |
Constructor Detail |
---|
protected AbstractGraphDatabase(String storeDir)
Method Detail |
---|
protected org.neo4j.kernel.impl.util.StringLogger createStringLogger()
public final void shutdown()
GraphDatabaseService
shutdown
in interface GraphDatabaseService
protected abstract void close()
public final String getStoreDir()
public abstract Config getConfig()
public final org.neo4j.kernel.impl.util.StringLogger getMessageLog()
public Transaction beginTx()
GraphDatabaseService
beginTx
in interface GraphDatabaseService
public abstract TransactionBuilder tx()
TransactionBuilder.begin()
.
@Deprecated public final <T> T getManagementBean(Class<T> type)
getSingleManagementBean(Class)
and getManagementBeans(Class)
. Version 1.5 of Neo4j will be the last version to contain this method.
getSingleManagementBean(Class)
.
public final <T> T getSingleManagementBean(Class<T> type)
public abstract <T> Collection<T> getManagementBeans(Class<T> type)
public abstract KernelData getKernelData()
protected boolean isEphemeral()
public String toString()
toString
in class Object
public Iterable<Node> getAllNodes()
GraphDatabaseService
getAllNodes
in interface GraphDatabaseService
public Iterable<RelationshipType> getRelationshipTypes()
GraphDatabaseService
node.createRelationshipTo(...)
. Note that this method is guaranteed to
return all known relationship types, but it does not guarantee that it
won't return more than that (e.g. it can return "historic"
relationship types that no longer have any relationships in the node
space).
getRelationshipTypes
in interface GraphDatabaseService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |