Package | Description |
---|---|
org.eclipse.rdf4j.federated | |
org.eclipse.rdf4j.lucene.spin | |
org.eclipse.rdf4j.repository.sail |
Repository implementation for local RDF databases that implement the SAIL SPI.
|
org.eclipse.rdf4j.repository.sail.helpers |
Helper and utility classes for the
SailRepository |
org.eclipse.rdf4j.sail |
RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an SPI for RDF databases.
|
org.eclipse.rdf4j.sail.base |
Base functionality for Sail implementations that require multi-versioned concurrency control (MVCC).
|
org.eclipse.rdf4j.sail.elasticsearchstore |
Elasticsearch store for string triples
|
org.eclipse.rdf4j.sail.extensiblestore |
Elasticsearch store for string triples
|
org.eclipse.rdf4j.sail.federation | |
org.eclipse.rdf4j.sail.helpers |
Abstract base implementation and internal helper classes for Sail implementations.
|
org.eclipse.rdf4j.sail.inferencer | |
org.eclipse.rdf4j.sail.inferencer.fc |
Forward-chaining inferencers, implemented as
StackableSail s. |
org.eclipse.rdf4j.sail.lucene |
A Sail implementation that supports full-text indexing via the Lucene API.
|
org.eclipse.rdf4j.sail.memory |
An implementation of the RDF SAIL API that uses main memory for storage.
|
org.eclipse.rdf4j.sail.nativerdf |
The Native Store.
|
org.eclipse.rdf4j.sail.shacl |
A Sail implementation for SHACL constraint checking.
|
org.eclipse.rdf4j.sail.shacl.planNodes | |
org.eclipse.rdf4j.sail.spin |
See discussion at https://github.com/eclipse/rdf4j/issues/1262
|
Modifier and Type | Method and Description |
---|---|
protected CloseableIteration<? extends Resource,SailException> |
FedXConnection.getContextIDsInternal() |
protected CloseableIteration<? extends Namespace,SailException> |
FedXConnection.getNamespacesInternal() |
protected CloseableIteration<? extends Statement,SailException> |
FedXConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
protected void |
FedXConnection.addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
FedXConnection.clearInternal(Resource... contexts) |
protected void |
FedXConnection.clearNamespacesInternal() |
protected void |
FedXConnection.closeInternal() |
protected void |
FedXConnection.commitInternal() |
protected CloseableIteration<? extends BindingSet,QueryEvaluationException> |
FedXConnection.evaluateInternal(TupleExpr query,
Dataset dataset,
BindingSet bindings,
boolean includeInferred) |
protected SailConnection |
FedXConnection.SailBaseDefaultImpl.getConnectionInternal() |
protected SailConnection |
FedX.getConnectionInternal() |
protected CloseableIteration<? extends Resource,SailException> |
FedXConnection.getContextIDsInternal() |
protected String |
FedXConnection.getNamespaceInternal(String prefix) |
protected CloseableIteration<? extends Namespace,SailException> |
FedXConnection.getNamespacesInternal() |
protected CloseableIteration<? extends Statement,SailException> |
FedXConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected WriteStrategy |
FedXConnection.getWriteStrategyInternal()
Return the initialized
FedXConnection.writeStrategy . |
protected void |
FedX.initializeInternal() |
protected void |
FedX.initializeMember(Endpoint member) |
boolean |
FedXConnection.SailBaseDefaultImpl.isWritable() |
boolean |
FedX.isWritable() |
protected void |
FedXConnection.removeNamespaceInternal(String prefix) |
protected void |
FedXConnection.removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
FedXConnection.rollbackInternal() |
protected void |
FedXConnection.setNamespaceInternal(String prefix,
String name) |
protected void |
FedXConnection.SailBaseDefaultImpl.shutDownInternal() |
protected void |
FedX.shutDownInternal()
Try to shut down all federation members.
|
protected long |
FedXConnection.sizeInternal(Resource... contexts) |
protected void |
FedXConnection.startTransactionInternal() |
Constructor and Description |
---|
FedXConnection(FedX federation,
FederationContext federationContext) |
Modifier and Type | Method and Description |
---|---|
void |
LuceneSpinSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
void |
LuceneSpinSailConnection.begin()
Deprecated.
|
void |
LuceneSpinSailConnection.clear(Resource... resources)
Deprecated.
|
void |
LuceneSpinSailConnection.close()
Deprecated.
|
void |
LuceneSpinSailConnection.commit()
Deprecated.
|
NotifyingSailConnection |
LuceneSpinSail.getConnection()
Deprecated.
|
void |
LuceneSpinSail.initialize()
Deprecated.
|
void |
LuceneSpinSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
Removes all statements matching the specified subject, predicate and object from the repository.
|
void |
LuceneSpinSailConnection.rollback()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected <E> RepositoryResult<E> |
SailRepositoryConnection.createRepositoryResult(CloseableIteration<? extends E,SailException> sailIter)
Wraps a CloseableIteration coming from a Sail in a RepositoryResult object, applying the required conversions
|
Modifier and Type | Method and Description |
---|---|
protected void |
SailUpdateExecutor.executeAdd(Add add,
UpdateContext uc,
int maxExecTime) |
protected void |
SailUpdateExecutor.executeClear(Clear clearExpr,
UpdateContext uc,
int maxExecutionTime) |
protected void |
SailUpdateExecutor.executeCopy(Copy copy,
UpdateContext uc,
int maxExecutionTime) |
protected void |
SailUpdateExecutor.executeCreate(Create create,
UpdateContext uc) |
protected void |
SailUpdateExecutor.executeDeleteData(DeleteData deleteDataExpr,
UpdateContext uc,
int maxExecutionTime) |
protected void |
SailUpdateExecutor.executeInsertData(InsertData insertDataExpr,
UpdateContext uc,
int maxExecutionTime) |
protected void |
SailUpdateExecutor.executeLoad(Load load,
UpdateContext uc) |
protected void |
SailUpdateExecutor.executeModify(Modify modify,
UpdateContext uc,
int maxExecutionTime) |
protected void |
SailUpdateExecutor.executeMove(Move move,
UpdateContext uc,
int maxExecutionTime) |
void |
SailUpdateExecutor.executeUpdate(UpdateExpr updateExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred,
int maxExecutionTime) |
Modifier and Type | Class and Description |
---|---|
class |
SailConflictException
An exception thrown by some methods in Sail to indicate that a requested isolation level could not be fulfilled.
|
class |
SailLockedException
Indicates that a SAIL cannot be initialised because the configured persisted location is locked.
|
class |
SailReadOnlyException
Indicates that the current write operation did not succeed because the SAIL cannot be written to, it can only be read
from.
|
class |
UnknownSailTransactionStateException
Indicates that a SAIL's transaction state (active or inactive) cannot be determined.
|
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Resource,SailException> |
SailConnection.getContextIDs()
Returns the set of all unique context identifiers that are used to store statements.
|
CloseableIteration<? extends Namespace,SailException> |
SailConnection.getNamespaces()
Gets the namespaces relevant to the data contained in this Sail object.
|
CloseableIteration<? extends Statement,SailException> |
SailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Gets all statements from the specified contexts that have a specific subject, predicate and/or object.
|
default CloseableIteration<? extends Statement,SailException> |
SailConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.getStatements(Resource, IRI, Value, boolean, Resource...) instead. |
Modifier and Type | Method and Description |
---|---|
void |
SailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds a statement to the store.
|
default void |
SailConnection.addStatement(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.addStatement(Resource, IRI, Value, Resource...) instead. |
void |
SailConnection.addStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds a statement to the store.
|
default void |
SailConnection.addStatement(UpdateContext op,
Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.addStatement(UpdateContext, Resource, IRI, Value, Resource...) instead. |
void |
SailConnection.begin()
Begins a transaction requiring
SailConnection.commit() or SailConnection.rollback() to be called to close the transaction. |
void |
SailConnection.begin(IsolationLevel level)
Begins a transaction with the specified
IsolationLevel level, requiring SailConnection.commit() or
SailConnection.rollback() to be called to close the transaction. |
void |
SailConnection.clear(Resource... contexts)
Removes all statements from the specified/all contexts.
|
void |
SailConnection.clearNamespaces()
Removes all namespace declarations from the repository.
|
void |
SailConnection.close()
Closes the connection.
|
void |
SailConnection.commit()
Commits any updates that have been performed since the last time
SailConnection.commit() or SailConnection.rollback() was
called. |
protected long |
SailIsolationLevelTest.count(SailConnection con,
Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected int |
RDFStoreTest.countAllElements() |
protected int |
RDFStoreTest.countContext1Elements() |
protected abstract Sail |
SailConcurrencyTest.createSail() |
protected abstract Sail |
SailIsolationLevelTest.createSail() |
protected abstract Sail |
SailInterruptTest.createSail() |
protected abstract NotifyingSail |
RDFNotifyingStoreTest.createSail()
Gets an instance of the Sail that should be tested.
|
void |
SailConnection.endUpdate(UpdateContext op)
Indicates that the given
op will not be used in any call again. |
CloseableIteration<? extends BindingSet,QueryEvaluationException> |
SailConnection.evaluate(TupleExpr tupleExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred)
Evaluates the supplied TupleExpr on the data contained in this Sail object, using the (optional) dataset and
supplied bindings as input parameters.
|
void |
SailConnection.flush()
Flushes any pending updates and notify changes to listeners as appropriate.
|
NotifyingSailConnection |
NotifyingSail.getConnection()
Opens a connection on the Sail which can be used to query and update data.
|
SailConnection |
Sail.getConnection()
Opens a connection on the Sail which can be used to query and update data.
|
CloseableIteration<? extends Resource,SailException> |
SailConnection.getContextIDs()
Returns the set of all unique context identifiers that are used to store statements.
|
String |
SailConnection.getNamespace(String prefix)
Gets the namespace that is associated with the specified prefix, if any.
|
CloseableIteration<? extends Namespace,SailException> |
SailConnection.getNamespaces()
Gets the namespaces relevant to the data contained in this Sail object.
|
CloseableIteration<? extends Statement,SailException> |
SailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Gets all statements from the specified contexts that have a specific subject, predicate and/or object.
|
default CloseableIteration<? extends Statement,SailException> |
SailConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.getStatements(Resource, IRI, Value, boolean, Resource...) instead. |
default boolean |
SailConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Determines if the store contains any statements from the specified contexts that have a specific subject,
predicate and/or object.
|
default void |
Sail.init()
Initializes the Sail.
|
void |
Sail.initialize()
Deprecated.
Use {
Sail.init() instead. |
protected void |
SailConcurrencyTest.insertTestStatement(SailConnection connection,
int i) |
protected void |
SailIsolationLevelTest.insertTestStatement(SailConnection connection,
int i) |
boolean |
SailConnection.isOpen()
Checks whether this SailConnection is open.
|
protected boolean |
SailIsolationLevelTest.isSupported(IsolationLevels level) |
boolean |
Sail.isWritable()
Checks whether this Sail object is writable, i.e.
|
void |
SailConnection.prepare()
Checks for an error state in the active transaction that would force the transaction to be rolled back.
|
protected Literal |
SailIsolationLevelTest.readLiteral(SailConnection con,
IRI subj,
IRI pred) |
void |
SailConnection.removeNamespace(String prefix)
Removes a namespace declaration by removing the association between a prefix and a namespace name.
|
void |
SailConnection.removeStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes all statements matching the specified subject, predicate and object from the repository.
|
default void |
SailConnection.removeStatement(UpdateContext op,
Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. USe
SailConnection.removeStatement(UpdateContext, Resource, IRI, Value, Resource...) instead. |
void |
SailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes all statements matching the specified subject, predicate and object from the repository.
|
default void |
SailConnection.removeStatements(Resource subj,
URI pred,
Value obj,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.removeStatements(Resource, IRI, Value, Resource...) instead. |
protected void |
SailConcurrencyTest.removeTestStatement(SailConnection connection,
int i) |
void |
SailConnection.rollback()
Rolls back the transaction, discarding any uncommitted changes that have been made in this SailConnection.
|
void |
SailConnection.setNamespace(String prefix,
String name)
Sets the prefix for a namespace.
|
void |
Sail.shutDown()
Shuts down the Sail, giving it the opportunity to synchronize any stale data.
|
long |
SailConnection.size(Resource... contexts)
Returns the number of (explicit) statements in the store, or in specific contexts.
|
void |
SailConnection.startUpdate(UpdateContext op)
Signals the start of an update operation.
|
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Resource,SailException> |
SailDataset.getContextIDs()
Returns the set of all unique context identifiers that are used to store statements.
|
protected CloseableIteration<? extends Resource,SailException> |
SailSourceConnection.getContextIDsInternal() |
CloseableIteration<? extends Namespace,SailException> |
SailDataset.getNamespaces()
Gets the namespaces relevant to the data contained in this object.
|
protected CloseableIteration<? extends Namespace,SailException> |
SailSourceConnection.getNamespacesInternal() |
CloseableIteration<? extends Statement,SailException> |
SailDataset.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements that have a specific subject, predicate and/or object.
|
protected CloseableIteration<? extends Statement,SailException> |
SailSourceConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
boolean |
SailSourceConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailSourceConnection.addStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailSink.approve(Resource subj,
IRI pred,
Value obj,
Resource ctx)
Adds a statement to the store.
|
default void |
SailSink.approve(Statement statement)
Adds a statement to the store.
|
void |
SailSink.clear(Resource... contexts)
Removes all statements from the specified/all contexts.
|
void |
SailSourceConnection.clearInferred(Resource... contexts) |
protected void |
SailSourceConnection.clearInternal(Resource... contexts) |
void |
SailSink.clearNamespaces()
Removes all namespace declarations from this
SailSource . |
protected void |
SailSourceConnection.clearNamespacesInternal() |
void |
BackingSailSource.close() |
void |
SailDataset.close()
Called when this
SailDataset is no longer is used, such as when a read operation is complete. |
void |
SnapshotSailStore.close() |
void |
SailClosable.close()
Closes this resource, relinquishing any underlying resources.
|
protected void |
SailSourceConnection.closeInternal() |
protected void |
SailSourceConnection.commitInternal() |
SailDataset |
SailSource.dataset(IsolationLevel level)
Create an observable
SailDataset of the current state of this SailSource . |
default void |
SailSink.deprecate(Resource subj,
IRI pred,
Value obj,
Resource ctx)
Deprecated.
|
void |
SailSink.deprecate(Statement statement)
Removes a statement.
|
protected void |
SailSourceConnection.endUpdateInternal(UpdateContext op) |
protected CloseableIteration<? extends BindingSet,QueryEvaluationException> |
SailSourceConnection.evaluateInternal(TupleExpr tupleExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred) |
void |
BackingSailSource.flush() |
void |
SailSource.flush()
Apply all the changes to this branch to the backing
SailSource , if applicable. |
void |
SailSink.flush()
Once this method returns successfully, changes that were made to this
SailSink will be visible to
subsequent SailSource.dataset(org.eclipse.rdf4j.IsolationLevel) . |
void |
SailSourceConnection.flushUpdates() |
CloseableIteration<? extends Resource,SailException> |
SailDataset.getContextIDs()
Returns the set of all unique context identifiers that are used to store statements.
|
protected CloseableIteration<? extends Resource,SailException> |
SailSourceConnection.getContextIDsInternal() |
String |
SailDataset.getNamespace(String prefix)
Gets the namespace that is associated with the specified prefix, if any.
|
protected String |
SailSourceConnection.getNamespaceInternal(String prefix) |
CloseableIteration<? extends Namespace,SailException> |
SailDataset.getNamespaces()
Gets the namespaces relevant to the data contained in this object.
|
protected CloseableIteration<? extends Namespace,SailException> |
SailSourceConnection.getNamespacesInternal() |
protected Statement |
DistinctModelReducingUnionIteration.getNextElement() |
CloseableIteration<? extends Statement,SailException> |
SailDataset.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements that have a specific subject, predicate and/or object.
|
protected CloseableIteration<? extends Statement,SailException> |
SailSourceConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected void |
DistinctModelReducingUnionIteration.handleClose() |
void |
SailSink.observe(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Called to indicate matching statements have been observed and must not change their state until after this
SailSink is committed, iff this was opened in an isolation level compatible with
IsolationLevels.SERIALIZABLE . |
void |
BackingSailSource.prepare() |
void |
SailSource.prepare()
Check the consistency of this branch and throws a
SailConflictException if SailSource.flush() ing this
branch would cause the backing SailSource to be inconsistent, if applicable. |
void |
SailSink.prepare()
Checks if this
SailSink is consistent with the isolation level it was created with. |
protected void |
SailSourceConnection.prepareInternal() |
boolean |
SailSourceConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailSink.removeNamespace(String prefix)
Removes a namespace declaration by removing the association between a prefix and a namespace name.
|
protected void |
SailSourceConnection.removeNamespaceInternal(String prefix) |
void |
SailSourceConnection.removeStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
SailSourceConnection.rollbackInternal() |
void |
SailSink.setNamespace(String prefix,
String name)
Sets the prefix for a namespace.
|
protected void |
SailSourceConnection.setNamespaceInternal(String prefix,
String name) |
SailSink |
SailSource.sink(IsolationLevel level)
Create a
SailSink that when when its SailSource.flush() is called, the changes are applied to this source. |
protected long |
SailSourceConnection.sizeInternal(Resource... contexts) |
protected void |
SailSourceConnection.startTransactionInternal() |
void |
SailSourceConnection.startUpdate(UpdateContext op) |
Modifier and Type | Method and Description |
---|---|
protected NotifyingSailConnection |
ElasticsearchStore.getConnectionInternal() |
protected void |
ElasticsearchStore.initializeInternal() |
boolean |
ElasticsearchStore.isWritable() |
protected void |
ElasticsearchStore.shutDownInternal() |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,SailException> |
ReadCache.getStatements(Resource subject,
IRI predicate,
Value object,
Resource... context) |
CloseableIteration<? extends Statement,SailException> |
DataStructureInterface.getStatements(Resource subject,
IRI predicate,
Value object,
Resource... context) |
Modifier and Type | Method and Description |
---|---|
boolean |
ExtensibleStoreConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
ExtensibleStoreConnection.addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ExtensibleStoreConnection.clearInferred(Resource... contexts) |
protected void |
ExtensibleStoreConnection.clearInternal(Resource... contexts) |
protected void |
ExtensibleStoreConnection.commitInternal() |
protected void |
ExtensibleStore.initializeInternal() |
boolean |
ExtensibleStoreConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
ExtensibleStoreConnection.removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
ExtensibleStoreConnection.rollbackInternal() |
protected void |
ExtensibleStore.shutDownInternal() |
protected void |
ExtensibleStoreConnection.startTransactionInternal() |
Modifier and Type | Method and Description |
---|---|
SailConnection |
Federation.getConnection()
Deprecated.
|
void |
Federation.init()
Deprecated.
|
void |
Federation.initialize()
Deprecated.
|
boolean |
Federation.isWritable()
Deprecated.
|
void |
Federation.shutDown()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Resource,SailException> |
SailConnectionWrapper.getContextIDs() |
CloseableIteration<? extends Resource,SailException> |
AbstractSailConnection.getContextIDs() |
protected abstract CloseableIteration<? extends Resource,SailException> |
AbstractSailConnection.getContextIDsInternal() |
CloseableIteration<? extends Namespace,SailException> |
SailConnectionWrapper.getNamespaces() |
CloseableIteration<? extends Namespace,SailException> |
AbstractSailConnection.getNamespaces() |
protected abstract CloseableIteration<? extends Namespace,SailException> |
AbstractSailConnection.getNamespacesInternal() |
CloseableIteration<? extends Statement,SailException> |
SailConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
CloseableIteration<? extends Statement,SailException> |
AbstractSailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected abstract CloseableIteration<? extends Statement,SailException> |
AbstractSailConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
SailConnectionWrapper.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
AbstractSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailConnectionWrapper.addStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
AbstractSailConnection.addStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
The default implementation buffers added statements until the update operation is complete.
|
protected abstract void |
AbstractSailConnection.addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
AbstractSailConnection.autoStartTransaction()
Deprecated.
since 2.7.0. Use
AbstractSailConnection.verifyIsActive() instead. We should not automatically start a transaction
at the sail level. Instead, an exception should be thrown when an update is executed without first
starting a transaction. |
void |
SailConnectionWrapper.begin() |
void |
AbstractSailConnection.begin() |
void |
SailConnectionWrapper.begin(IsolationLevel level) |
void |
AbstractSailConnection.begin(IsolationLevel level) |
void |
SailConnectionWrapper.clear(Resource... contexts) |
void |
AbstractSailConnection.clear(Resource... contexts) |
protected abstract void |
AbstractSailConnection.clearInternal(Resource... contexts) |
void |
SailConnectionWrapper.clearNamespaces() |
void |
AbstractSailConnection.clearNamespaces() |
protected abstract void |
AbstractSailConnection.clearNamespacesInternal() |
void |
SailConnectionWrapper.close() |
void |
AbstractSailConnection.close() |
protected abstract void |
AbstractSailConnection.closeInternal() |
void |
SailConnectionWrapper.commit() |
void |
AbstractSailConnection.commit() |
protected abstract void |
AbstractSailConnection.commitInternal() |
void |
SailConnectionWrapper.endUpdate(UpdateContext modify) |
void |
AbstractSailConnection.endUpdate(UpdateContext op) |
protected void |
AbstractSailConnection.endUpdateInternal(UpdateContext op) |
CloseableIteration<? extends BindingSet,QueryEvaluationException> |
SailConnectionWrapper.evaluate(TupleExpr tupleExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred) |
CloseableIteration<? extends BindingSet,QueryEvaluationException> |
AbstractSailConnection.evaluate(TupleExpr tupleExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred) |
protected abstract CloseableIteration<? extends BindingSet,QueryEvaluationException> |
AbstractSailConnection.evaluateInternal(TupleExpr tupleExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred) |
void |
SailConnectionWrapper.flush() |
void |
AbstractSailConnection.flush() |
NotifyingSailConnection |
NotifyingSailWrapper.getConnection() |
SailConnection |
AbstractSail.getConnection() |
SailConnection |
SailWrapper.getConnection() |
NotifyingSailConnection |
AbstractNotifyingSail.getConnection() |
protected abstract SailConnection |
AbstractSail.getConnectionInternal()
Returns a store-specific SailConnection object.
|
protected abstract NotifyingSailConnection |
AbstractNotifyingSail.getConnectionInternal() |
CloseableIteration<? extends Resource,SailException> |
SailConnectionWrapper.getContextIDs() |
CloseableIteration<? extends Resource,SailException> |
AbstractSailConnection.getContextIDs() |
protected abstract CloseableIteration<? extends Resource,SailException> |
AbstractSailConnection.getContextIDsInternal() |
protected Lock |
AbstractSailConnection.getExclusiveConnectionLock()
Deprecated.
Use
AbstractSailConnection.connectionLock directly instead. |
String |
SailConnectionWrapper.getNamespace(String prefix) |
String |
AbstractSailConnection.getNamespace(String prefix) |
protected abstract String |
AbstractSailConnection.getNamespaceInternal(String prefix) |
CloseableIteration<? extends Namespace,SailException> |
SailConnectionWrapper.getNamespaces() |
CloseableIteration<? extends Namespace,SailException> |
AbstractSailConnection.getNamespaces() |
protected abstract CloseableIteration<? extends Namespace,SailException> |
AbstractSailConnection.getNamespacesInternal() |
protected Lock |
AbstractSailConnection.getSharedConnectionLock()
Deprecated.
Use
AbstractSailConnection.connectionLock directly instead. |
CloseableIteration<? extends Statement,SailException> |
SailConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
CloseableIteration<? extends Statement,SailException> |
AbstractSailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected abstract CloseableIteration<? extends Statement,SailException> |
AbstractSailConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected Lock |
AbstractSailConnection.getTransactionLock()
Deprecated.
Use
AbstractSailConnection.updateLock directly instead. |
void |
AbstractSail.init() |
void |
AbstractSail.initialize() |
void |
SailWrapper.initialize() |
protected void |
AbstractSail.initializeInternal()
Do store-specific operations to initialize the store.
|
boolean |
SailConnectionWrapper.isOpen() |
boolean |
AbstractSailConnection.isOpen() |
boolean |
SailWrapper.isWritable() |
void |
SailConnectionWrapper.prepare() |
void |
AbstractSailConnection.prepare() |
protected void |
AbstractSailConnection.prepareInternal() |
void |
SailConnectionWrapper.removeNamespace(String prefix) |
void |
AbstractSailConnection.removeNamespace(String prefix) |
protected abstract void |
AbstractSailConnection.removeNamespaceInternal(String prefix) |
void |
SailConnectionWrapper.removeStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
AbstractSailConnection.removeStatement(UpdateContext op,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
The default implementation buffers removed statements until the update operation is complete.
|
void |
SailConnectionWrapper.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
AbstractSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected abstract void |
AbstractSailConnection.removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SailConnectionWrapper.rollback() |
void |
AbstractSailConnection.rollback() |
protected abstract void |
AbstractSailConnection.rollbackInternal() |
void |
SailConnectionWrapper.setNamespace(String prefix,
String name) |
void |
AbstractSailConnection.setNamespace(String prefix,
String name) |
protected abstract void |
AbstractSailConnection.setNamespaceInternal(String prefix,
String name) |
void |
AbstractSail.shutDown() |
void |
SailWrapper.shutDown() |
protected abstract void |
AbstractSail.shutDownInternal()
Do store-specific operations to ensure proper shutdown of the store.
|
long |
SailConnectionWrapper.size(Resource... contexts) |
long |
AbstractSailConnection.size(Resource... contexts) |
long |
SailConnectionWrapper.size(Resource context) |
protected abstract long |
AbstractSailConnection.sizeInternal(Resource... contexts) |
protected abstract void |
AbstractSailConnection.startTransactionInternal() |
void |
SailConnectionWrapper.startUpdate(UpdateContext modify) |
void |
AbstractSailConnection.startUpdate(UpdateContext op) |
protected void |
AbstractSailConnection.verifyIsActive()
Verifies if a transaction is currently active.
|
protected void |
AbstractSailConnection.verifyIsOpen() |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Resource,SailException> |
InferencerConnectionWrapper.getContextIDs()
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection. |
CloseableIteration<? extends Statement,SailException> |
InferencerConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection. |
Modifier and Type | Method and Description |
---|---|
boolean |
InferencerConnectionWrapper.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
InferencerConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Adds an inferred statement to a specific context.
|
void |
InferencerConnectionWrapper.clearInferred(Resource... contexts) |
void |
InferencerConnection.clearInferred(Resource... contexts)
Removes all inferred statements from the specified/all contexts.
|
void |
InferencerConnectionWrapper.commit()
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection. |
CloseableIteration<? extends BindingSet,QueryEvaluationException> |
InferencerConnectionWrapper.evaluate(TupleExpr tupleExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred)
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection. |
void |
InferencerConnectionWrapper.flush() |
void |
InferencerConnectionWrapper.flushUpdates() |
void |
InferencerConnection.flushUpdates()
Flushes any pending updates to be processed and the resulting changes to be reported to registered
SailConnectionListener s. |
CloseableIteration<? extends Resource,SailException> |
InferencerConnectionWrapper.getContextIDs()
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection. |
CloseableIteration<? extends Statement,SailException> |
InferencerConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection. |
void |
InferencerConnectionWrapper.prepare()
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection. |
boolean |
InferencerConnectionWrapper.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
InferencerConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Removes an inferred statement from a specific context.
|
long |
InferencerConnectionWrapper.size(Resource... contexts)
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection. |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractForwardChainingInferencerConnection.addAxiomStatements()
Adds all basic set of axiom statements from which the complete set can be inferred to the underlying Sail.
|
boolean |
SchemaCachingRDFSInferencerConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
boolean |
DedupingInferencerConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SchemaCachingRDFSInferencerConnection.addStatement(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
void |
SchemaCachingRDFSInferencerConnection.addStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected abstract int |
AbstractForwardChainingInferencerConnection.applyRules(Model iteration)
Returns the number of newly inferred statements.
|
void |
SchemaCachingRDFSInferencerConnection.begin() |
void |
AbstractForwardChainingInferencerConnection.begin() |
void |
SchemaCachingRDFSInferencerConnection.begin(IsolationLevel level) |
void |
AbstractForwardChainingInferencerConnection.begin(IsolationLevel level) |
void |
SchemaCachingRDFSInferencerConnection.clearInferred(Resource... contexts) |
void |
DedupingInferencerConnection.clearInferred(Resource... contexts) |
void |
SchemaCachingRDFSInferencerConnection.commit() |
void |
DedupingInferencerConnection.commit() |
protected void |
AbstractForwardChainingInferencerConnection.doInferencing() |
void |
SchemaCachingRDFSInferencerConnection.flushUpdates() |
void |
AbstractForwardChainingInferencerConnection.flushUpdates() |
InferencerConnection |
DirectTypeHierarchyInferencer.getConnection() |
InferencerConnection |
CustomGraphQueryInferencer.getConnection() |
InferencerConnection |
DedupingInferencer.getConnection() |
org.eclipse.rdf4j.sail.inferencer.fc.ForwardChainingRDFSInferencerConnection |
ForwardChainingRDFSInferencer.getConnection()
Deprecated.
|
SchemaCachingRDFSInferencerConnection |
SchemaCachingRDFSInferencer.getConnection() |
void |
DirectTypeHierarchyInferencer.initialize() |
void |
CustomGraphQueryInferencer.initialize() |
void |
ForwardChainingRDFSInferencer.initialize()
Deprecated.
Adds axiom statements to the underlying Sail.
|
void |
SchemaCachingRDFSInferencer.initialize() |
boolean |
DedupingInferencerConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
SchemaCachingRDFSInferencerConnection.rollback() |
void |
DedupingInferencerConnection.rollback() |
void |
AbstractForwardChainingInferencerConnection.rollback() |
void |
CustomGraphQueryInferencer.setFields(QueryLanguage language,
String queryText,
String matcherText)
Called in order to set all the fields needed for the inferencer to function.
|
Constructor and Description |
---|
CustomGraphQueryInferencer(NotifyingSail baseSail,
QueryLanguage language,
String queryText,
String matcherText)
Create a new custom inferencer.
|
CustomGraphQueryInferencer(QueryLanguage language,
String queryText,
String matcherText)
Create a new custom inferencer.
|
Modifier and Type | Method and Description |
---|---|
void |
LuceneSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
LuceneSailConnection.begin() |
void |
LuceneSailConnection.clear(Resource... contexts) |
void |
LuceneSailConnection.close() |
void |
LuceneSailConnection.commit() |
Collection<BindingSet> |
SearchIndex.evaluate(QuerySpec query)
Deprecated.
|
Collection<BindingSet> |
AbstractSearchIndex.evaluate(QuerySpec query)
Deprecated.
|
Collection<BindingSet> |
SearchIndex.evaluate(SearchQueryEvaluator query) |
Collection<BindingSet> |
AbstractSearchIndex.evaluate(SearchQueryEvaluator evaluator) |
CloseableIteration<? extends BindingSet,QueryEvaluationException> |
LuceneSailConnection.evaluate(TupleExpr tupleExpr,
Dataset dataset,
BindingSet bindings,
boolean includeInferred) |
NotifyingSailConnection |
LuceneSail.getConnection() |
void |
LuceneSail.initialize() |
Set<QuerySpec> |
QuerySpecBuilder.process(TupleExpr tupleExpr,
BindingSet bindings)
Deprecated.
|
void |
SearchQueryInterpreter.process(TupleExpr tupleExpr,
BindingSet bindings,
Collection<SearchQueryEvaluator> specs)
Processes a TupleExpr into a set of SearchQueryEvaluators.
|
void |
GeoRelationQuerySpecBuilder.process(TupleExpr tupleExpr,
BindingSet bindings,
Collection<SearchQueryEvaluator> results) |
void |
DistanceQuerySpecBuilder.process(TupleExpr tupleExpr,
BindingSet bindings,
Collection<SearchQueryEvaluator> results) |
void |
QuerySpecBuilder.process(TupleExpr tupleExpr,
BindingSet bindings,
Collection<SearchQueryEvaluator> result)
Appends a set of QuerySpecs embodying all necessary information to perform the Lucene query embedded in a
TupleExpr.
|
void |
LuceneSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
LuceneSailConnection.rollback() |
void |
LuceneSail.shutDown() |
Modifier and Type | Method and Description |
---|---|
boolean |
MemoryStoreConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
MemoryStoreConnection.addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
MemoryStoreConnection.clearInferred(Resource... contexts) |
protected void |
MemoryStoreConnection.clearInternal(Resource... contexts) |
protected void |
MemoryStoreConnection.commitInternal() |
protected NotifyingSailConnection |
MemoryStore.getConnectionInternal() |
protected void |
MemoryStore.initializeInternal()
Initializes this repository.
|
boolean |
MemoryStoreConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
MemoryStoreConnection.removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
MemoryStoreConnection.rollbackInternal() |
protected void |
MemoryStore.scheduleSyncTask() |
protected void |
MemoryStore.shutDownInternal() |
protected void |
MemoryStoreConnection.startTransactionInternal() |
void |
MemoryStore.sync()
Synchronizes the contents of this repository with the data that is stored on disk.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NativeStoreConnection.addInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
NativeStoreConnection.addStatementInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ValueStore.checkConsistency()
Deprecated.
Checks that every value has exactly one ID.
|
void |
NativeStoreConnection.clearInferred(Resource... contexts) |
protected void |
NativeStoreConnection.clearInternal(Resource... contexts) |
protected void |
NativeStoreConnection.commitInternal() |
protected NotifyingSailConnection |
LimitedSizeNativeStore.getConnectionInternal() |
protected NotifyingSailConnection |
NativeStore.getConnectionInternal() |
protected Lock |
NativeStore.getTransactionLock(IsolationLevel level)
This call will block when
IsolationLevels.NONE is provided when there are active transactions with a
higher isolation and block when a higher isolation is provided when there are active transactions with
IsolationLevels.NONE isolation. |
protected void |
NativeStore.initializeInternal()
Initializes this NativeStore.
|
boolean |
NativeStoreConnection.removeInferredStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
NativeStoreConnection.removeStatementsInternal(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
protected void |
NativeStoreConnection.rollbackInternal() |
protected void |
NativeStore.shutDownInternal() |
protected void |
NativeStoreConnection.startTransactionInternal() |
Modifier and Type | Class and Description |
---|---|
class |
ShaclSailValidationException |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,SailException> |
ShaclSailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
ShaclSailConnection.addStatement(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ShaclSailConnection.addStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ShaclSailConnection.begin() |
void |
ShaclSailConnection.begin(IsolationLevel level) |
void |
ShaclSailConnection.clear(Resource... contexts) |
void |
ShaclSailConnection.close() |
void |
ShaclSailConnection.commit() |
NotifyingSailConnection |
ShaclSail.getConnection() |
CloseableIteration<? extends Statement,SailException> |
ShaclSailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
boolean |
ShaclSailConnection.hasStatement(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
void |
ShaclSail.initialize() |
void |
ShaclSailConnection.prepare() |
void |
ShaclSailConnection.removeStatement(UpdateContext modify,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ShaclSailConnection.removeStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
ShaclSailConnection.rollback() |
void |
ShaclSail.shutDown() |
Modifier and Type | Class and Description |
---|---|
class |
ConstraintViolationException
Exception thrown when a SPIN constraint is violated.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.rdf4j.sail.spin.SpinSailConnection |
SpinSail.getConnection()
Deprecated.
|
void |
SpinSail.initialize()
Deprecated.
|
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.