public abstract class TitanBlueprintsTransaction extends Object implements TitanTransaction
TitanTransaction.
Provides utility methods that wrap Titan calls with Blueprints terminology.org.apache.tinkerpop.gremlin.structure.Graph.Exceptions, org.apache.tinkerpop.gremlin.structure.Graph.Features, org.apache.tinkerpop.gremlin.structure.Graph.Hidden, org.apache.tinkerpop.gremlin.structure.Graph.OptIn, org.apache.tinkerpop.gremlin.structure.Graph.OptIns, org.apache.tinkerpop.gremlin.structure.Graph.OptOut, org.apache.tinkerpop.gremlin.structure.Graph.OptOuts, org.apache.tinkerpop.gremlin.structure.Graph.Variables| Constructor and Description |
|---|
TitanBlueprintsTransaction() |
| Modifier and Type | Method and Description |
|---|---|
TitanVertex |
addVertex(Object... keyValues)
Creates a new vertex in the graph with the given vertex id.
|
void |
close() |
FulgoraGraphComputer |
compute() |
<C extends org.apache.tinkerpop.gremlin.process.computer.GraphComputer> |
compute(Class<C> graphComputerClass) |
org.apache.commons.configuration.Configuration |
configuration() |
Iterator<org.apache.tinkerpop.gremlin.structure.Edge> |
edges(Object... eids) |
org.apache.tinkerpop.gremlin.structure.Graph.Features |
features() |
protected abstract TitanBlueprintsGraph |
getGraph()
Returns the graph that this transaction is based on
|
<I extends org.apache.tinkerpop.gremlin.structure.io.Io> |
io(org.apache.tinkerpop.gremlin.structure.io.Io.Builder<I> builder) |
String |
toString() |
org.apache.tinkerpop.gremlin.structure.Transaction |
tx() |
org.apache.tinkerpop.gremlin.structure.Graph.Variables |
variables() |
Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> |
vertices(Object... vids) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddVertex, commit, getEdges, getVertex, getVertices, hasModifications, isClosed, isOpen, rollbackaddVertex, indexQuery, multiQuery, multiQuery, querymakeEdgeLabel, makePropertyKey, makeVertexLabelcontainsEdgeLabel, containsPropertyKey, containsRelationType, containsVertexLabel, getEdgeLabel, getOrCreateEdgeLabel, getOrCreatePropertyKey, getOrCreateVertexLabel, getPropertyKey, getRelationType, getVertexLabelprotected abstract TitanBlueprintsGraph getGraph()
public org.apache.tinkerpop.gremlin.structure.Graph.Features features()
features in interface org.apache.tinkerpop.gremlin.structure.Graphpublic org.apache.tinkerpop.gremlin.structure.Graph.Variables variables()
variables in interface org.apache.tinkerpop.gremlin.structure.Graphpublic org.apache.commons.configuration.Configuration configuration()
configuration in interface org.apache.tinkerpop.gremlin.structure.Graphpublic <I extends org.apache.tinkerpop.gremlin.structure.io.Io> I io(org.apache.tinkerpop.gremlin.structure.io.Io.Builder<I> builder)
io in interface org.apache.tinkerpop.gremlin.structure.Graphpublic <C extends org.apache.tinkerpop.gremlin.process.computer.GraphComputer> C compute(Class<C> graphComputerClass) throws IllegalArgumentException
compute in interface org.apache.tinkerpop.gremlin.structure.GraphIllegalArgumentExceptionpublic FulgoraGraphComputer compute() throws IllegalArgumentException
compute in interface org.apache.tinkerpop.gremlin.structure.GraphIllegalArgumentExceptionpublic TitanVertex addVertex(Object... keyValues)
GraphDatabaseConfiguration.ALLOW_SETTING_VERTEX_ID.
Use TitanId.toVertexId(long) to construct a valid Titan vertex id from a user id.addVertex in interface TitanGraphTransactionaddVertex in interface org.apache.tinkerpop.gremlin.structure.GraphkeyValues - key-value pairs of properties to characterize or attach to the vertexpublic Iterator<org.apache.tinkerpop.gremlin.structure.Vertex> vertices(Object... vids)
vertices in interface org.apache.tinkerpop.gremlin.structure.Graphpublic Iterator<org.apache.tinkerpop.gremlin.structure.Edge> edges(Object... eids)
edges in interface org.apache.tinkerpop.gremlin.structure.Graphpublic org.apache.tinkerpop.gremlin.structure.Transaction tx()
tx in interface org.apache.tinkerpop.gremlin.structure.Graphpublic void close()
close in interface TitanGraphTransactionclose in interface AutoCloseableclose in interface org.apache.tinkerpop.gremlin.structure.GraphCopyright © 2012–2015. All rights reserved.