Uses of Interface
org.eclipse.rdf4j.model.Resource
Package
Description
A command line console tool for querying and updating local or remote RDF4J repositories.
The RDF Model API
Abstract base classes for RDF Model API interfaces.
Default implementations of the RDF model interfaces
Helper classes for working with RDF models.
The rdf4j SPARQL 1.1 parser.
The Repository API: the main API for accessing rdf databases and SPARQL endpoints.
Abstract base classes and wrappers for the main Repository API interfaces.
Repository configuration interfaces.
A repository wrapper with convenience functions for handling contexts.
Interfaces for notification/interception of events happening on Repositories and RepositoryConnections
Wrapper/adapter base implementations.
Repository implementation for local RDF databases that implement the SAIL SPI.
Helper and utility classes for the
SailRepository
A
Repository
that serves as a SPARQL endpoint client.Helper classes for working with Repositories.
Rio: The RDF4J parser/writer API.
Provides helpers classes for Rio.
Parser/writer for the N-Quads format.
Parser/writer for the N-Triples format.
Parser/writer for the RDF/JSON format.
Parser/writer for the RDF/XML format.
Parser/writer for the TriG format.
Parser/writer for the Turtle format.
RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an SPI for RDF databases.
Base functionality for Sail implementations that require multi-versioned concurrency control (MVCC).
ElasticSearch index for the
LuceneSail
.Elasticsearch store for string triples
Abstract base implementation and internal helper classes for Sail implementations.
Forward-chaining inferencers, implemented as
StackableSail
s.The LMDB based Store.
Lmdb implementations of the RDF Model interfaces.
A Sail implementation that supports full-text indexing via the Lucene API.
An implementation of the RDF SAIL API that uses main memory for storage.
MemoryStore-specific implementations of the core RDF model objects.
The Native Store.
Native implementations of the RDF Model interfaces.
A Sail implementation for SHACL constraint checking.
See discussion at https://github.com/eclipse/rdf4j/issues/1262
Rdf4j-Spring OperationLog
Rdf4j-Spring ResultCache
Rdf4J-Spring Tx
A SPARQL test suite for RDF4J repositories
-
Uses of Resource in org.eclipse.rdf4j.console
Modifier and TypeMethodDescriptionstatic Resource
Util.getContext
(Repository repository, String ctxID) Get context IRI from string representationstatic Resource[]
Util.getContexts
(String[] tokens, int pos, Repository repository) Get context IRIs from a series of tokens, starting from (zero-based) position within the series. -
Uses of Resource in org.eclipse.rdf4j.federated
Modifier and TypeMethodDescriptionprotected CloseableIteration<? extends Resource,
SailException> FedXConnection.getContextIDsInternal()
Modifier and TypeMethodDescriptionprotected void
FedXConnection.addStatementInternal
(Resource subj, IRI pred, Value obj, Resource... contexts) protected void
FedXConnection.clearInternal
(Resource... contexts) protected CloseableIteration<? extends Statement,
SailException> FedXConnection.getStatementsInternal
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) protected void
FedXConnection.removeStatementsInternal
(Resource subj, IRI pred, Value obj, Resource... contexts) protected long
FedXConnection.sizeInternal
(Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.federated.api
Modifier and TypeMethodDescriptionFedXApi.getStatements
(Resource subject, IRI predicate, Value object, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.federated.cache
Modifier and TypeMethodDescriptionstatic List<StatementSource>
CacheUtils.checkCacheForStatementSourcesUpdateCache
(SourceSelectionCache cache, List<Endpoint> endpoints, Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts) Checks the cache for relevant statement sources to the provided statement.static boolean
CacheUtils.checkCacheUpdateCache
(SourceSelectionCache cache, List<Endpoint> endpoints, Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts) Checks the cache if some endpoint can provide results to the subquery. -
Uses of Resource in org.eclipse.rdf4j.federated.endpoint.provider
Modifier and TypeMethodDescriptionprotected boolean
SPARQLRepositoryInformation.hasAdditionalSettings
(Model graph, Resource repNode) protected void
NativeRepositoryInformation.initialize
(Model graph, Resource repNode) protected void
RemoteRepositoryRepositoryInformation.initialize
(Model graph, Resource repNode) protected void
ResolvableRepositoryInformation.initialize
(Model graph, Resource repNode) protected void
SPARQLRepositoryInformation.initialize
(Model graph, Resource repNode) ModifierConstructorDescriptionNativeRepositoryInformation
(Model graph, Resource repNode) RemoteRepositoryRepositoryInformation
(Model graph, Resource repNode) ResolvableRepositoryInformation
(Model graph, Resource repNode) SPARQLRepositoryInformation
(Model graph, Resource repNode) -
Uses of Resource in org.eclipse.rdf4j.federated.evaluation
Modifier and TypeMethodDescriptionFederationEvalStrategy.getStatements
(QueryInfo queryInfo, Resource subj, IRI pred, Value obj, Resource... contexts) Retrieve the statements matching the provided subject, predicate and object value from the federation members.SailTripleSource.getStatements
(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts) SparqlTripleSource.getStatements
(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts) TripleSource.getStatements
(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts) Return the statements matching the given pattern as aStatement
iteration.boolean
SparqlTripleSource.hasStatements
(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts) boolean
TripleSource.hasStatements
(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts) Check if the repository can return results for the given triple pattern represented by subj, pred and objboolean
TripleSourceBase.hasStatements
(Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.federated.evaluation.union
Modifier and TypeFieldDescriptionprotected Resource[]
ParallelGetStatementsTask.contexts
protected final Resource
ParallelGetStatementsTask.subj
ModifierConstructorDescriptionParallelGetStatementsTask
(ParallelExecutor<Statement> unionControl, Endpoint endpoint, Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.federated.repository
-
Uses of Resource in org.eclipse.rdf4j.federated.structures
Modifier and TypeFieldDescriptionprotected final Resource[]
SubQuery.contexts
the contexts, length zero array for triple mode queryprotected final Resource
SubQuery.subj
protected final Resource
UnboundStatement.subj
Modifier and TypeMethodDescriptionResource[]
SubQuery.contexts()
UnboundStatement.getContext()
UnboundStatement.getSubject()
SubQuery.subject()
ModifierConstructorDescriptionQueryInfo
(Resource subj, IRI pred, Value obj, int maxExecutionTime, boolean includeInferred, FederationContext federationContext, FederationEvalStrategy strategy, Dataset dataset) UnboundStatement
(Resource subj, IRI pred, Value obj) -
Uses of Resource in org.eclipse.rdf4j.federated.util
Modifier and TypeMethodDescriptionstatic Resource[]
FedXUtil.toContexts
(StatementPattern stmt, Dataset dataset) Retrieve the contexts from theStatementPattern
andDataset
.static Resource[]
FedXUtil.toContexts
(Dataset ds) Convert the givenDataset
to an array of contextsModifier and TypeMethodDescriptionstatic Dataset
Convert the given contexts to aDataset
representation.static StatementPattern
QueryAlgebraUtil.toStatementPattern
(Resource subj, IRI pred, Value obj) static String
Return a string representation of this statement using the following pattern, where variables are indicated using ?var and values are represented as strings. -
Uses of Resource in org.eclipse.rdf4j.federated.write
Modifier and TypeMethodDescriptionvoid
ReadOnlyWriteStrategy.addStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) void
RepositoryWriteStrategy.addStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) void
WriteStrategy.addStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) Add a statementvoid
void
void
void
ReadOnlyWriteStrategy.removeStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) void
RepositoryWriteStrategy.removeStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) void
WriteStrategy.removeStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) Remove a statement -
Uses of Resource in org.eclipse.rdf4j.http.client
Modifier and TypeMethodDescriptionvoid
RDF4JProtocolSession.addData
(InputStream contents, String baseURI, RDFFormat dataFormat, Resource... contexts) void
RDF4JProtocolSession.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts) void
RDF4JProtocolSession.removeData
(InputStream contents, String baseURI, RDFFormat dataFormat, Resource... contexts) long
protected void
RDF4JProtocolSession.upload
(InputStream contents, String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Protocol.Action action, Resource... contexts) void
RDF4JProtocolSession.upload
(InputStream contents, String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Resource... contexts) protected void
RDF4JProtocolSession.upload
(Reader contents, String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Protocol.Action action, Resource... contexts) void
RDF4JProtocolSession.upload
(Reader contents, String baseURI, RDFFormat dataFormat, boolean overwrite, boolean preserveNodeIds, Resource... contexts) protected void
RDF4JProtocolSession.upload
(org.apache.http.HttpEntity reqEntity, String baseURI, boolean overwrite, boolean preserveNodeIds, Protocol.Action action, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.http.protocol
Modifier and TypeMethodDescriptionstatic Resource
Protocol.decodeContext
(String encodedValue, ValueFactory valueFactory) Decode a previously encoded context Resource.static Resource[]
Protocol.decodeContexts
(String[] encodedValues, ValueFactory valueFactory) Decode previously encoded contexts.static Resource
Protocol.decodeResource
(String encodedValue, ValueFactory valueFactory) Decode a previously encoded Resource.Modifier and TypeMethodDescriptionstatic String
Protocol.encodeContext
(Resource context) Encodes a context resource for use in a URL.static String[]
Protocol.encodeContexts
(Resource... contexts) Encode context resources for use in a URL. -
Uses of Resource in org.eclipse.rdf4j.http.protocol.transaction
-
Uses of Resource in org.eclipse.rdf4j.http.protocol.transaction.operations
Modifier and TypeMethodDescriptionResource[]
ContextOperation.getContexts()
StatementOperation.getSubject()
Modifier and TypeMethodDescriptionvoid
ContextOperation.setContexts
(Resource... contexts) void
StatementOperation.setSubject
(Resource subject) ModifierConstructorDescriptionAddStatementOperation
(Resource subj, IRI pred, Value obj, Resource... contexts) Create an AddStatementOperation.ClearOperation
(Resource... contexts) protected
ContextOperation
(Resource... contexts) RemoveStatementsOperation
(Resource subj, IRI pred, Value obj, Resource... contexts) Creates a RemoveStatementsOperation.protected
StatementOperation
(Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.http.server
Modifier and TypeMethodDescriptionstatic Resource[]
ProtocolUtil.parseContextParam
(javax.servlet.http.HttpServletRequest request, String paramName, ValueFactory vf) static Resource
ProtocolUtil.parseResourceParam
(javax.servlet.http.HttpServletRequest request, String paramName, ValueFactory vf) -
Uses of Resource in org.eclipse.rdf4j.model
Modifier and TypeInterfaceDescriptioninterface
An RDF-1.1 blank node (aka bnode, aka anonymous node).interface
An Internationalized Resource Identifier (IRI).interface
An RDF-star embedded triple.Modifier and TypeMethodDescriptionStatement.getContext()
Gets the context of this statement.Statement.getSubject()
Gets the subject of this statement.Triple.getSubject()
Gets the subject of this triple.Modifier and TypeMethodDescriptionModel.contexts()
Returns aSet
view of the contexts contained in this model.Model.subjects()
Returns aSet
view of the subjects contained in this model.Modifier and TypeMethodDescriptionboolean
Adds one or more statements to the model.boolean
Removes statements with the specified context exist in this model.boolean
Determines if statements with the specified subject, predicate, object and (optionally) context exist in this model.ValueFactory.createStatement
(Resource subject, IRI predicate, Value object) Creates a new statement with the supplied subject, predicate and object.ValueFactory.createStatement
(Resource subject, IRI predicate, Value object, Resource context) Creates a new statement with the supplied subject, predicate and object and associated context.default Triple
ValueFactory.createTriple
(Resource subject, IRI predicate, Value object) Creates a new RDF-star triple with the supplied subject, predicate and object.Returns a filtered view of the statements with the specified subject, predicate, object and (optionally) context.Model.getStatements
(Resource subject, IRI predicate, Value object, Resource... contexts) boolean
Removes statements with the specified subject, predicate, object and (optionally) context exist in this model. -
Uses of Resource in org.eclipse.rdf4j.model.base
Modifier and TypeClassDescriptionclass
Base class forBNode
, offering common functionality.class
Base class forIRI
, offering common functionality.class
Base class forTriple
, offering common functionality.final class
An IRI implementation that interns the stringValue so that two objects can be compared by their stringValue reference.Modifier and TypeMethodDescriptionAbstractValueFactory.createStatement
(Resource subject, IRI predicate, Value object) AbstractValueFactory.createStatement
(Resource subject, IRI predicate, Value object, Resource context) AbstractValueFactory.createTriple
(Resource subject, IRI predicate, Value object) -
Uses of Resource in org.eclipse.rdf4j.model.impl
Modifier and TypeClassDescriptionclass
GenericStatement<R extends Resource,
I extends IRI, V extends Value> An implementation of the Statement interface with support for Java Generics.Modifier and TypeClassDescriptionclass
An simple default implementation of theBNode
interface.class
The default implementation of theIRI
interface.class
A simple default implementation of theTriple
interface.Modifier and TypeFieldDescriptionprotected final R
GenericStatement.context
protected Resource[]
FilteredModel.contexts
protected Resource
FilteredModel.subj
protected final R
GenericStatement.subject
Modifier and TypeMethodDescriptionContextStatement.getContext()
Deprecated, for removal: This API element is subject to removal in a future version.LinkedHashModel.ModelStatement.getContext()
SimpleStatement.getContext()
Deprecated, for removal: This API element is subject to removal in a future version.LinkedHashModel.ModelStatement.getSubject()
SimpleStatement.getSubject()
Deprecated, for removal: This API element is subject to removal in a future version.SimpleTriple.getSubject()
Modifier and TypeMethodDescriptionAbstractModel.contexts()
DynamicModel.contexts()
AbstractModel.subjects()
DynamicModel.subjects()
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
SimpleValueFactory.createStatement
(Resource subject, IRI predicate, Value object) SimpleValueFactory.createStatement
(Resource subject, IRI predicate, Value object, Resource context) ValidatingValueFactory.createStatement
(Resource subject, IRI predicate, Value object) ValidatingValueFactory.createStatement
(Resource subject, IRI predicate, Value object, Resource context) SimpleValueFactory.createTriple
(Resource subject, IRI predicate, Value object) ValidatingValueFactory.createTriple
(Resource subject, IRI predicate, Value object) boolean
ContextStatement.exactSameContext
(Resource context) Deprecated, for removal: This API element is subject to removal in a future version.boolean
SimpleStatement.exactSameSubject
(Resource subject) Deprecated, for removal: This API element is subject to removal in a future version.DynamicModel.getStatements
(Resource subject, IRI predicate, Value object, Resource... contexts) boolean
boolean
boolean
boolean
boolean
protected abstract void
FilteredModel.removeFilteredTermIteration
(Iterator<Statement> iter, Resource subj, IRI pred, Value obj, Resource... contexts) Called by aggregate sets when a term has been removed from a term iterator.abstract void
AbstractModel.removeTermIteration
(Iterator<Statement> iter, Resource subj, IRI pred, Value obj, Resource... contexts) Called by aggregate sets when a term has been removed from a term iterator.void
EmptyModel.removeTermIteration
(Iterator<Statement> iter, Resource subj, IRI pred, Value obj, Resource... contexts) final void
FilteredModel.removeTermIteration
(Iterator<Statement> iter, Resource s, IRI p, Value o, Resource... c) void
LinkedHashModel.removeTermIteration
(Iterator iterator, Resource subj, IRI pred, Value obj, Resource... contexts) void
TreeModel.removeTermIteration
(Iterator<Statement> iterator, Resource subj, IRI pred, Value obj, Resource... contexts) ModifierConstructorDescriptionprotected
ContextStatement
(Resource subject, IRI predicate, Value object, Resource context) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new Statement with the supplied subject, predicate and object for the specified associated context.protected
FilteredModel
(AbstractModel model, Resource subj, IRI pred, Value obj, Resource... contexts) protected
SimpleStatement
(Resource subject, IRI predicate, Value object) Deprecated, for removal: This API element is subject to removal in a future version.Creates a new Statement with the supplied subject, predicate and object.protected
SimpleTriple
(Resource subject, IRI predicate, Value object) Creates a new Triple with the supplied subject, predicate and object.ModifierConstructorDescriptionModelStatement
(org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> subj, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<IRI> pred, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Value> obj, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> ctx) ModelStatement
(org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> subj, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<IRI> pred, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Value> obj, org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelNode<Resource> ctx, Statement statement) -
Uses of Resource in org.eclipse.rdf4j.model.util
Modifier and TypeMethodDescriptionModels.getPropertyResource
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value as an IRI for the supplied subject from the given model.Models.getPropertyResources
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property Resource values for the supplied subject and property from the given model.Models.objectResource
(Iterable<Statement> statements) Retrieves an objectResource
value from the supplied statements.Models.objectResource
(Model m) Retrieves an objectResource
value from the statements in the given model.Models.objectResources
(Iterable<Statement> statements) Retrieves all objectResource
values from the supplied statements.Models.objectResources
(Model m) Retrieves all objectResource
values from the supplied model.Retrieves a subjectResource
from the supplied statements.Retrieves a subjectResource
from the statements in the given model.Modifier and TypeMethodDescriptionAdd an RDF statement with the given subject, predicate and object to the model, using the current graph (either named or default).static <C extends Collection<Statement>>
CConverts the suppliedIterable
to an RDF Collection, using the suppliedhead
resource as the starting resource of the RDF Collection.static <C extends Collection<Statement>>
CRDFCollections.asRDF
(Iterable<?> values, Resource head, C sink, ValueFactory valueFactory, Resource... contexts) Converts the suppliedIterable
to an RDF Collection, using the suppliedhead
resource as the starting resource of the RDF Collection.static <C extends Collection<Value>>
CConverts an RDF Collection to a JavaCollection
ofValue
objects.static void
Statements.consume
(ValueFactory vf, Resource subject, IRI predicate, Value object, Consumer<Statement> consumer, Resource... contexts) static void
RDFCollections.consumeCollection
(Iterable<?> values, Resource head, Consumer<Statement> consumer, Resource... contexts) Converts the suppliedIterable
to an RDF Collection, using the suppliedhead
resource as the starting resource of the RDF Collection.static void
RDFCollections.consumeCollection
(Iterable<?> values, Resource head, Consumer<Statement> consumer, ValueFactory vf, Resource... contexts) Converts the suppliedIterable
to an RDF Collection, using the suppliedhead
resource as the starting resource of the RDF Collection.static void
RDFContainers.consumeContainer
(IRI containerType, Iterable<?> values, Resource container, Consumer<Statement> consumer, Resource... contexts) Converts the suppliedIterable
to an RDF Container, using the suppliedhead
resource as the starting resource of the RDF Containter.static void
RDFContainers.consumeContainer
(IRI containerType, Iterable<?> values, Resource container, Consumer<Statement> consumer, ValueFactory vf, Resource... contexts) Converts the suppliedIterable
to an RDF Container, using the suppliedhead
resource as the starting resource of the RDF Container.static void
RDFCollections.consumeValues
(Model m, Resource head, Consumer<Value> consumer, Resource... contexts) static void
RDFContainers.consumeValues
(Model m, Resource container, IRI containerType, Consumer<Value> consumer, Resource... contexts) static <C extends Collection<Statement>>
CStatements.create
(ValueFactory vf, Resource subject, IRI predicate, Value object, C collection, Resource... contexts) Creates one or moreStatement
objects with the given subject, predicate and object, one for each given context.static void
RDFCollections.extract
(Model sourceModel, Resource head, Consumer<Statement> consumer, Resource... contexts) Extracts the RDF Collection starting with suppliedhead
resource from the supplied sourceModel
and sends the statements that make up the collection to the suppliedConsumer
.static <E extends RDF4JException>
voidRDFCollections.extract
(GetStatementOptional statementSupplier, Resource head, Consumer<Statement> collectionConsumer, Function<String, Supplier<E>> exceptionSupplier, Resource... contexts) Extracts an RDF Collection starting with the supplied list head from the statement supplier and sends all statements that make up the collection to the suppliedConsumer
function.static void
RDFContainers.extract
(IRI containerType, Model sourceModel, Resource container, Consumer<Statement> consumer, Resource... contexts) Extracts the RDF Container starting with suppliedhead
resource from the supplied sourceModel
and sends the statements that make up the collection to the suppliedConsumer
.static <E extends RDF4JException>
voidRDFContainers.extract
(IRI containerType, GetStatementOptional statementSupplier, Resource container, Consumer<Statement> collectionConsumer, Function<String, Supplier<E>> exceptionSupplier, Resource... contexts) Extracts an RDF Container starting with the supplied container head from the statement supplier and sends all statements that make up the collection to the suppliedConsumer
function.Either supplies a statement matching the given pattern, orOptional.empty()
otherwise.static <C extends Collection<Statement>>
CRDFCollections.getCollection
(Model sourceModel, Resource head, C sink, Resource... contexts) Extracts the RDF Collection starting with the suppliedhead
resource from the supplied sourceModel
.static <C extends Collection<Statement>>
CRDFContainers.getContainer
(IRI containerType, Model sourceModel, Resource container, C sink, Resource... contexts) Models.getProperties
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property values for the supplied subject and property from the given model.Models.getProperty
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value for the supplied subject from the given model.Models.getPropertyIRI
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value as an IRI for the supplied subject from the given model.Models.getPropertyIRIs
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property IRI values for the supplied subject and property from the given model.Models.getPropertyLiteral
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value as aLiteral
for the supplied subject from the given model.Models.getPropertyLiterals
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property Literal values for the supplied subject and property from the given model.Models.getPropertyResource
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value as an IRI for the supplied subject from the given model.Models.getPropertyResources
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property Resource values for the supplied subject and property from the given model.Models.getPropertyString
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value as a String for the supplied subject from the given model.Models.getPropertyStrings
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property values as Strings for the supplied subject and property from the given model.ModelBuilder.namedGraph
(Resource namedGraph) Set the current graph in which to add new statements to the supplied named graph.static Model
Sets the property value for the given subject to the given object value, replacing any existing value(s) for the subject's property.static Statement
Create aStatement
from the supplied subject, predicate, object and context.static Statement
Create aStatement
from the suppliedRDF-star triple
and context.static Statement
Statements.statement
(ValueFactory vf, Resource subject, IRI predicate, Value object, Resource context) Create aStatement
from the supplied subject, predicate, object and context.static Statement
Statements.statement
(ValueFactory vf, Triple triple, Resource context) Create aStatement
from the suppliedRDF-star triple
and context.static Model
Models.stripContexts
(Model model, Resource... contexts) Strips contexts from the input model.Set the subject resource about which statements are to be added to the model.static <C extends Collection<Statement>>
CRDFContainers.toRDF
(IRI containerType, Iterable<?> values, Resource container, C sink, Resource... contexts) Converts the suppliedIterable
to an RDF Container, using the suppliedhead
resource as the starting resource of the RDF Containter.static <C extends Collection<Statement>>
CRDFContainers.toRDF
(IRI containerType, Iterable<?> values, Resource container, C sink, ValueFactory vf, Resource... contexts) Converts the suppliedIterable
to an RDF Container, using the suppliedhead
resource as the starting resource of the RDF Containter.static Statement
Statements.toStatement
(Triple triple, Resource context) Deprecated.static Statement
Statements.toStatement
(ValueFactory vf, Triple triple, Resource context) Deprecated.static <C extends Collection<Value>>
CRDFContainers.toValues
(IRI containerType, Model m, Resource container, C collection, Resource... contexts) Converts an RDF Containter to a JavaCollection
ofValue
objects.static Triple
Creates a newRDF-star embedded triple
with the supplied subject, predicate, and object.static Triple
Values.triple
(ValueFactory vf, Resource subject, IRI predicate, Value object) Creates a newRDF-star embedded triple
with the supplied subject, predicate, and object.Modifier and TypeMethodDescriptionstatic void
Statements.convertRDFStarToReification
(ValueFactory vf, Function<Triple, Resource> reifiedIdMapper, Statement st, Consumer<Statement> consumer) Converts the supplied RDF-star statement to RDF reification statements, and sends the resultant statements to the supplied consumer. -
Uses of Resource in org.eclipse.rdf4j.query.algebra.evaluation
Modifier and TypeMethodDescriptionCloseableIteration<? extends Triple,
QueryEvaluationException> RDFStarTripleSource.getRdfStarTriples
(Resource subj, IRI pred, Value obj) Gets all Triple nodes that have a specific subject, predicate and/or object.CloseableIteration<? extends Statement,
QueryEvaluationException> TripleSource.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) Gets all statements that have a specific subject, predicate and/or object. -
Uses of Resource in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps
Modifier and TypeFieldDescriptionstatic final Resource[]
StatementPatternQueryEvaluationStep.ALL_CONTEXT
static final Resource[]
StatementPatternQueryEvaluationStep.DEFAULT_CONTEXT
Modifier and TypeMethodDescriptionStatementPatternQueryEvaluationStep.filterContextOrEqualVariables
(StatementPattern statementPattern, Value subjValue, Value predValue, Value objValue, Resource[] contexts) Generate a predicate that tests for Named contexts are matched by retrieving all statements from the store and filtering out the statements that do not have a context. -
Uses of Resource in org.eclipse.rdf4j.query.algebra.evaluation.util
Modifier and TypeMethodDescriptionTripleSources.getObjectResources
(Resource subject, IRI predicate, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.TripleSources.listResources
(Resource subj, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionstatic boolean
TripleSources.booleanValue
(Resource subj, IRI pred, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.TripleSources.getObjectLiterals
(Resource subject, IRI predicate, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.TripleSources.getObjectResources
(Resource subject, IRI predicate, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.TripleSources.getObjectURIs
(Resource subject, IRI predicate, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.static Iteration<Value,
QueryEvaluationException> TripleSources.list
(Resource subj, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.TripleSources.listResources
(Resource subj, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.static Statement
TripleSources.single
(Resource subj, IRI pred, Value obj, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.Returns the single statement with the given subject, predicate and object or null if none exists.static Value
TripleSources.singleValue
(Resource subj, IRI pred, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Resource in org.eclipse.rdf4j.query.parser.sparql
Modifier and TypeMethodDescriptionprotected Resource
SPARQLUpdateDataBlockParser.parseImplicitBlank()
protected Resource
SPARQLUpdateDataBlockParser.parseNodeID()
-
Uses of Resource in org.eclipse.rdf4j.query.resultio.text.csv
Modifier and TypeMethodDescriptionprotected void
SPARQLResultsCSVWriter.writeResource
(Resource res) -
Uses of Resource in org.eclipse.rdf4j.query.resultio.text.tsv
Modifier and TypeMethodDescriptionprotected void
SPARQLResultsTSVWriter.writeResource
(Resource res) -
Uses of Resource in org.eclipse.rdf4j.repository
Modifier and TypeMethodDescriptionRepositoryConnection.getContextIDs()
Gets all resources that are used as content identifiers.Modifier and TypeMethodDescriptionvoid
Adds RDF data from the specified file to a specific contexts in the repository.default void
Adds RDF data from the specified file to a specific contexts in the repository.default void
Adds RDF data from the specified file to a specific contexts in the repository.void
RepositoryConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) Adds RDF data from an InputStream to the repository, optionally to one or more named contexts.default void
RepositoryConnection.add
(InputStream in, RDFFormat dataFormat, Resource... contexts) Adds RDF data from an InputStream to the repository, optionally to one or more named contexts.void
Adds RDF data from a Reader to the repository, optionally to one or more named contexts.default void
Adds RDF data from a Reader to the repository, optionally to one or more named contexts.void
Adds the supplied statements to this repository, optionally to one or more named contexts.void
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named contexts.default void
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named contexts.default void
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named contexts.default <E extends Exception>
voidRepositoryConnection.add
(CloseableIteration<? extends Statement, E> statements, Resource... contexts) Adds the supplied statements to this repository, optionally to one or more named contexts.<E extends Exception>
voidDeprecated, for removal: This API element is subject to removal in a future version.void
Adds a statement with the specified subject, predicate and object to this repository, optionally to one or more named contexts.void
Adds the supplied statement to this repository, optionally to one or more named contexts.default void
RepositoryConnection.add
(RepositoryResult<Statement> statements, Resource... contexts) Adds the supplied statements to this repository, optionally to one or more named contexts.void
Removes all statements from a specific contexts in the repository.void
RepositoryConnection.export
(RDFHandler handler, Resource... contexts) Exports all explicit statements in the specified contexts to the supplied RDFHandler.void
RepositoryConnection.exportStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts) Exports all statements with a specific subject, predicate and/or object from the repository, optionally from the specified contexts.RepositoryConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Gets all statements with a specific subject, predicate and/or object from the repository.default RepositoryResult<Statement>
RepositoryConnection.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) Gets all statements with a specific subject, predicate and/or object from the repository.boolean
RepositoryConnection.hasStatement
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Checks whether the repository contains statements with a specific subject, predicate and/or object, optionally in the specified contexts.boolean
RepositoryConnection.hasStatement
(Statement st, boolean includeInferred, Resource... contexts) Checks whether the repository contains the specified statement, optionally in the specified contexts.void
Removes the supplied statements from the specified contexts in this repository.default <E extends Exception>
voidRepositoryConnection.remove
(CloseableIteration<? extends Statement, E> statements, Resource... contexts) Removes the supplied statements from a specific context in this repository, ignoring any context information carried by the statements themselves.<E extends Exception>
voidDeprecated, for removal: This API element is subject to removal in a future version.void
Removes the statement(s) with the specified subject, predicate and object from the repository, optionally restricted to the specified contexts.void
Removes the supplied statement from the specified contexts in the repository.default void
RepositoryConnection.remove
(RepositoryResult<Statement> statements, Resource... contexts) Removes the supplied statements from a specific context in this repository, ignoring any context information carried by the statements themselves.long
Returns the number of (explicit) statements that are in the specified contexts in this repository. -
Uses of Resource in org.eclipse.rdf4j.repository.base
Modifier and TypeMethodDescriptionvoid
AbstractRepositoryConnection.add
(File file, String baseURI, RDFFormat dataFormat, Resource... contexts) void
AbstractRepositoryConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
AbstractRepositoryConnection.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
AbstractRepositoryConnection.add
(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts) <E extends Exception>
voidvoid
AbstractRepositoryConnection.add
(Resource subject, IRI predicate, Value object, Resource... contexts) void
void
RepositoryConnectionWrapper.add
(File file, String baseURI, RDFFormat dataFormat, Resource... contexts) void
RepositoryConnectionWrapper.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
RepositoryConnectionWrapper.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
RepositoryConnectionWrapper.add
(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts) <E extends Exception>
voidRepositoryConnectionWrapper.add
(Iteration<? extends Statement, E> statementIter, Resource... contexts) void
RepositoryConnectionWrapper.add
(Resource subject, IRI predicate, Value object, Resource... contexts) void
protected abstract void
AbstractRepositoryConnection.addWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) protected void
AbstractRepositoryConnection.addWithoutCommit
(Statement st, Resource... contexts) protected void
RepositoryConnectionWrapper.addWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) void
void
void
AbstractRepositoryConnection.export
(RDFHandler handler, Resource... contexts) void
RepositoryConnectionWrapper.exportStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts) RepositoryConnectionWrapper.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) boolean
AbstractRepositoryConnection.hasStatement
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) boolean
AbstractRepositoryConnection.hasStatement
(Statement st, boolean includeInferred, Resource... contexts) boolean
RepositoryConnectionWrapper.hasStatement
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) boolean
RepositoryConnectionWrapper.hasStatement
(Statement st, boolean includeInferred, Resource... contexts) void
<E extends Exception>
voidAbstractRepositoryConnection.remove
(Iteration<? extends Statement, E> statements, Resource... contexts) void
AbstractRepositoryConnection.remove
(Resource subject, IRI predicate, Value object, Resource... contexts) void
void
<E extends Exception>
voidRepositoryConnectionWrapper.remove
(Iteration<? extends Statement, E> statementIter, Resource... contexts) void
RepositoryConnectionWrapper.remove
(Resource subject, IRI predicate, Value object, Resource... contexts) void
protected abstract void
AbstractRepositoryConnection.removeWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) protected void
AbstractRepositoryConnection.removeWithoutCommit
(Statement st, Resource... contexts) protected void
RepositoryConnectionWrapper.removeWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) long
-
Uses of Resource in org.eclipse.rdf4j.repository.config
Modifier and TypeMethodDescriptionExport thisRepositoryImplConfig
to its RDF representationstatic Resource
RepositoryConfigUtil.getContext
(RepositoryConnection con, String repositoryID) Deprecated.Modifier and TypeMethodDescriptionstatic RepositoryImplConfig
Utility method to create a newRepositoryImplConfig
by reading data from the suppliedModel
.static RepositoryConfig
Creates a newRepositoryConfig
object and initializes it by supplying themodel
andrepositoryNode
to itsparse
method.void
Exports the configuration into RDF using the given repositoryNodevoid
void
void
void
Reads the properties of thisRepositoryImplConfig
from the supplied Model and sets them accordingly. -
Uses of Resource in org.eclipse.rdf4j.repository.contextaware
Modifier and TypeMethodDescriptionvoid
void
void
ContextAwareConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
ContextAwareConnection.add
(InputStream in, RDFFormat dataFormat, Resource... contexts) void
ContextAwareConnection.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
void
void
<E extends Exception>
voidvoid
void
void
void
ContextAwareConnection.export
(RDFHandler handler, Resource... contexts) void
ContextAwareConnection.exportStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts) void
ContextAwareConnection.exportStatements
(Resource subj, IRI pred, Value obj, RDFHandler handler, Resource... contexts) Exports all statements with a specific subject, predicate and/or object from the repository, optionally from the specified contexts.ContextAwareConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) ContextAwareConnection.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) Gets all statements with a specific subject, predicate and/or object from the repository.boolean
ContextAwareConnection.hasStatement
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) boolean
ContextAwareConnection.hasStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) Checks whether the repository contains statements with a specific subject, predicate and/or object, optionally in the specified contexts.boolean
ContextAwareConnection.hasStatement
(Statement st, boolean includeInferred, Resource... contexts) boolean
ContextAwareConnection.hasStatement
(Statement st, Resource... contexts) Checks whether the repository contains the specified statement, optionally in the specified contexts.void
<E extends Exception>
voidRemoves the supplied statements from a specific context in this repository, ignoring any context information carried by the statements themselves.void
Removes the statement with the specified subject, predicate and object from the repository, optionally restricted to the specified contexts.void
Removes the supplied statement from the specified contexts in the repository.protected void
ContextAwareConnection.removeWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) long
Returns the number of (explicit) statements that are in the specified contexts in this repository. -
Uses of Resource in org.eclipse.rdf4j.repository.contextaware.config
-
Uses of Resource in org.eclipse.rdf4j.repository.evaluation
Modifier and TypeMethodDescriptionCloseableIteration<? extends Statement,
QueryEvaluationException> RepositoryTripleSource.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.repository.event
Modifier and TypeMethodDescriptionboolean
RepositoryConnectionInterceptor.add
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) void
RepositoryConnectionListener.add
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) boolean
RepositoryConnectionInterceptor.clear
(RepositoryConnection conn, Resource... contexts) void
RepositoryConnectionListener.clear
(RepositoryConnection conn, Resource... contexts) boolean
RepositoryConnectionInterceptor.remove
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) void
RepositoryConnectionListener.remove
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.repository.event.base
Modifier and TypeMethodDescriptionboolean
RepositoryConnectionInterceptorAdapter.add
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) void
RepositoryConnectionListenerAdapter.add
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) void
InterceptingRepositoryConnectionWrapper.addWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) void
NotifyingRepositoryConnectionWrapper.addWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) void
void
boolean
RepositoryConnectionInterceptorAdapter.clear
(RepositoryConnection conn, Resource... contexts) void
RepositoryConnectionListenerAdapter.clear
(RepositoryConnection conn, Resource... contexts) boolean
RepositoryConnectionInterceptorAdapter.remove
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) void
RepositoryConnectionListenerAdapter.remove
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) void
InterceptingRepositoryConnectionWrapper.removeWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) void
NotifyingRepositoryConnectionWrapper.removeWithoutCommit
(Resource subj, IRI pred, Value obj, Resource... ctx) -
Uses of Resource in org.eclipse.rdf4j.repository.event.util
Modifier and TypeMethodDescriptionvoid
DebugRepositoryConnectionListener.add
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) void
DebugRepositoryConnectionListener.clear
(RepositoryConnection conn, Resource... contexts) void
DebugRepositoryConnectionListener.remove
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.repository.filters
Modifier and TypeMethodDescriptionboolean
AccurateRepositoryBloomFilter.mayHaveStatement
(RepositoryConnection conn, Resource subj, IRI pred, Value obj, Resource... contexts) boolean
InaccurateRepositoryBloomFilter.mayHaveStatement
(RepositoryConnection conn, Resource subj, IRI pred, Value obj, Resource... contexts) boolean
RepositoryBloomFilter.mayHaveStatement
(RepositoryConnection conn, Resource subj, IRI pred, Value obj, Resource... ctxs) Returns true if the repository may have such a statement or false if it definitely does not. -
Uses of Resource in org.eclipse.rdf4j.repository.http.config
-
Uses of Resource in org.eclipse.rdf4j.repository.sail
Modifier and TypeMethodDescriptionprotected void
SailRepositoryConnection.addWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) void
void
SailRepositoryConnection.exportStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts) SailRepositoryConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) boolean
SailRepositoryConnection.hasStatement
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) protected void
SailRepositoryConnection.removeWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) long
-
Uses of Resource in org.eclipse.rdf4j.repository.sail.config
Modifier and TypeMethodDescription -
Uses of Resource in org.eclipse.rdf4j.repository.sail.helpers
Modifier and TypeMethodDescriptionprotected void
RDFSailInserter.addStatement
(Resource subj, IRI pred, Value obj, Resource ctxt) -
Uses of Resource in org.eclipse.rdf4j.repository.sparql
Modifier and TypeMethodDescriptionvoid
void
SPARQLConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
void
void
protected void
SPARQLConnection.addWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) protected void
SPARQLConnection.addWithoutCommit
(Statement st, Resource... contexts) void
void
SPARQLConnection.exportStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, RDFHandler handler, Resource... contexts) SPARQLConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) boolean
SPARQLConnection.hasStatement
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) void
void
protected void
SPARQLConnection.removeWithoutCommit
(Resource subject, IRI predicate, Value object, Resource... contexts) protected void
SPARQLConnection.removeWithoutCommit
(Statement st, Resource... contexts) long
protected Iteration<Statement,
QueryEvaluationException> SPARQLConnection.toStatementIteration
(TupleQueryResult iter, Resource subj, IRI pred, Value obj) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Resource in org.eclipse.rdf4j.repository.sparql.config
-
Uses of Resource in org.eclipse.rdf4j.repository.util
Modifier and TypeFieldDescriptionprotected Resource[]
AbstractRDFInserter.contexts
The contexts to add the statements to.Modifier and TypeMethodDescriptionRDFRemover.getContext()
Gets the context identifier that this RDFRemover enforces upon all statements that are reported to it (in case enforcesContext() returns true).Resource[]
AbstractRDFInserter.getContexts()
Gets the contexts that this RDFInserter enforces upon all statements that are reported to it (in case enforcesContext() returns true).Modifier and TypeMethodDescriptionprotected abstract void
AbstractRDFInserter.addStatement
(Resource subj, IRI pred, Value obj, Resource ctxt) protected void
RDFInserter.addStatement
(Resource subj, IRI pred, Value obj, Resource ctxt) static void
Connections.consumeRDFCollection
(RepositoryConnection conn, Resource head, Consumer<Statement> collectionConsumer, Resource... contexts) void
AbstractRDFInserter.enforceContext
(Resource... contexts) Enforces the supplied contexts upon all statements that are reported to this RDFInserter.void
RDFRemover.enforceContext
(Resource context) Enforces the supplied context upon all statements that are reported to this RDFRemover.static <C extends Collection<Statement>>
CConnections.getRDFCollection
(RepositoryConnection conn, Resource head, C statementCollection, Resource... contexts) Retrieve allStatement
s that together form the RDF Collection starting with the supplied starting resource.Connections.getStatement
(RepositoryConnection conn, Resource subject, IRI predicate, Value object, Resource... contexts) Retrieve a singleStatement
matching with the supplied subject, predicate, object and context(s) from the givenRepositoryConnection
. -
Uses of Resource in org.eclipse.rdf4j.rio
Modifier and TypeMethodDescriptionstatic Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, ParserConfig settings, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, ModelFactory modelFactory, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, RDFFormat dataFormat, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
Rio.parse
(InputStream in, RDFFormat dataFormat, ParserConfig settings, Resource... contexts) Adds RDF data from anInputStream
to aModel
, optionally to one or more named contexts.static Model
static Model
Rio.parse
(Reader reader, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, ModelFactory modelFactory, Resource... contexts) static Model
Rio.parse
(Reader reader, String baseURI, RDFFormat dataFormat, ParserConfig settings, ValueFactory valueFactory, ParseErrorListener errors, Resource... contexts) static Model
static Model
Rio.parse
(Reader reader, RDFFormat dataFormat, ParserConfig settings, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.rio.helpers
Modifier and TypeMethodDescriptionprotected Resource
AbstractRDFParser.createNode()
protected Resource
AbstractRDFParser.createNode
(String nodeID) static Resource
NTriplesUtil.parseResource
(String nTriplesResource, ValueFactory valueFactory) Parses an N-Triples resource, creates an object for it using the supplied ValueFactory and returns this object.Modifier and TypeMethodDescriptionstatic void
NTriplesUtil.append
(Resource resource, Appendable appendable) Appends the N-Triples representation of the givenResource
to the givenAppendable
.protected Statement
AbstractRDFParser.createStatement
(Resource subj, IRI pred, Value obj) Creates a newStatement
object with the supplied components.protected Statement
AbstractRDFParser.createStatement
(Resource subj, IRI pred, Value obj, Resource context) Creates a newStatement
object with the supplied components.static String
NTriplesUtil.toNTriplesString
(Resource resource) Creates an N-Triples string for the supplied resource.ModifierConstructorDescriptionContextStatementCollector
(Collection<Statement> statements, Map<String, String> namespaces, ValueFactory vf, Resource... contexts) Creates a new StatementCollector that stores reported statements and namespaces in the supplied containers.ContextStatementCollector
(Collection<Statement> statements, ValueFactory vf, Resource... contexts) Creates a new StatementCollector that stores reported statements in the supplied collection and that uses a new LinkedHashMap to store the reported namespaces.ContextStatementCollector
(ValueFactory vf, Resource... contexts) Creates a new StatementCollector that uses a new ArrayList to store the reported statements and a new LinkedHashMap to store the reported namespaces. -
Uses of Resource in org.eclipse.rdf4j.rio.nquads
-
Uses of Resource in org.eclipse.rdf4j.rio.ntriples
-
Uses of Resource in org.eclipse.rdf4j.rio.rdfjson
Modifier and TypeMethodDescriptionstatic String
RDFJSONWriter.resourceToString
(Resource uriOrBnode) Returns the correct syntax for a Resource, depending on whether it is a URI or a Blank Node (ie, BNode)Modifier and TypeMethodDescriptionstatic void
RDFJSONWriter.writeObject
(Value object, Set<Resource> contexts, com.fasterxml.jackson.core.JsonGenerator jg) Helper method to reduce complexity of the JSON serialisation algorithm Any null contexts will only be serialised to JSON if there are also non-null contexts in the contexts array -
Uses of Resource in org.eclipse.rdf4j.rio.rdfxml
-
Uses of Resource in org.eclipse.rdf4j.rio.trig
Modifier and TypeMethodDescriptionprotected void
TriGParser.reportStatement
(Resource subj, IRI pred, Value obj) protected void
TriGParser.setContext
(Resource context) protected void
TriGWriter.writeStatement
(Resource subj, IRI pred, Value obj, Resource context, boolean canShortenSubject, boolean canShortenObject) -
Uses of Resource in org.eclipse.rdf4j.rio.trigstar
-
Uses of Resource in org.eclipse.rdf4j.rio.turtle
Modifier and TypeFieldDescriptionprotected Resource
TurtleWriter.lastWrittenSubject
protected Resource
TurtleParser.subject
Modifier and TypeMethodDescriptionprotected Resource
TurtleParser.parseCollection()
Parses a collection, e.g.protected Resource
TurtleParser.parseImplicitBlank()
Parses an implicit blank node.protected Resource
TurtleParser.parseNodeID()
Parses a blank node ID, e.g.Modifier and TypeMethodDescriptionprotected void
TurtleParser.reportStatement
(Resource subj, IRI pred, Value obj) protected void
TurtleWriter.writeResource
(Resource res) Deprecated.UseTurtleWriter.writeResource(Resource, boolean)
instead.protected void
TurtleWriter.writeResource
(Resource res, boolean canShorten) protected void
TurtleWriter.writeStatement
(Resource subj, IRI pred, Value obj, Resource context, boolean canShortenSubjectBNode, boolean canShortenObjectBNode) -
Uses of Resource in org.eclipse.rdf4j.sail
Modifier and TypeMethodDescriptionCloseableIteration<? extends Resource,
SailException> SailConnection.getContextIDs()
Returns the set of all unique context identifiers that are used to store statements.Modifier and TypeMethodDescriptionvoid
SailConnection.addStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) Adds a statement to the store.void
SailConnection.addStatement
(UpdateContext op, Resource subj, IRI pred, Value obj, Resource... contexts) Adds a statement to the store.void
Removes all statements from the specified/all contexts.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 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.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.void
SailConnection.removeStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) Removes all statements matching the specified subject, predicate and object from the repository.long
Returns the number of (explicit) statements in the store, or in specific contexts. -
Uses of Resource in org.eclipse.rdf4j.sail.base
Modifier and TypeMethodDescriptionChangeset.SimpleStatementPattern.getContext()
Changeset.SimpleStatementPattern.getSubject()
Modifier and TypeMethodDescriptionChangeset.getApprovedContexts()
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()
Changeset.getDeprecatedContexts()
Modifier and TypeMethodDescriptionboolean
SailSourceConnection.addInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) void
SailSourceConnection.addStatement
(UpdateContext op, Resource subj, IRI pred, Value obj, Resource... contexts) void
void
Adds a statement to the store.void
void
Removes all statements from the specified/all contexts.void
SailSourceConnection.clearInferred
(Resource... contexts) protected void
SailSourceConnection.clearInternal
(Resource... contexts) default void
Deprecated.default boolean
SailSink.deprecateByQuery
(Resource subj, IRI pred, Value obj, Resource[] contexts) Removes all statements with the specified subject, predicate, object, and context.CloseableIteration<? extends Triple,
QueryEvaluationException> SailDatasetTripleSource.getRdfStarTriples
(Resource subj, IRI pred, Value obj) 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.CloseableIteration<? extends Statement,
QueryEvaluationException> SailDatasetTripleSource.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) protected CloseableIteration<? extends Statement,
SailException> SailSourceConnection.getStatementsInternal
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) default CloseableIteration<? extends Triple,
SailException> SailDataset.getTriples
(Resource subj, IRI pred, Value obj) Gets all RDF-star triples that have a specific subject, predicate and/or object.void
void
default void
Called to indicate matching statements have been observed and must not change their state until after thisSailSink
is committed, iff this was opened in an isolation level compatible withIsolationLevels.SERIALIZABLE
.void
Called to indicate matching statements have been observed and must not change their state until after thisSailSink
is committed, iff this was opened in an isolation level compatible withIsolationLevels.SERIALIZABLE
.boolean
SailSourceConnection.removeInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) void
SailSourceConnection.removeStatement
(UpdateContext op, Resource subj, IRI pred, Value obj, Resource... contexts) protected long
SailSourceConnection.sizeInternal
(Resource... contexts) ModifierConstructorDescriptionSimpleStatementPattern
(Resource subject, IRI predicate, Value object, Resource context, boolean allContexts) -
Uses of Resource in org.eclipse.rdf4j.sail.base.config
-
Uses of Resource in org.eclipse.rdf4j.sail.config
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionvoid
void
void
static SailImplConfig
SailConfigUtil.parseRepositoryImpl
(Model m, Resource implNode) -
Uses of Resource in org.eclipse.rdf4j.sail.elasticsearch
Modifier and TypeMethodDescriptionvoid
ElasticsearchIndex.clearContexts
(Resource... contexts) ElasticsearchIndex.getDocument
(Resource subject, Resource context) Returns a Document representing the specified Resource and Context combination, or null when no such Document exists yet.Iterable<? extends SearchDocument>
ElasticsearchIndex.getDocuments
(Resource subject) Returns a list of Documents representing the specified Resource (empty when no such Document exists yet).Each document represent a set of statements with the specified Resource as a subject, which are stored in a specific contextprotected Iterable<? extends DocumentScore>
Parse the passed query.Iterable<? extends DocumentScore>
Deprecated.org.elasticsearch.search.SearchHits
ElasticsearchIndex.search
(Resource resource, org.elasticsearch.action.search.SearchRequestBuilder request, org.elasticsearch.index.query.QueryBuilder query) Evaluates the given query only for the given resource. -
Uses of Resource in org.eclipse.rdf4j.sail.elasticsearchstore.config
-
Uses of Resource in org.eclipse.rdf4j.sail.evaluation
Modifier and TypeMethodDescriptionCloseableIteration<? extends Statement,
QueryEvaluationException> SailTripleSource.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.sail.extensiblestore
Modifier and TypeMethodDescriptionboolean
ExtensibleStoreConnection.addInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) protected void
ExtensibleStoreConnection.addStatementInternal
(Resource subj, IRI pred, Value obj, Resource... contexts) default void
void
void
ExtensibleStoreConnection.clearInferred
(Resource... contexts) protected void
ExtensibleStoreConnection.clearInternal
(Resource... contexts) CloseableIteration<? extends ExtensibleStatement,
SailException> DataStructureInterface.getStatements
(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context) CloseableIteration<? extends ExtensibleStatement,
SailException> ReadCache.getStatements
(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context) boolean
ExtensibleStoreConnection.removeInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) default boolean
DataStructureInterface.removeStatementsByQuery
(Resource subj, IRI pred, Value obj, boolean inferred, Resource[] contexts) boolean
ReadCache.removeStatementsByQuery
(Resource subj, IRI pred, Value obj, boolean inferred, Resource[] contexts) protected void
ExtensibleStoreConnection.removeStatementsInternal
(Resource subj, IRI pred, Value obj, Resource... contexts) ModifierConstructorDescriptionFilteringIteration
(CloseableIteration<E, X> wrappedIteration, Resource subject, IRI predicate, Value object, boolean inferred, Resource... context) PartialStatement
(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context) -
Uses of Resource in org.eclipse.rdf4j.sail.extensiblestore.evaluationstatistics
Modifier and TypeMethodDescriptionvoid
CloseableIteration<? extends ExtensibleStatement,
SailException> EvaluationStatisticsWrapper.getStatements
(Resource subject, IRI predicate, Value object, boolean inferred, Resource... context) void
DynamicStatistics.removeByQuery
(Resource subj, IRI pred, Value obj, boolean inferred, Resource... contexts) void
ExtensibleDynamicEvaluationStatistics.removeByQuery
(Resource subj, IRI pred, Value obj, boolean inferred, Resource... contexts) boolean
EvaluationStatisticsWrapper.removeStatementsByQuery
(Resource subj, IRI pred, Value obj, boolean inferred, Resource[] contexts) -
Uses of Resource in org.eclipse.rdf4j.sail.extensiblestore.valuefactory
ModifierConstructorDescriptionExtensibleContextStatement
(Resource subject, IRI predicate, Value object, Resource context, boolean inferred) Creates a new Statement with the supplied subject, predicate and object for the specified associated context.ExtensibleStatementImpl
(Resource subject, IRI predicate, Value object, boolean inferred) Creates a new Statement with the supplied subject, predicate and object. -
Uses of Resource in org.eclipse.rdf4j.sail.helpers
Modifier and TypeMethodDescriptionfinal CloseableIteration<? extends Resource,
SailException> AbstractSailConnection.getContextIDs()
CloseableIteration<? extends Resource,
SailException> SailConnectionWrapper.getContextIDs()
protected abstract CloseableIteration<? extends Resource,
SailException> AbstractSailConnection.getContextIDsInternal()
Modifier and TypeMethodDescriptionfinal void
AbstractSailConnection.addStatement
(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.void
SailConnectionWrapper.addStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) void
SailConnectionWrapper.addStatement
(UpdateContext modify, Resource subj, IRI pred, Value obj, Resource... contexts) protected abstract void
AbstractSailConnection.addStatementInternal
(Resource subj, IRI pred, Value obj, Resource... contexts) final void
void
protected abstract void
AbstractSailConnection.clearInternal
(Resource... contexts) final CloseableIteration<? extends Statement,
SailException> AbstractSailConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) CloseableIteration<? extends Statement,
SailException> SailConnectionWrapper.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) final boolean
AbstractSailConnection.hasStatement
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) boolean
SailConnectionWrapper.hasStatement
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) protected boolean
AbstractSailConnection.hasStatementInternal
(Resource subj, IRI pred, Value obj, boolean includeInferred, 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.removeStatement
(UpdateContext modify, Resource subj, IRI pred, Value obj, Resource... contexts) final void
AbstractSailConnection.removeStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) void
SailConnectionWrapper.removeStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) protected abstract void
AbstractSailConnection.removeStatementsInternal
(Resource subj, IRI pred, Value obj, Resource... contexts) final long
long
long
protected abstract long
AbstractSailConnection.sizeInternal
(Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.sail.inferencer
Modifier and TypeMethodDescriptionCloseableIteration<? extends Resource,
SailException> InferencerConnectionWrapper.getContextIDs()
CallsInferencerConnectionWrapper.flushUpdates()
before forwarding the call to the wrapped connection.Modifier and TypeMethodDescriptionboolean
InferencerConnection.addInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) Adds an inferred statement to a specific context.boolean
InferencerConnectionWrapper.addInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) void
InferencerConnection.clearInferred
(Resource... contexts) Removes all inferred statements from the specified/all contexts.void
InferencerConnectionWrapper.clearInferred
(Resource... contexts) CloseableIteration<? extends Statement,
SailException> InferencerConnectionWrapper.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) CallsInferencerConnectionWrapper.flushUpdates()
before forwarding the call to the wrapped connection.boolean
InferencerConnectionWrapper.hasStatement
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) boolean
InferencerConnection.removeInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) Removes an inferred statement from a specific context.boolean
InferencerConnectionWrapper.removeInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) long
CallsInferencerConnectionWrapper.flushUpdates()
before forwarding the call to the wrapped connection. -
Uses of Resource in org.eclipse.rdf4j.sail.inferencer.fc
Modifier and TypeMethodDescriptionboolean
DedupingInferencerConnection.addInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) boolean
SchemaCachingRDFSInferencerConnection.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) void
DedupingInferencerConnection.clearInferred
(Resource... contexts) void
SchemaCachingRDFSInferencerConnection.clearInferred
(Resource... contexts) boolean
DedupingInferencerConnection.removeInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.sail.inferencer.fc.config
-
Uses of Resource in org.eclipse.rdf4j.sail.inferencer.util
Modifier and TypeMethodDescriptionprotected void
RDFInferencerInserter.addStatement
(Resource subj, IRI pred, Value obj, Resource ctxt) -
Uses of Resource in org.eclipse.rdf4j.sail.lmdb
Modifier and TypeMethodDescriptionboolean
LmdbStoreConnection.addInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) protected void
LmdbStoreConnection.addStatementInternal
(Resource subj, IRI pred, Value obj, Resource... contexts) void
LmdbStoreConnection.clearInferred
(Resource... contexts) protected void
LmdbStoreConnection.clearInternal
(Resource... contexts) boolean
LmdbStoreConnection.removeInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) protected void
LmdbStoreConnection.removeStatementsInternal
(Resource subj, IRI pred, Value obj, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.sail.lmdb.config
-
Uses of Resource in org.eclipse.rdf4j.sail.lmdb.model
-
Uses of Resource in org.eclipse.rdf4j.sail.lucene
Modifier and TypeMethodDescriptionstatic Resource
SearchFields.createContext
(String idString) static Resource
SearchFields.createResource
(String idString) Parses an id-string (a serialized resource) back to a resource Inverse method ofSearchFields.getResourceID(Resource)
Resource[]
LuceneSailBuffer.ClearContextOperation.getContexts()
protected Resource
AbstractSearchIndex.getResource
(SearchDocument document) Returns the Resource corresponding with the specified Document.QuerySpec.getSubject()
Modifier and TypeMethodDescriptionLuceneSailBuffer.AddRemoveOperation.getTypeAdded()
LuceneSailBuffer.AddRemoveOperation.getTypeRemoved()
Modifier and TypeMethodDescriptionfinal void
AbstractSearchIndex.addDocuments
(Resource subject, List<Statement> statements) Add a complete Lucene Document based on these statements.void
SearchIndex.addDocuments
(Resource subject, List<Statement> statements) Add a complete Lucene Document based on these statements.Do not search for an existing document with the same subject id.void
LuceneSailConnection.addStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) void
Deprecated.void
void
SearchIndex.clearContexts
(Resource... contexts) This should be called from within a begin-commit-rollback block.static String
SearchFields.getContextID
(Resource resource) Get the ID for a context.static String
SearchFields.getResourceID
(Resource resource) Returns the String ID corresponding with the specified Resource.protected abstract Iterable<? extends DocumentScore>
Iterable<? extends DocumentScore>
Deprecated.Queries for the given subject or all subjects if null.void
LuceneSailConnection.removeStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) ModifierConstructorDescriptionClearContextOperation
(Resource[] contexts) QuerySpec
(String matchesVarName, String propertyVarName, String scoreVarName, String snippetVarName, Resource subject, String queryString, IRI propertyURI) QuerySpec
(StatementPattern matchesPattern, StatementPattern queryPattern, StatementPattern propertyPattern, StatementPattern scorePattern, StatementPattern snippetPattern, StatementPattern typePattern, Resource subject, String queryString, IRI propertyURI) QuerySpec
(StatementPattern matchesPattern, StatementPattern queryPattern, StatementPattern propertyPattern, StatementPattern scorePattern, StatementPattern snippetPattern, StatementPattern typePattern, StatementPattern idPattern, Resource subject, String queryString, IRI propertyURI) -
Uses of Resource in org.eclipse.rdf4j.sail.lucene.config
-
Uses of Resource in org.eclipse.rdf4j.sail.lucene.impl
Modifier and TypeMethodDescriptionvoid
LuceneIndex.clearContexts
(Resource... contexts) org.apache.lucene.document.Document
LuceneIndex.getDocument
(Resource subject, Resource context) Returns a Document representing the specified Resource and Context combination, or null when no such Document exists yet.List<org.apache.lucene.document.Document>
LuceneIndex.getDocuments
(Resource subject) Returns a list of Documents representing the specified Resource (empty when no such Document exists yet).Each document represent a set of statements with the specified Resource as a subject, which are stored in a specific contextprotected Iterable<? extends DocumentScore>
Parse the passed query.Iterable<? extends DocumentScore>
Deprecated.org.apache.lucene.search.TopDocs
Evaluates the given query only for the given resource. -
Uses of Resource in org.eclipse.rdf4j.sail.memory
Modifier and TypeMethodDescriptionboolean
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) boolean
MemoryStoreConnection.removeInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) protected void
MemoryStoreConnection.removeStatementsInternal
(Resource subj, IRI pred, Value obj, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.sail.memory.config
-
Uses of Resource in org.eclipse.rdf4j.sail.memory.model
Modifier and TypeClassDescriptionclass
A MemoryStore-specific extension of BNodeImpl giving it node properties.class
A MemoryStore-specific implementation of URI that stores separated namespace and local name information to enable reuse of namespace String objects (reducing memory usage) and that gives it node properties.class
A MemoryStore-specific extension of Resource giving it subject statements.class
A MemoryStore-specific implementation ofTriple
.Modifier and TypeMethodDescriptionMemValueFactory.getMemResource
(Resource resource) See getMemValue() for description.MemValueFactory.getOrCreateMemResource
(Resource resource) SeeMemValueFactory.getOrCreateMemValue(Value)
for description. -
Uses of Resource in org.eclipse.rdf4j.sail.model
-
Uses of Resource in org.eclipse.rdf4j.sail.nativerdf
Modifier and TypeMethodDescriptionboolean
NativeStoreConnection.addInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) protected void
NativeStoreConnection.addStatementInternal
(Resource subj, IRI pred, Value obj, Resource... contexts) void
NativeStoreConnection.clearInferred
(Resource... contexts) protected void
NativeStoreConnection.clearInternal
(Resource... contexts) ValueStore.getNativeResource
(Resource resource) boolean
NativeStoreConnection.removeInferredStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) protected void
NativeStoreConnection.removeStatementsInternal
(Resource subj, IRI pred, Value obj, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.sail.nativerdf.config
-
Uses of Resource in org.eclipse.rdf4j.sail.nativerdf.model
-
Uses of Resource in org.eclipse.rdf4j.sail.shacl
Modifier and TypeMethodDescriptionvoid
ShaclSailConnection.addStatement
(Resource subj, IRI pred, Value obj, Resource... contexts) void
ShaclSailConnection.addStatement
(UpdateContext modify, Resource subj, IRI pred, Value obj, Resource... contexts) void
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
ShaclSailConnection.removeStatement
(UpdateContext modify, Resource subj, IRI pred, Value obj, Resource... contexts) void
ShaclSailConnection.removeStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) ModifierConstructorDescriptionValidationSettings
(Resource[] dataGraph, boolean logValidationPlans, boolean validateEntireBaseSail, boolean performanceLogging) -
Uses of Resource in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents
Modifier and TypeMethodDescriptionAbstractConstraintComponent.getId()
SimpleAbstractConstraintComponent.getId()
Modifier and TypeMethodDescriptionAbstractConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) AndConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) ClassConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) ConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) DashHasValueInConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) HasValueConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) MaxCountConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) MinCountConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) NotConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) OrConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) QualifiedMaxCountConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) QualifiedMinCountConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) SimpleAbstractConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) UniqueLangConstraintComponent.getAllTargetsPlan
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) boolean
AbstractConstraintComponent.requiresEvaluation
(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, Resource[] dataGraph, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) boolean
AndConstraintComponent.requiresEvaluation
(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, Resource[] dataGraph, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) boolean
ClassConstraintComponent.requiresEvaluation
(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, Resource[] dataGraph, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) boolean
ConstraintComponent.requiresEvaluation
(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, Resource[] dataGraph, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) boolean
NotConstraintComponent.requiresEvaluation
(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, Resource[] dataGraph, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) boolean
OrConstraintComponent.requiresEvaluation
(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, Resource[] dataGraph, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) boolean
QualifiedMaxCountConstraintComponent.requiresEvaluation
(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, Resource[] dataGraph, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) boolean
QualifiedMinCountConstraintComponent.requiresEvaluation
(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, Resource[] dataGraph, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) void
AndConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
ClassConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
ClosedConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
DashHasValueInConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
DatatypeConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
DisjointConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
EqualsConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
HasValueConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
InConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
LanguageInConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
LessThanConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
LessThanOrEqualsConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxExclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxInclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxLengthConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinExclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinInclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinLengthConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
NodeKindConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
NotConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
OrConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
PatternConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
QualifiedMaxCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
QualifiedMinCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
UniqueLangConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
XoneConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) Modifier and TypeMethodDescriptionvoid
AndConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
ClassConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
ClosedConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
DashHasValueInConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
DatatypeConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
DisjointConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
EqualsConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
HasValueConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
InConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
LanguageInConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
LessThanConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
LessThanOrEqualsConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxExclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxInclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MaxLengthConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinExclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinInclusiveConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
MinLengthConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
NodeKindConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
NotConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
OrConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
PatternConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
QualifiedMaxCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
QualifiedMinCountConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
UniqueLangConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) void
XoneConstraintComponent.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) ModifierConstructorDescriptionAndConstraintComponent
(Resource id, ShapeSource shapeSource, org.eclipse.rdf4j.sail.shacl.ast.Cache cache, ShaclSail shaclSail) ClosedConstraintComponent
(ShapeSource shapeSource, List<Resource> property, Resource ignoredProperties) DashHasValueInConstraintComponent
(ShapeSource shapeSource, Resource hasValueIn) InConstraintComponent
(ShapeSource shapeSource, Resource in) LanguageInConstraintComponent
(ShapeSource shapeSource, Resource languageIn) NodeKindConstraintComponent
(Resource nodeKind) NotConstraintComponent
(Resource id, ShapeSource shapeSource, org.eclipse.rdf4j.sail.shacl.ast.Cache cache, ShaclSail shaclSail) OrConstraintComponent
(Resource id, ShapeSource shapeSource, org.eclipse.rdf4j.sail.shacl.ast.Cache cache, ShaclSail shaclSail) QualifiedMaxCountConstraintComponent
(Resource id, ShapeSource shapeSource, org.eclipse.rdf4j.sail.shacl.ast.Cache cache, ShaclSail shaclSail, Boolean qualifiedValueShapesDisjoint, Long qualifiedMaxCount) QualifiedMinCountConstraintComponent
(Resource id, ShapeSource shapeSource, org.eclipse.rdf4j.sail.shacl.ast.Cache cache, ShaclSail shaclSail, Boolean qualifiedValueShapesDisjoint, Long qualifiedMinCount) XoneConstraintComponent
(Resource id, ShapeSource shapeSource, org.eclipse.rdf4j.sail.shacl.ast.Cache cache, ShaclSail shaclSail) ModifierConstructorDescriptionClosedConstraintComponent
(ShapeSource shapeSource, List<Resource> property, Resource ignoredProperties) -
Uses of Resource in org.eclipse.rdf4j.sail.shacl.ast.paths
Modifier and TypeMethodDescriptionstatic Path
Path.buildPath
(ShapeSource shapeSource, Resource id) AlternativePath.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) InversePath.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) OneOrMorePath.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) abstract PlanNode
Path.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) SequencePath.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) SimplePath.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) ZeroOrMorePath.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) ZeroOrOnePath.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) void
void
void
void
void
void
void
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
ModifierConstructorDescriptionAlternativePath
(Resource id, Resource alternativePath, ShapeSource shapeSource) InversePath
(Resource id, Resource inversePath, ShapeSource shapeSource) OneOrMorePath
(Resource id, Resource oneOrMorePath, ShapeSource shapeSource) SequencePath
(Resource id, ShapeSource shapeSource) ZeroOrMorePath
(Resource id, Resource zeroOrMorePath, ShapeSource shapeSource) ZeroOrOnePath
(Resource id, Resource zeroOrOnePath, ShapeSource shapeSource) -
Uses of Resource in org.eclipse.rdf4j.sail.shacl.ast.planNodes
Modifier and TypeMethodDescriptionstatic Dataset
PlanNodeHelper.asDefaultGraphDataset
(Resource[] dataGraph) static Function<BindingSet,
ValidationTuple> BulkedExternalInnerJoin.getMapper
(String a, String c, ConstraintComponent.Scope scope, Resource[] dataGraph) ModifierConstructorDescriptionAllTargetsPlanNode
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ArrayDeque<EffectiveTarget.EffectiveTargetObject> chain, List<org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable> vars, ConstraintComponent.Scope scope) BindSelect
(SailConnection connection, Resource[] dataGraph, String query, List<org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable> vars, PlanNode source, List<String> varNames, ConstraintComponent.Scope scope, int bulkSize, EffectiveTarget.Extend direction, boolean includePropertyShapeValues) BulkedExternalInnerJoin
(PlanNode leftNode, SailConnection connection, Resource[] dataGraph, String query, boolean skipBasedOnPreviousConnection, SailConnection previousStateConnection, Function<BindingSet, ValidationTuple> mapper) BulkedExternalLeftOuterJoin
(PlanNode leftNode, SailConnection connection, Resource[] dataGraph, String query, Function<BindingSet, ValidationTuple> mapper) ExternalFilterByPredicate
(SailConnection connection, Set<IRI> filterOnPredicates, PlanNode parent, ExternalFilterByPredicate.On on, Resource[] dataGraph) ExternalFilterByQuery
(SailConnection connection, Resource[] dataGraph, PlanNode parent, String queryFragment, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable queryVariable, Function<ValidationTuple, Value> filterOn) ExternalFilterTargetIsObject
(SailConnection connection, Resource[] dataGraph, PlanNode parent) ExternalFilterTargetIsSubject
(SailConnection connection, Resource[] dataGraph, PlanNode parent) ExternalPredicateObjectFilter
(SailConnection connection, Resource[] dataGraph, IRI filterOnPredicate, Set<Resource> filterOnObject, PlanNode parent, boolean returnMatching, ExternalPredicateObjectFilter.FilterOn filterOn) Select
(SailConnection connection, String queryFregment, String orderBy, Function<BindingSet, ValidationTuple> mapper, Resource[] dataGraph) Select
(SailConnection connection, String query, Function<BindingSet, ValidationTuple> mapper, Resource[] dataGraph) UnorderedSelect
(SailConnection connection, Resource subject, IRI predicate, Value object, Resource[] dataGraph, Function<Statement, ValidationTuple> mapper) ValidationTuple
(List<Value> chain, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValidationTuple
(Value[] chain, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValidationTuple
(Value a, Value c, ConstraintComponent.Scope scope, boolean hasValue, Resource context) ValidationTuple
(Value a, Value c, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValidationTuple
(Value subject, ConstraintComponent.Scope scope, boolean hasValue, Resource context) ValidationTuple
(Value subject, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValidationTuple
(BindingSet bindingSet, String[] variables, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValidationTuple
(BindingSet bindingSet, List<String> variables, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValuesBackedNode
(SortedSet<Value> values, ConstraintComponent.Scope scope, Resource[] contexts) ModifierConstructorDescriptionExternalPredicateObjectFilter
(SailConnection connection, Resource[] dataGraph, IRI filterOnPredicate, Set<Resource> filterOnObject, PlanNode parent, boolean returnMatching, ExternalPredicateObjectFilter.FilterOn filterOn) -
Uses of Resource in org.eclipse.rdf4j.sail.shacl.ast.targets
Modifier and TypeMethodDescriptionboolean
EffectiveTarget.couldMatch
(ConnectionsGroup connectionsGroup, Resource[] dataGraph) EffectiveTarget.extend
(PlanNode source, ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, EffectiveTarget.Extend direction, boolean includePropertyShapeValues, Function<PlanNode, PlanNode> filter) DashAllObjects.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope) DashAllSubjects.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope) RSXTargetShape.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope) abstract PlanNode
Target.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope) TargetClass.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope) TargetNode.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope) TargetObjectsOf.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope) TargetSubjectsOf.getAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope) EffectiveTarget.getAllTargets
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope) EffectiveTarget.getPlanNode
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, boolean includeTargetsAffectedByRemoval, Function<PlanNode, PlanNode> filter) DashAllObjects.getTargetFilter
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) DashAllSubjects.getTargetFilter
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) EffectiveTarget.getTargetFilter
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) RSXTargetShape.getTargetFilter
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) abstract PlanNode
Target.getTargetFilter
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) TargetClass.getTargetFilter
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) TargetNode.getTargetFilter
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) TargetObjectsOf.getTargetFilter
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) TargetSubjectsOf.getTargetFilter
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) void
void
void
void
void
void
void
TargetSubjectsOf.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
TargetSubjectsOf.toModel
(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection) ModifierConstructorDescriptionRSXTargetShape
(Resource targetShape, ShapeSource shapeSource, ShaclSail shaclSail) TargetChainRetriever
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, List<org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher> statementMatchers, List<org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher> removedStatementMatchers, String query, List<org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable> vars, ConstraintComponent.Scope scope) TargetNode
(TreeSet<Value> targetNodes, Resource[] sourceContexts) -
Uses of Resource in org.eclipse.rdf4j.sail.shacl.config
-
Uses of Resource in org.eclipse.rdf4j.sail.shacl.results
Modifier and TypeMethodDescriptionfinal Resource
ValidationReport.getId()
Deprecated.final Resource
ValidationResult.getId()
Deprecated.Modifier and TypeMethodDescriptionDeprecated.ModifierConstructorDescriptionValidationResult
(Value focusNode, Value value, org.eclipse.rdf4j.sail.shacl.ast.Shape shape, SourceConstraintComponent sourceConstraintComponent, org.eclipse.rdf4j.sail.shacl.ast.Severity severity, ConstraintComponent.Scope scope, Resource[] dataGraphs, Resource[] shapesGraphs) Deprecated. -
Uses of Resource in org.eclipse.rdf4j.sail.shacl.wrapper.data
Modifier and TypeMethodDescriptionRdfsSubClassOfReasoner.backwardsChain
(Resource type) CloseableIteration<? extends Statement,
SailException> VerySimpleRdfsBackwardsChainingConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) boolean
VerySimpleRdfsBackwardsChainingConnection.hasStatement
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.sail.shacl.wrapper.shape
Modifier and TypeMethodDescriptionResource[]
BackwardChainingShapeSource.getActiveContexts()
Resource[]
CombinedShapeSource.getActiveContexts()
Resource[]
ForwardChainingShapeSource.getActiveContexts()
Resource[]
RepositoryConnectionShapeSource.getActiveContexts()
Resource[]
SailConnectionShapeSource.getActiveContexts()
Resource[]
ShapeSource.getActiveContexts()
Resource[]
ShapeSource.ShapesGraph.getDataGraph()
BackwardChainingShapeSource.getRdfRest
(Resource subject) CombinedShapeSource.getRdfRest
(Resource subject) ForwardChainingShapeSource.getRdfRest
(Resource subject) RepositoryConnectionShapeSource.getRdfRest
(Resource subject) SailConnectionShapeSource.getRdfRest
(Resource subject) ShapeSource.getRdfRest
(Resource subject) Resource[]
ShapeSource.ShapesGraph.getShapesGraph()
Modifier and TypeMethodDescriptionBackwardChainingShapeSource.getSubjects
(ShapeSource.Predicates predicate) CombinedShapeSource.getSubjects
(ShapeSource.Predicates predicate) ForwardChainingShapeSource.getSubjects
(ShapeSource.Predicates predicate) RepositoryConnectionShapeSource.getSubjects
(ShapeSource.Predicates predicate) SailConnectionShapeSource.getSubjects
(ShapeSource.Predicates predicate) ShapeSource.getSubjects
(ShapeSource.Predicates predicate) BackwardChainingShapeSource.getTargetableShape()
CombinedShapeSource.getTargetableShape()
ForwardChainingShapeSource.getTargetableShape()
RepositoryConnectionShapeSource.getTargetableShape()
SailConnectionShapeSource.getTargetableShape()
ShapeSource.getTargetableShape()
Modifier and TypeMethodDescriptionBackwardChainingShapeSource.getAllStatements
(Resource id) CombinedShapeSource.getAllStatements
(Resource id) ForwardChainingShapeSource.getAllStatements
(Resource id) RepositoryConnectionShapeSource.getAllStatements
(Resource id) SailConnectionShapeSource.getAllStatements
(Resource id) ShapeSource.getAllStatements
(Resource id) BackwardChainingShapeSource.getObjects
(Resource subject, ShapeSource.Predicates predicate) CombinedShapeSource.getObjects
(Resource subject, ShapeSource.Predicates predicate) ForwardChainingShapeSource.getObjects
(Resource subject, ShapeSource.Predicates predicate) RepositoryConnectionShapeSource.getObjects
(Resource subject, ShapeSource.Predicates predicate) SailConnectionShapeSource.getObjects
(Resource subject, ShapeSource.Predicates predicate) ShapeSource.getObjects
(Resource subject, ShapeSource.Predicates predicate) BackwardChainingShapeSource.getRdfFirst
(Resource subject) CombinedShapeSource.getRdfFirst
(Resource subject) ForwardChainingShapeSource.getRdfFirst
(Resource subject) RepositoryConnectionShapeSource.getRdfFirst
(Resource subject) SailConnectionShapeSource.getRdfFirst
(Resource subject) ShapeSource.getRdfFirst
(Resource subject) BackwardChainingShapeSource.getRdfRest
(Resource subject) CombinedShapeSource.getRdfRest
(Resource subject) ForwardChainingShapeSource.getRdfRest
(Resource subject) RepositoryConnectionShapeSource.getRdfRest
(Resource subject) SailConnectionShapeSource.getRdfRest
(Resource subject) ShapeSource.getRdfRest
(Resource subject) boolean
boolean
boolean
boolean
boolean
boolean
BackwardChainingShapeSource.withContext
(Resource[] context) CombinedShapeSource.withContext
(Resource[] context) ForwardChainingShapeSource.withContext
(Resource[] context) RepositoryConnectionShapeSource.withContext
(Resource[] context) SailConnectionShapeSource.withContext
(Resource[] context) ShapeSource.withContext
(Resource[] context) ModifierConstructorDescriptionShapesGraph
(Resource dataGraph, List<? extends Statement> shapesGraph) -
Uses of Resource in org.eclipse.rdf4j.sail.solr
Modifier and TypeMethodDescriptionvoid
SolrIndex.clearContexts
(Resource... contexts) SolrIndex.getDocument
(Resource subject, Resource context) Returns a Document representing the specified Resource and Context combination, or null when no such Document exists yet.Iterable<? extends SearchDocument>
SolrIndex.getDocuments
(Resource subject) Returns a list of Documents representing the specified Resource (empty when no such Document exists yet).Each document represent a set of statements with the specified Resource as a subject, which are stored in a specific contextprotected Iterable<? extends DocumentScore>
Parse the passed query.Iterable<? extends DocumentScore>
Deprecated.org.apache.solr.client.solrj.response.QueryResponse
Evaluates the given query only for the given resource. -
Uses of Resource in org.eclipse.rdf4j.sparqlbuilder.graphpattern
Modifier and TypeMethodDescriptionstatic TriplePattern
static TriplePattern
Create a triple pattern with the given subject, predicate, and object(s)static TriplePattern
GraphPatterns.tp
(Resource subject, RdfPredicate predicate, Value... objects) static TriplePattern
GraphPatterns.tp
(Resource subject, RdfPredicate predicate, RdfObject... objects) Create a triple pattern with the given subject, predicate, and object(s) -
Uses of Resource in org.eclipse.rdf4j.spin
Modifier and TypeMethodDescriptionboolean
SpinParser.isThisUnbound
(Resource subj, TripleSource store) protected ParsedOperation
SpinParser.parse
(Resource queryResource, IRI queryClass, TripleSource store) SpinParser.parse
(Resource queryResource, TripleSource store) SpinParser.parseAskQuery
(Resource queryResource, TripleSource store) SpinParser.parseConstraintViolation
(Resource subj, TripleSource store) SpinParser.parseConstructQuery
(Resource queryResource, TripleSource store) SpinParser.parseDescribeQuery
(Resource queryResource, TripleSource store) SpinParser.parseQuery
(Resource queryResource, TripleSource store) SpinParser.parseSelectQuery
(Resource queryResource, TripleSource store) SpinParser.parseUpdate
(Resource queryResource, TripleSource store) -
Uses of Resource in org.eclipse.rdf4j.spring.dao.support
-
Uses of Resource in org.eclipse.rdf4j.spring.operationlog
Modifier and TypeMethodDescriptionvoid
LoggingRepositoryConnection.add
(File file, String baseURI, RDFFormat dataFormat, Resource... contexts) void
LoggingRepositoryConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
LoggingRepositoryConnection.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
LoggingRepositoryConnection.add
(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts) <E extends Exception>
voidLoggingRepositoryConnection.add
(Iteration<? extends Statement, E> statementIter, Resource... contexts) void
LoggingRepositoryConnection.add
(Resource subject, IRI predicate, Value object, Resource... contexts) void
void
LoggingRepositoryConnection.add
(RepositoryResult<Statement> statements, Resource... contexts) void
LoggingRepositoryConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) LoggingRepositoryConnection.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) boolean
LoggingRepositoryConnection.hasStatement
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) boolean
LoggingRepositoryConnection.hasStatement
(Statement st, boolean includeInferred, Resource... contexts) void
<E extends Exception>
voidLoggingRepositoryConnection.remove
(Iteration<? extends Statement, E> statementIter, Resource... contexts) void
LoggingRepositoryConnection.remove
(Resource subject, IRI predicate, Value object, Resource... contexts) void
void
LoggingRepositoryConnection.remove
(RepositoryResult<Statement> statements, Resource... contexts) long
-
Uses of Resource in org.eclipse.rdf4j.spring.resultcache
Modifier and TypeMethodDescriptionvoid
CachingRepositoryConnection.add
(File file, String baseURI, RDFFormat dataFormat, Resource... contexts) void
CachingRepositoryConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
CachingRepositoryConnection.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
CachingRepositoryConnection.add
(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts) <E extends Exception>
voidCachingRepositoryConnection.add
(Iteration<? extends Statement, E> statementIter, Resource... contexts) void
CachingRepositoryConnection.add
(Resource subject, IRI predicate, Value object, Resource... contexts) void
void
void
<E extends Exception>
voidCachingRepositoryConnection.remove
(Iteration<? extends Statement, E> statementIter, Resource... contexts) void
CachingRepositoryConnection.remove
(Resource subject, IRI predicate, Value object, Resource... contexts) void
-
Uses of Resource in org.eclipse.rdf4j.spring.tx
Modifier and TypeMethodDescriptionvoid
TransactionalRepositoryConnection.add
(File file, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
void
TransactionalRepositoryConnection.add
(InputStream in, String baseURI, RDFFormat dataFormat, Resource... contexts) void
TransactionalRepositoryConnection.add
(InputStream in, RDFFormat dataFormat, Resource... contexts) void
TransactionalRepositoryConnection.add
(Reader reader, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
TransactionalRepositoryConnection.add
(Iterable<? extends Statement> statements, Resource... contexts) void
TransactionalRepositoryConnection.add
(URL url, String baseURI, RDFFormat dataFormat, Resource... contexts) void
void
<E extends Exception>
voidTransactionalRepositoryConnection.add
(Iteration<? extends Statement, E> statementIter, Resource... contexts) void
TransactionalRepositoryConnection.add
(Resource subject, IRI predicate, Value object, Resource... contexts) void
void
TransactionalRepositoryConnection.add
(RepositoryResult<Statement> statements, Resource... contexts) void
void
TransactionalRepositoryConnection.remove
(Iterable<? extends Statement> statements, Resource... contexts) <E extends Exception>
voidTransactionalRepositoryConnection.remove
(Iteration<? extends Statement, E> statementIter, Resource... contexts) void
TransactionalRepositoryConnection.remove
(Resource subject, IRI predicate, Value object, Resource... contexts) void
void
TransactionalRepositoryConnection.remove
(RepositoryResult<Statement> statements, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.testsuite.query.parser.sparql
Modifier and TypeMethodDescriptionprotected void
ComplexSPARQLQueryTest.loadTestData
(String dataFile, Resource... contexts) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Resource in org.eclipse.rdf4j.testsuite.query.parser.sparql.manifest
-
Uses of Resource in org.eclipse.rdf4j.testsuite.repository
Modifier and TypeFieldDescriptionprotected Resource
RepositoryConnectionTest.alexander
protected Resource
RepositoryTest.alexander
protected Resource
RepositoryConnectionTest.alice
protected Resource
RepositoryTest.alice
protected Resource
RepositoryConnectionTest.bob
protected Resource
RepositoryTest.bob
-
Uses of Resource in org.eclipse.rdf4j.testsuite.repository.optimistic
-
Uses of Resource in org.eclipse.rdf4j.testsuite.sail
-
Uses of Resource in org.eclipse.rdf4j.testsuite.sparql
Modifier and TypeMethodDescriptionprotected void
AbstractComplianceTest.loadTestData
(String dataFile, Resource... contexts) -
Uses of Resource in org.eclipse.rdf4j.workbench.util
Modifier and TypeMethodDescriptionWorkbenchRequest.getResource
(String name) Returns aResource
corresponding to the value of the given parameter name. -
Uses of Resource in org.eclipse.testsuite.rdf4j.sail.lucene
Modifier and TypeMethodDescriptionprotected void
AbstractLuceneSailTest.assertQueryResult
(String literal, IRI predicate, Resource resultUri)
Statements.statement(Triple, Resource)
instead