public class BlazeGraphEmbedded.BlazeTransaction
extends org.apache.tinkerpop.gremlin.structure.util.AbstractThreadLocalTransaction
org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.TransactionException
org.apache.tinkerpop.gremlin.structure.Transaction.CLOSE_BEHAVIOR, org.apache.tinkerpop.gremlin.structure.Transaction.Exceptions, org.apache.tinkerpop.gremlin.structure.Transaction.READ_WRITE_BEHAVIOR, org.apache.tinkerpop.gremlin.structure.Transaction.Status, org.apache.tinkerpop.gremlin.structure.Transaction.Workload<R>
Modifier and Type | Method and Description |
---|---|
com.bigdata.rdf.sail.BigdataSailRepositoryConnection |
cxn()
Direct access to the unisolated connection.
|
protected void |
doClose()
Close the unisolated connection (if open), releasing it for use
by other threads.
|
protected void |
doCommit()
Commit and close the unisolated connection (if open).
|
protected void |
doOpen()
Grab the unisolated SAIL connection and attach the
ChangeLogTransformer
to it. |
protected void |
doRollback()
Rollback and close the unisolated connection (if open).
|
void |
flush()
Flush the statement buffers to the indices without committing.
|
boolean |
isOpen()
True if this thread has the unisolated connection open.
|
addTransactionListener, clearTransactionListeners, doReadWrite, fireOnCommit, fireOnRollback, onClose, onReadWrite, removeTransactionListener
public boolean isOpen()
protected void doOpen()
ChangeLogTransformer
to it. This operation will block if the unisolated connection is
being held open by another thread.doOpen
in class org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction
protected void doCommit() throws org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.TransactionException
doCommit
in class org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction
org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.TransactionException
protected void doRollback() throws org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.TransactionException
doRollback
in class org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction
org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.TransactionException
protected void doClose()
doClose
in class org.apache.tinkerpop.gremlin.structure.util.AbstractThreadLocalTransaction
public com.bigdata.rdf.sail.BigdataSailRepositoryConnection cxn()
BigdataSailRepositoryConnection
public void flush()
Copyright © 2015–2016 SYSTAP, LLC DBA Blazegraph. All rights reserved.