| 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 dataset
|
| org.apache.jena.sparql.util | |
| org.apache.jena.system |
| Modifier and Type | Method and Description |
|---|---|
static TxnType |
TxnType.convert(ReadWrite rw)
Convert a
ReadWrite mode to TxnType |
static TxnType |
TxnType.promote(Transactional.Promote promoteMode)
Convert a
TxnType mode to ReadWrite : "promote" not supported. |
static TxnType |
TxnType.valueOf(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.
|
| Modifier and Type | Method and Description |
|---|---|
static ReadWrite |
TxnType.convert(TxnType txnType)
Convert a
TxnType mode to ReadWrite : "promote" not supported. |
static ReadWrite |
TxnType.initial(TxnType txnType)
Translate a
TxnType to it's initial ReadWrite mode. |
| Modifier and Type | Method and Description |
|---|---|
TxnType |
DatasetGraphNull.transactionType() |
TxnType |
DatasetGraphMap.transactionType() |
TxnType |
TransactionalNotSupported.transactionType() |
default TxnType |
TransactionalNotSupportedMixin.transactionType() |
TxnType |
Transactional.transactionType()
Return the transaction type used in
begin(TxnType). |
TxnType |
DatasetGraphMapLink.transactionType() |
TxnType |
TransactionalLock.transactionType() |
TxnType |
TransactionalNull.transactionType() |
TxnType |
DatasetGraphOne.transactionType() |
TxnType |
DatasetGraphWrapper.transactionType() |
TxnType |
DatasetImpl.transactionType() |
| Modifier and Type | Method and Description |
|---|---|
void |
DatasetGraphTrackActive.begin(TxnType txnType) |
void |
DatasetGraphNull.begin(TxnType txnType) |
void |
DatasetGraphMap.begin(TxnType txnType) |
void |
TransactionalNotSupported.begin(TxnType txnType) |
default void |
TransactionalNotSupportedMixin.begin(TxnType txnType) |
void |
Transactional.begin(TxnType type)
Start a transaction.
READ or WRITE transactions start in that state and do not change for the lifetime of the transaction. |
void |
DatasetGraphMapLink.begin(TxnType txnType) |
void |
TransactionalLock.begin(TxnType txnType) |
void |
TransactionalNull.begin(TxnType type) |
void |
DatasetGraphOne.begin(TxnType txnType) |
void |
DatasetGraphWrapper.begin(TxnType type) |
void |
TxnDataset2Graph.begin(TxnType type) |
void |
DatasetImpl.begin(TxnType txnType) |
| Modifier and Type | Method and Description |
|---|---|
TxnType |
DatasetGraphInMemory.transactionType() |
| Modifier and Type | Method and Description |
|---|---|
void |
DatasetGraphInMemory.begin(TxnType txnType) |
| Modifier and Type | Method and Description |
|---|---|
TxnType |
DyadicDatasetGraph.transactionType() |
| Modifier and Type | Method and Description |
|---|---|
void |
DyadicDatasetGraph.begin(TxnType type) |
| Modifier and Type | Method and Description |
|---|---|
TxnType |
TxnCounter.transactionType() |
| Modifier and Type | Method and Description |
|---|---|
void |
TxnCounter.begin(TxnType txnType) |
void |
TxnCounter.begin(TxnType txnType,
boolean canBlock) |
static <T extends Transactional,X> |
Txn.calc(T txn,
TxnType txnType,
Supplier<X> r)
Execute and return a value in a transaction with the given
trasnaction type. |
static <T extends Transactional> |
Txn.exec(T txn,
TxnType txnType,
Runnable r)
Execute application code in a transaction with the given
trasnaction type. |
static ThreadAction |
ThreadTxn.threadTxn(Transactional trans,
TxnType txnType,
Runnable action)
Create a thread-backed delayed transaction action.
|
Licenced under the Apache License, Version 2.0