AutoCloseable
, FramedGraph
WrappedFramedTxGraph<G>
public interface FramedTxGraph extends FramedGraph
FramedGraph
. This interface will return a Tx
instead of a WrappedTransaction
. The Tx
interface contains
some useful methods which makes it easier is some cases to work with transactions. This includes automatic rollback within the autoclosable and transaction
reference handling.Modifier and Type | Method | Description |
---|---|---|
Tx |
createTx() |
Create a new transaction.
|
default Tx |
tx() |
Return an active transaction or create a new transaction if no active could be found.
|
addFramedEdge, addFramedEdge, addFramedEdge, addFramedEdgeExplicit, addFramedEdgeExplicit, addFramedEdgeExplicit, addFramedVertex, addFramedVertex, addFramedVertex, addFramedVertexExplicit, addFramedVertexExplicit, addFramedVertexExplicit, close, frame, frameElement, frameElementExplicit, frameExplicit, frameNewElement, frameNewElement, frameNewElementExplicit, frameNewElementExplicit, getBuilder, getFramedEdges, getFramedEdges, getFramedEdgesExplicit, getFramedEdgesExplicit, getFramedVertex, getFramedVertexExplicit, getFramedVertices, getFramedVertices, getFramedVerticesExplicit, getFramedVerticesExplicit, getRawTraversal, getTypeResolver, traverse
default Tx tx()
tx
in interface FramedGraph
Tx createTx()
Copyright © 2018 Syncleus. All rights reserved.