public interface TitanGraph
extends com.tinkerpop.blueprints.Graph, com.tinkerpop.blueprints.KeyIndexableGraph, com.tinkerpop.blueprints.ThreadedTransactionalGraph
TitanFactory
to open and configure TitanGraph instances.TitanFactory
,
TitanTransaction
Modifier and Type | Method and Description |
---|---|
TitanType |
getType(String name)
Returns the
TitanType uniquely identified by the given name, or NULL if such does not exist. |
boolean |
isOpen()
Checks whether the graph is still open.
|
TypeMaker |
makeType()
Returns a
TypeMaker to create a new Titan type. |
TitanTransaction |
newTransaction()
Opens a new thread-independent
TitanTransaction . |
TitanGraphQuery |
query()
Returns a
TitanGraphQuery to query for vertices or edges in the graph by their properties. |
void |
shutdown()
Closes the graph database.
|
createKeyIndex, dropKeyIndex, getIndexedKeys
TitanTransaction newTransaction()
TitanTransaction
.
Note, that this returns a thread independent transaction object. It is not necessary to call this method
to use Blueprint's standard transaction framework which will automatically start a transaction with the first
operation on the graph.newTransaction
in interface com.tinkerpop.blueprints.ThreadedTransactionalGraph
void shutdown() throws TitanException
shutdown
in interface com.tinkerpop.blueprints.Graph
shutdown
in interface com.tinkerpop.blueprints.TransactionalGraph
TitanException
- if closing the graph database caused errors in the storage backendTitanGraphQuery query()
TitanGraphQuery
to query for vertices or edges in the graph by their properties.query
in interface com.tinkerpop.blueprints.Graph
TitanType getType(String name)
TitanType
uniquely identified by the given name, or NULL if such does not exist.name
- boolean isOpen()
shutdown()
Copyright © 2012-2013. All Rights Reserved.