Uses of Enum Class
org.apache.jena.query.TxnType
Package
Description
ARQ - A query engine for Jena, implementing SPARQL.
In-memory, transactional dataset
-
Uses of TxnType in org.apache.jena.query
Modifier and TypeMethodDescriptionstatic TxnType
Convert aReadWrite
mode toTxnType
static TxnType
TxnType.promote
(Transactional.Promote promoteMode) Convert aTxnType
mode toReadWrite
: "promote" not supported.static TxnType
Returns the enum constant of this class with the specified name.static TxnType[]
TxnType.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of TxnType in org.apache.jena.sparql.core
Modifier and TypeMethodDescriptionDatasetGraphMap.transactionType()
DatasetGraphMapLink.transactionType()
DatasetGraphNull.transactionType()
DatasetGraphOne.transactionType()
DatasetGraphWrapper.transactionType()
DatasetImpl.transactionType()
Transactional.transactionType()
Return the transaction type used inbegin(TxnType)
.TransactionalLock.transactionType()
default TxnType
TransactionalNotSupportedMixin.transactionType()
TransactionalNull.transactionType()
default TxnType
TransactionalTrait.transactionType()
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
Start a transaction.
READ or WRITE transactions start in that state and do not change for the lifetime of the transaction.void
default void
void
default void
void
default <T> T
Execute and return a value in a transaction with the giventransaction type
.default void
Execute application code in a transaction with the giventransaction type
. -
Uses of TxnType in org.apache.jena.sparql.core.mem
-
Uses of TxnType in org.apache.jena.sparql.graph
-
Uses of TxnType in org.apache.jena.sparql.util
-
Uses of TxnType in org.apache.jena.system
Modifier and TypeMethodDescriptionvoid
static <T extends Transactional,
X>
XExecute and return a value in a transaction with the giventransaction type
.static void
TxnOp.compatibleWithPromote
(TxnType requestedTxnType, Transactional currentTxn) Check an existingTransactional
for compatibility with aTxnType
and promote theTransactional
if necessary.static <T extends Transactional>
voidExecute application code in a transaction with the giventransaction type
.static boolean
TxnOp.isTxnTypeCompatible
(TxnType innerTxnType, TxnType outerTxnType) Check whether aTxnType
is compatible with another.static ThreadAction
ThreadTxn.threadTxn
(Transactional trans, TxnType txnType, Runnable action) Create a thread-backed delayed transaction action.static void
TxnOp.txnTypeCompatibleEx
(TxnType innerTxnType, TxnType outerTxnType) Check whether aTxnType
is compatible with another. -
Uses of TxnType in org.apache.jena.system.buffering