Uses of Class
org.apache.jena.query.TxnType
-
Packages that use TxnType Package Description org.apache.jena.query ARQ - A query engine for Jena, implementing SPARQL.org.apache.jena.sparql.core org.apache.jena.sparql.core.mem In-memory, transactional datasetorg.apache.jena.sparql.util org.apache.jena.system -
-
Uses of TxnType in org.apache.jena.query
Methods in org.apache.jena.query that return TxnType Modifier and Type Method Description static TxnTypeTxnType. convert(ReadWrite rw)Convert aReadWritemode toTxnTypestatic TxnTypeTxnType. promote(Transactional.Promote promoteMode)Convert aTxnTypemode toReadWrite: "promote" not supported.static TxnTypeTxnType. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TxnType[]TxnType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.jena.query with parameters of type TxnType Modifier and Type Method Description static ReadWriteTxnType. convert(TxnType txnType)Convert aTxnTypemode toReadWrite: "promote" not supported.static ReadWriteTxnType. initial(TxnType txnType)Translate aTxnTypeto it's initialReadWritemode. -
Uses of TxnType in org.apache.jena.sparql.core
Methods in org.apache.jena.sparql.core that return TxnType Modifier and Type Method Description TxnTypeDatasetGraphMap. transactionType()TxnTypeDatasetGraphMapLink. transactionType()TxnTypeDatasetGraphNull. transactionType()TxnTypeDatasetGraphOne. transactionType()TxnTypeDatasetGraphWrapper. transactionType()TxnTypeDatasetImpl. transactionType()TxnTypeTransactional. transactionType()Return the transaction type used inbegin(TxnType).TxnTypeTransactionalLock. transactionType()TxnTypeTransactionalNotSupported. transactionType()default TxnTypeTransactionalNotSupportedMixin. transactionType()TxnTypeTransactionalNull. transactionType()Methods in org.apache.jena.sparql.core with parameters of type TxnType Modifier and Type Method Description voidDatasetGraphMap. begin(TxnType txnType)voidDatasetGraphMapLink. begin(TxnType txnType)voidDatasetGraphNull. begin(TxnType txnType)voidDatasetGraphOne. begin(TxnType txnType)voidDatasetGraphWrapper. begin(TxnType type)voidDatasetImpl. begin(TxnType txnType)voidTransactional. begin(TxnType type)Start a transaction.
READ or WRITE transactions start in that state and do not change for the lifetime of the transaction.voidTransactionalLock. begin(TxnType txnType)voidTransactionalNotSupported. begin(TxnType txnType)default voidTransactionalNotSupportedMixin. begin(TxnType txnType)voidTransactionalNull. begin(TxnType type)voidTxnDataset2Graph. begin(TxnType type)default <T> TTransactional. calc(TxnType txnType, java.util.function.Supplier<T> action)Execute and return a value in a transaction with the giventransaction type.default voidTransactional. exec(TxnType txnType, java.lang.Runnable action)Execute application code in a transaction with the giventransaction type. -
Uses of TxnType in org.apache.jena.sparql.core.mem
Methods in org.apache.jena.sparql.core.mem that return TxnType Modifier and Type Method Description TxnTypeDatasetGraphInMemory. transactionType()Methods in org.apache.jena.sparql.core.mem with parameters of type TxnType Modifier and Type Method Description voidDatasetGraphInMemory. begin(TxnType txnType) -
Uses of TxnType in org.apache.jena.sparql.util
Methods in org.apache.jena.sparql.util that return TxnType Modifier and Type Method Description TxnTypeDyadicDatasetGraph. transactionType()Methods in org.apache.jena.sparql.util with parameters of type TxnType Modifier and Type Method Description voidDyadicDatasetGraph. begin(TxnType type) -
Uses of TxnType in org.apache.jena.system
Methods in org.apache.jena.system that return TxnType Modifier and Type Method Description TxnTypeTxnCounter. transactionType()Methods in org.apache.jena.system with parameters of type TxnType Modifier and Type Method Description voidTxnCounter. begin(TxnType txnType)voidTxnCounter. begin(TxnType txnType, boolean canBlock)static <T extends Transactional,X>
XTxn. calc(T txn, TxnType txnType, java.util.function.Supplier<X> r)Execute and return a value in a transaction with the giventransaction type.static voidTxnOp. compatibleWithPromote(TxnType requestedTxnType, Transactional currentTxn)Check an existingTransactionalfor compatibility with aTxnTypeand promote theTransactionalif necessary.static <T extends Transactional>
voidTxn. exec(T txn, TxnType txnType, java.lang.Runnable r)Execute application code in a transaction with the giventransaction type.static booleanTxnOp. isTxnTypeCompatible(TxnType innerTxnType, TxnType outerTxnType)Check whether aTxnTypeis compatible with another.static ThreadActionThreadTxn. threadTxn(Transactional trans, TxnType txnType, java.lang.Runnable action)Create a thread-backed delayed transaction action.static voidTxnOp. txnTypeCompatibleEx(TxnType innerTxnType, TxnType outerTxnType)Check whether aTxnTypeis compatible with another.
-