Uses of Interface
org.eclipse.rdf4j.model.Statement
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.
Interfaces and classes for handling queries and query results.
Functionality to convert tuple query results to and from the
Data Access Working Group Test Result Set RDF Vocabulary
The Repository API: the main API for accessing rdf databases and SPARQL endpoints.
Abstract base classes and wrappers for the main Repository API interfaces.
A repository wrapper with convenience functions for handling contexts.
Repository implementation for local RDF databases that implement the SAIL SPI.
A
Repository
that serves as a SPARQL endpoint client.Helper classes for working with Repositories.
Rio: The RDF4J parser/writer API.
Parser/writer for the RDF4J binary RDF format.
Provides helpers classes for Rio.
Parser/writer for the JSON-LD 1.1 format.
Parser/writer for the JSON-LD 1.0 format.
Writer for the Notation-3 (N3) format.
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.
Pretty-printing for the RDF/XML format.
Parser/writer for the TriX 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).
Abstract base implementation and internal helper classes for Sail implementations.
Forward-chaining inferencers, implemented as
StackableSail
s.The LMDB based Store.
A Sail implementation that supports full-text indexing via the Lucene API.
MemoryStore-specific implementations of the core RDF model objects.
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
-
Uses of Statement in org.eclipse.rdf4j.benchmark.rio.util
Modifier and TypeMethodDescriptionvoid
BlackHoleRDFHandler.setBlackHoleConsumer
(Consumer<Statement> blackHoleConsumer) -
Uses of Statement in org.eclipse.rdf4j.common.concurrent.locks.diagnostics
-
Uses of Statement in org.eclipse.rdf4j.common.order
-
Uses of Statement in org.eclipse.rdf4j.console
-
Uses of Statement in org.eclipse.rdf4j.console.util
-
Uses of Statement in org.eclipse.rdf4j.federated
Modifier and TypeMethodDescriptionprotected CloseableIteration
<? extends Statement> FedXConnection.getStatementsInternal
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.federated.api
Modifier and TypeMethodDescriptionFedXApi.getStatements
(Resource subject, IRI predicate, Value object, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.federated.cache
Modifier and TypeMethodDescriptionCloseableIteration
<? extends Statement> EndpointEntry.getStatements()
-
Uses of Statement in org.eclipse.rdf4j.federated.endpoint
Modifier and TypeMethodDescriptionvoid
EndpointFactory.DefaultRDFHandler.handleStatement
(Statement st) -
Uses of Statement 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. -
Uses of Statement in org.eclipse.rdf4j.federated.evaluation.iterator
Modifier and TypeFieldDescriptionprotected final RepositoryResult
<Statement> StatementConversionIteration.repoResult
ModifierConstructorDescriptionStatementConversionIteration
(RepositoryResult<Statement> repoResult, BindingSet bindings, StatementPattern stmt) -
Uses of Statement in org.eclipse.rdf4j.federated.evaluation.union
Modifier and TypeFieldDescriptionprotected final ParallelExecutor
<Statement> ParallelGetStatementsTask.unionControl
Modifier and TypeMethodDescriptionParallelGetStatementsTask.getControl()
protected CloseableIteration
<Statement> ParallelGetStatementsTask.performTaskInternal()
ModifierConstructorDescriptionParallelGetStatementsTask
(ParallelExecutor<Statement> unionControl, Endpoint endpoint, Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.federated.repository
Modifier and TypeMethodDescriptionFedXRepositoryConfigBuilder.withMembers
(Collection<Statement> members) -
Uses of Statement in org.eclipse.rdf4j.federated.structures
-
Uses of Statement in org.eclipse.rdf4j.federated.util
Modifier and TypeMethodDescriptionstatic Statement
QueryAlgebraUtil.toStatement
(StatementPattern stmt) static Statement
QueryAlgebraUtil.toStatement
(StatementPattern stmt, BindingSet bindings) Modifier and TypeMethodDescriptionstatic StatementPattern
QueryAlgebraUtil.toStatementPattern
(Statement stmt) -
Uses of Statement in org.eclipse.rdf4j.model
Modifier and TypeMethodDescriptionValueFactory.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. -
Uses of Statement in org.eclipse.rdf4j.model.base
-
Uses of Statement 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.static class
Modifier and TypeMethodDescriptionSimpleValueFactory.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) TreeModel.first()
LinkedHashModel.ModelStatement.getStatement()
TreeModel.last()
TreeModel.pollFirst()
TreeModel.pollLast()
Modifier and TypeMethodDescriptionComparator
<? super Statement> TreeModel.comparator()
DynamicModel.getStatements
(Resource subject, IRI predicate, Value object, Resource... contexts) AbstractMemoryOverflowModel.iterator()
DynamicModel.iterator()
EmptyModel.iterator()
TreeModel.iterator()
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
Modifier and TypeMethodDescriptionboolean
AbstractMemoryOverflowModel.addAll
(Collection<? extends Statement> c) boolean
AbstractModel.addAll
(Collection<? extends Statement> c) boolean
DynamicModel.addAll
(Collection<? extends Statement> c) 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.void
AbstractMemoryOverflowModel.removeTermIteration
(Iterator<Statement> iter, Resource subj, IRI pred, Value obj, Resource... contexts) 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
TreeModel.removeTermIteration
(Iterator<Statement> iterator, Resource subj, IRI pred, Value obj, Resource... contexts) ModifierConstructorDescriptionLinkedHashModel
(Collection<? extends Statement> c) LinkedHashModel
(Set<Namespace> namespaces, Collection<? extends Statement> c) TreeModel
(Collection<? extends Statement> c) TreeModel
(Set<Namespace> namespaces, Collection<? extends Statement> c) -
Uses of Statement in org.eclipse.rdf4j.model.util
Modifier and TypeClassDescriptionclass
PatternIterator<S extends Statement>
Excludes an Iteratorbased on a given basic graph pattern. Modifier and TypeMethodDescriptionstatic <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<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 <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) 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.Modifier and TypeMethodDescriptionstatic Statement
Create aStatement
from the supplied subject, predicate, object and context.static Statement
Create aStatement
from the suppliedRDF-star triple
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 Statement
Statements.stripContext
(Statement statement) Strips the context (if any) from the supplied statement and returns a statement with the same subject, predicate and object, but with no assigned context.static Statement
Statements.stripContext
(ValueFactory vf, Statement statement) Strips the context (if any) from the supplied statement and returns a statement with the same subject, predicate and object, but with no assigned context.static Statement
Statements.toStatement
(Triple triple) Deprecated.static Statement
Statements.toStatement
(Triple triple, Resource context) Deprecated.since 3.7.0 - useStatements.statement(Triple, Resource)
insteadstatic Statement
Statements.toStatement
(ValueFactory vf, Triple triple, Resource context) Deprecated.Modifier and TypeMethodDescriptionModelCollector.accumulator()
Either supplies a statement matching the given pattern, orOptional.empty()
otherwise.Modifier and TypeMethodDescriptionstatic void
Statements.convertRDFStarToReification
(Statement st, Consumer<Statement> consumer) Converts the supplied RDF-star statement to RDF reification statements, and sends the resultant statements to the supplied consumer.static 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.static void
Statements.convertRDFStarToReification
(ValueFactory vf, Statement st, Consumer<Statement> consumer) Converts the supplied RDF-star statement to RDF reification statements, and sends the resultant statements to the supplied consumer.static boolean
Statements.isSameTriple
(Statement st1, Statement st2) Checks if the two statements represent the same triple (that is, they have equal subject, predicate, and object).static Statement
Statements.stripContext
(Statement statement) Strips the context (if any) from the supplied statement and returns a statement with the same subject, predicate and object, but with no assigned context.static Statement
Statements.stripContext
(ValueFactory vf, Statement statement) Strips the context (if any) from the supplied statement and returns a statement with the same subject, predicate and object, but with no assigned context.static Triple
Deprecated.UseValues.triple(Statement)
insteadstatic Triple
Statements.toTriple
(ValueFactory vf, Statement statement) Deprecated.UseValues.triple(ValueFactory, Statement)
insteadstatic Triple
Creates a newRDF-star embedded triple
using the subject, predicate and object from the suppliedStatement
.static Triple
Values.triple
(ValueFactory vf, Statement statement) Creates a newRDF-star embedded triple
using the subject, predicate and object from the suppliedStatement
.Modifier and TypeMethodDescriptionstatic 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
Models.convertRDFStarToReification
(Model model, Consumer<Statement> consumer) Converts the supplied RDF-star model to RDF reification statements.static void
Models.convertRDFStarToReification
(ValueFactory vf, Model model, Consumer<Statement> consumer) Converts the supplied RDF-star model to RDF reification statements.static void
Statements.convertRDFStarToReification
(Statement st, Consumer<Statement> consumer) Converts the supplied RDF-star statement to RDF reification statements, and sends the resultant statements to the supplied consumer.static 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.static void
Statements.convertRDFStarToReification
(ValueFactory vf, Statement st, Consumer<Statement> consumer) Converts the supplied RDF-star statement to RDF reification statements, and sends the resultant statements to the supplied consumer.static void
Models.convertReificationToRDFStar
(Model model, Consumer<Statement> consumer) Converts the supplied RDF reification model to RDF-star statements.static void
Models.convertReificationToRDFStar
(ValueFactory vf, Model model, Consumer<Statement> consumer) Converts the supplied RDF reification model to RDF-star statements.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.static boolean
Models.isomorphic
(Iterable<? extends Statement> model1, Iterable<? extends Statement> model2) Compares two RDF models, and returns true if they consist of isomorphic graphs and the isomorphic graph identifiers map 1:1 to each other.static boolean
Compares two RDF models, and returns true if the first model is a subset of the second model, using graph isomorphism to map statements between models.static boolean
Compares two RDF models, and returns true if the first model is a subset of the second model, using graph isomorphism to map statements between models.static boolean
Models.legacyIsomorphic
(Iterable<? extends Statement> model1, Iterable<? extends Statement> model2) Deprecated.UseModels.isomorphic(Iterable, Iterable)
instead.Retrieves an objectValue
from the supplied statements.Retrieves an objectIRI
value from the supplied statements.Models.objectIRIs
(Iterable<Statement> statements) Retrieves all objectIRI
values from the supplied statements.Models.objectLiteral
(Iterable<Statement> statements) Retrieves an objectLiteral
value from the supplied statements.Models.objectLiterals
(Iterable<Statement> statements) Retrieves all objectLiteral
values from the supplied statements.Models.objectResource
(Iterable<Statement> statements) Retrieves an objectResource
value from the supplied statements.Models.objectResources
(Iterable<Statement> statements) Retrieves all objectResource
values from the supplied statements.Models.objectString
(Iterable<Statement> statements) Retrieves an object value as a String from the supplied statements.Models.objectStrings
(Iterable<Statement> statements) Retrieves all object String values from the supplied statements.Retrieves a predicate from the supplied statements.Retrieves a subjectResource
from the supplied statements.Models.subjectBNode
(Iterable<Statement> statements) Retrieves a subjectBNode
from the supplied statements.Models.subjectBNodes
(Iterable<Statement> statements) Retrieves all subjectBNode
s from the supplied statements.Models.subjectIRI
(Iterable<Statement> statements) Retrieves a subjectIRI
from the supplied statements.Models.subjectIRIs
(Iterable<Statement> statements) Retrieves all subjectIRI
s from the supplied statements. -
Uses of Statement in org.eclipse.rdf4j.query
Modifier and TypeMethodDescriptionstatic Statement
QueryResults.singleResult
(GraphQueryResult result) Returns a single element from the query result.The QueryResult is automatically closed by this method.Modifier and TypeMethodDescriptionstatic Model
QueryResults.asModel
(CloseableIteration<? extends Statement> iteration) Get aModel
containing all elements obtained from the specified query result.static Model
QueryResults.asModel
(CloseableIteration<? extends Statement> iteration, ModelFactory modelFactory) Get aModel
containing all elements obtained from the specified query result. -
Uses of Statement in org.eclipse.rdf4j.query.algebra.evaluation
Modifier and TypeFieldDescriptionstatic final EmptyIteration
<? extends Statement> TripleSource.EMPTY_ITERATION
Modifier and TypeMethodDescriptiondefault CloseableIteration
<? extends Statement> TripleSource.getStatements
(StatementOrder order, Resource subj, IRI pred, Value obj, Resource... contexts) Gets all statements that have a specific subject, predicate and/or object.CloseableIteration
<? extends Statement> TripleSource.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) Gets all statements that have a specific subject, predicate and/or object. -
Uses of Statement in org.eclipse.rdf4j.query.algebra.evaluation.impl.evaluationsteps
Modifier and TypeFieldDescriptionstatic final EmptyIteration
<? extends Statement> StatementPatternQueryEvaluationStep.EMPTY_ITERATION
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 Statement in org.eclipse.rdf4j.query.algebra.evaluation.util
Modifier and TypeMethodDescriptionstatic 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. -
Uses of Statement in org.eclipse.rdf4j.query.dawg
Modifier and TypeMethodDescriptionvoid
DAWGTestBooleanParser.handleStatement
(Statement st) void
DAWGTestResultSetParser.handleStatement
(Statement st) Modifier and TypeMethodDescriptionstatic boolean
DAWGTestResultSetUtil.toBooleanQueryResult
(Iterable<? extends Statement> dawgGraph) static TupleQueryResult
DAWGTestResultSetUtil.toTupleQueryResult
(Iterable<? extends Statement> dawgGraph) -
Uses of Statement in org.eclipse.rdf4j.query.impl
ModifierConstructorDescriptionBackgroundGraphResult
(QueueCursor<Statement> queue, RDFParser parser, InputStream in, Charset charset, String baseURI) IteratingGraphQueryResult
(Map<String, String> namespaces, Iterator<? extends Statement> statementIter) IteratingGraphQueryResult
(Map<String, String> namespaces, CloseableIteration<? extends Statement> statementIter) -
Uses of Statement in org.eclipse.rdf4j.repository
Modifier and TypeMethodDescriptionRepositoryConnection.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.Modifier and TypeMethodDescriptionvoid
Adds the supplied statement to this repository, optionally to one or more named 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 statement from the specified contexts in the repository.Modifier and TypeMethodDescriptionvoid
Adds the supplied statements to this repository, optionally to one or more named contexts.void
RepositoryConnection.add
(CloseableIteration<? extends Statement> statements, Resource... contexts) Adds the supplied statements 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 the supplied statements from the specified contexts in this repository.void
RepositoryConnection.remove
(CloseableIteration<? extends Statement> statements, Resource... contexts) Removes the supplied statements from a specific context in this repository, ignoring any context information carried by the statements themselves.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. -
Uses of Statement in org.eclipse.rdf4j.repository.base
Modifier and TypeMethodDescriptionRepositoryConnectionWrapper.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Modifier and TypeMethodDescriptionvoid
void
protected void
AbstractRepositoryConnection.addWithoutCommit
(Statement st, Resource... contexts) boolean
AbstractRepositoryConnection.hasStatement
(Statement st, boolean includeInferred, Resource... contexts) boolean
RepositoryConnectionWrapper.hasStatement
(Statement st, boolean includeInferred, Resource... contexts) void
void
protected void
AbstractRepositoryConnection.removeWithoutCommit
(Statement st, Resource... contexts) Modifier and TypeMethodDescriptionvoid
void
AbstractRepositoryConnection.add
(CloseableIteration<? extends Statement> statements, Resource... contexts) void
void
RepositoryConnectionWrapper.add
(CloseableIteration<? extends Statement> statementIter, Resource... contexts) protected void
RepositoryConnectionWrapper.exportStatements
(RepositoryResult<Statement> stIter, RDFHandler handler) Exports all statements contained in the supplied statement iterator and all relevant namespace information to the supplied RDFHandler.void
void
AbstractRepositoryConnection.remove
(CloseableIteration<? extends Statement> statements, Resource... contexts) void
void
RepositoryConnectionWrapper.remove
(CloseableIteration<? extends Statement> statementIter, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.repository.contextaware
Modifier and TypeMethodDescriptionContextAwareConnection.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.Modifier and TypeMethodDescriptionvoid
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
Removes the supplied statement from the specified contexts in the repository.Modifier and TypeMethodDescriptionvoid
void
ContextAwareConnection.add
(CloseableIteration<? extends Statement> statementIter, Resource... contexts) void
void
ContextAwareConnection.remove
(CloseableIteration<? extends Statement> statementIter, Resource... contexts) Removes the supplied statements from a specific context in this repository, ignoring any context information carried by the statements themselves. -
Uses of Statement in org.eclipse.rdf4j.repository.evaluation
Modifier and TypeMethodDescriptionCloseableIteration
<? extends Statement> RepositoryTripleSource.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.repository.sail
Modifier and TypeMethodDescriptionSailRepositoryConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.repository.sparql
Modifier and TypeMethodDescriptionSPARQLConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Modifier and TypeMethodDescriptionvoid
protected void
SPARQLConnection.addWithoutCommit
(Statement st, Resource... contexts) void
protected void
SPARQLConnection.removeWithoutCommit
(Statement st, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.repository.util
Modifier and TypeMethodDescriptionstatic <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.Modifier and TypeMethodDescriptionstatic Collection
<? extends Statement> RepositoryUtil.difference
(Collection<? extends Statement> model1, Collection<? extends Statement> model2) Compares two models, defined by two statement collections, and returns the difference between the first and the second model (that is, all statements that are present in model1 but not in model2).static Collection
<? extends Statement> RepositoryUtil.difference
(Repository rep1, Repository rep2) Compares two models defined by the default context of two repositories and returns the difference between the first and the second model (that is, all statements that are present in rep1 but not in rep2).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
.Modifier and TypeMethodDescriptionvoid
AbstractRDFInserter.handleStatement
(Statement st) void
RDFRemover.handleStatement
(Statement st) Modifier and TypeMethodDescriptionstatic void
Connections.consumeRDFCollection
(RepositoryConnection conn, Resource head, Consumer<Statement> collectionConsumer, Resource... contexts) static Collection
<? extends Statement> RepositoryUtil.difference
(Collection<? extends Statement> model1, Collection<? extends Statement> model2) Compares two models, defined by two statement collections, and returns the difference between the first and the second model (that is, all statements that are present in model1 but not in model2). -
Uses of Statement in org.eclipse.rdf4j.rio
Modifier and TypeMethodDescriptionvoid
RDFHandler.handleStatement
(Statement st) Handles a statement.static void
Rio.write
(Statement st, OutputStream output, RDFFormat dataFormat) Writes the given statement to the givenOutputStream
in the given format.static void
Rio.write
(Statement st, OutputStream output, RDFFormat dataFormat, WriterConfig settings) Writes the given single statement to the givenOutputStream
in the given format.static void
Writes the given single statement to the givenWriter
in the given format.static void
Rio.write
(Statement statement, Writer output, RDFFormat dataFormat, WriterConfig settings) Writes the given single statement to the givenWriter
in the given format.static void
Rio.write
(Statement statement, RDFHandler writer) Writes the given single statement to the givenRDFHandler
.Modifier and TypeMethodDescriptionstatic void
Writes the given statements to the givenOutputStream
in the given format.static void
Rio.write
(Iterable<Statement> model, OutputStream output, String baseURI, RDFFormat dataFormat, WriterConfig settings) Writes the given statements to the givenOutputStream
in the given format.static void
Rio.write
(Iterable<Statement> model, OutputStream output, RDFFormat dataFormat) Writes the given statements to the givenOutputStream
in the given format.static void
Rio.write
(Iterable<Statement> model, OutputStream output, RDFFormat dataFormat, WriterConfig settings) Writes the given statements to the givenOutputStream
in the given format.static void
Writes the given statements to the givenWriter
in the given format.static void
Rio.write
(Iterable<Statement> model, Writer output, String baseURI, RDFFormat dataFormat, WriterConfig settings) Writes the given statements to the givenWriter
in the given format.static void
Writes the given statements to the givenWriter
in the given format.static void
Writes the given statements to the givenWriter
in the given format.static void
Rio.write
(Iterable<Statement> model, RDFHandler writer) Writes the given statements to the givenRDFHandler
. -
Uses of Statement in org.eclipse.rdf4j.rio.binary
-
Uses of Statement in org.eclipse.rdf4j.rio.helpers
Modifier and TypeMethodDescriptionprotected 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.Modifier and TypeMethodDescriptionContextStatementCollector.getStatements()
Gets the collection that contains the collected statements.Modifier and TypeMethodDescriptionprotected void
AbstractRDFWriter.consumeStatement
(Statement st) Consume a statement.void
AbstractRDFHandler.handleStatement
(Statement st) void
AbstractRDFWriter.handleStatement
(Statement st) void
BufferedGroupingRDFHandler.handleStatement
(Statement st) void
ContextStatementCollector.handleStatement
(Statement st) void
RDFHandlerWrapper.handleStatement
(Statement st) void
TimeLimitRDFHandler.handleStatement
(Statement st) 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.StatementCollector
(Collection<Statement> statements) Creates a new StatementCollector that stores reported statements in the supplied collection and that uses a new LinkedHashMap to store the reported namespaces.StatementCollector
(Collection<Statement> statements, Map<String, String> namespaces) Creates a new StatementCollector that stores reported statements and namespaces in the supplied containers. -
Uses of Statement in org.eclipse.rdf4j.rio.jsonld
-
Uses of Statement in org.eclipse.rdf4j.rio.jsonld.legacy
-
Uses of Statement in org.eclipse.rdf4j.rio.n3
-
Uses of Statement in org.eclipse.rdf4j.rio.ndjsonld
-
Uses of Statement in org.eclipse.rdf4j.rio.ndjsonld.legacy
-
Uses of Statement in org.eclipse.rdf4j.rio.nquads
-
Uses of Statement in org.eclipse.rdf4j.rio.ntriples
-
Uses of Statement in org.eclipse.rdf4j.rio.rdfjson
-
Uses of Statement in org.eclipse.rdf4j.rio.rdfxml
-
Uses of Statement in org.eclipse.rdf4j.rio.rdfxml.util
-
Uses of Statement in org.eclipse.rdf4j.rio.trix
-
Uses of Statement in org.eclipse.rdf4j.rio.turtle
Modifier and TypeMethodDescriptionprotected void
TurtleWriter.consumeStatement
(Statement st) protected void
TurtleWriter.handleStatementInternal
(Statement st, boolean endRDFCalled, boolean canShortenSubjectBNode, boolean canShortenObjectBNode) Internal method that differentiates between the pretty-print and streaming writer cases. -
Uses of Statement in org.eclipse.rdf4j.sail
Modifier and TypeMethodDescriptiondefault CloseableIteration
<? extends Statement> SailConnection.getStatements
(StatementOrder statementOrder, 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.CloseableIteration
<? extends Statement> 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.Modifier and TypeMethodDescriptionvoid
SailConnectionListener.statementAdded
(Statement st) Notifies the listener that a statement has been added in a transaction that it has registered itself with.void
SailConnectionListener.statementRemoved
(Statement st) Notifies the listener that a statement has been removed in a transaction that it has registered itself with. -
Uses of Statement in org.eclipse.rdf4j.sail.base
Modifier and TypeMethodDescriptionprotected Statement
DistinctModelReducingUnionIteration.getNextElement()
Modifier and TypeMethodDescriptiondefault CloseableIteration
<? extends Statement> SailDataset.getStatements
(StatementOrder statementOrder, Resource subj, IRI pred, Value obj, Resource... contexts) Gets all statements that have a specific subject, predicate and/or object.CloseableIteration
<? extends Statement> 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> SailDatasetTripleSource.getStatements
(StatementOrder order, Resource subj, IRI pred, Value obj, Resource... contexts) CloseableIteration
<? extends Statement> SailDatasetTripleSource.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) protected CloseableIteration
<? extends Statement> SailSourceConnection.getStatementsInternal
(StatementOrder order, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) protected CloseableIteration
<? extends Statement> SailSourceConnection.getStatementsInternal
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Modifier and TypeMethodDescriptionvoid
default void
Adds a statement to the store.void
void
Removes a statement.Modifier and TypeMethodDescriptionvoid
Changeset.approveAll
(Set<Statement> approve, Set<Resource> approveContexts) default void
SailSink.approveAll
(Set<Statement> approved, Set<Resource> approvedContexts) void
Changeset.deprecateAll
(Set<Statement> deprecate) default void
SailSink.deprecateAll
(Set<Statement> deprecated) -
Uses of Statement in org.eclipse.rdf4j.sail.evaluation
Modifier and TypeMethodDescriptionCloseableIteration
<? extends Statement> SailTripleSource.getStatements
(StatementOrder order, Resource subj, IRI pred, Value obj, Resource... contexts) CloseableIteration
<? extends Statement> SailTripleSource.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.sail.extensiblestore.valuefactory
Modifier and TypeMethodDescriptionExtensibleStatementHelper.DefaultExtensibleStatementHelper.fromStatement
(Statement statement, boolean inferred) ExtensibleStatementHelper.fromStatement
(Statement statement, boolean inferred) -
Uses of Statement in org.eclipse.rdf4j.sail.helpers
Modifier and TypeMethodDescriptionfinal CloseableIteration
<? extends Statement> AbstractSailConnection.getStatements
(StatementOrder order, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) final CloseableIteration
<? extends Statement> AbstractSailConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) CloseableIteration
<? extends Statement> SailConnectionWrapper.getStatements
(StatementOrder statementOrder, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) CloseableIteration
<? extends Statement> SailConnectionWrapper.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) protected CloseableIteration
<? extends Statement> AbstractSailConnection.getStatementsInternal
(StatementOrder order, Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) protected abstract CloseableIteration
<? extends Statement> AbstractSailConnection.getStatementsInternal
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Modifier and TypeMethodDescriptionprotected void
AbstractNotifyingSailConnection.notifyStatementAdded
(Statement st) protected void
AbstractNotifyingSailConnection.notifyStatementRemoved
(Statement st) -
Uses of Statement in org.eclipse.rdf4j.sail.inferencer
Modifier and TypeMethodDescriptionCloseableIteration
<? extends Statement> InferencerConnectionWrapper.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) CallsInferencerConnectionWrapper.flushUpdates()
before forwarding the call to the wrapped connection. -
Uses of Statement in org.eclipse.rdf4j.sail.inferencer.fc
Modifier and TypeMethodDescriptionvoid
AbstractForwardChainingInferencerConnection.statementAdded
(Statement st) void
SchemaCachingRDFSInferencerConnection.statementAdded
(Statement st) void
AbstractForwardChainingInferencerConnection.statementRemoved
(Statement st) void
SchemaCachingRDFSInferencerConnection.statementRemoved
(Statement st) -
Uses of Statement in org.eclipse.rdf4j.sail.lmdb
Modifier and TypeMethodDescriptionprotected CloseableIteration
<? extends Statement> LmdbStoreConnection.getStatementsInternal
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.sail.lucene
Modifier and TypeMethodDescriptionLuceneSailBuffer.AddRemoveOperation.getAdded()
LuceneSailBuffer.AddRemoveOperation.getRemoved()
Modifier and TypeMethodDescriptionboolean
protected boolean
LuceneSail.acceptStatementToIndex
(Statement s) void
Deprecated.Add this statement to the buffervoid
final void
AbstractSearchIndex.addStatement
(Statement statement) Indexes the specified Statement.void
SearchIndex.addStatement
(Statement statement) Indexes the specified Statement.This should be called from within a begin-commit-rollback block.void
void
LuceneSailBuffer.addTypeStatement
(Statement s, boolean rightType) Deprecated.Add this type statement to the bufferstatic String
SearchFields.getLiteralPropertyValueAsString
(Statement statement) boolean
AbstractSearchIndex.isIndexedTypeStatement
(Statement statement) boolean
SearchIndex.isIndexedTypeStatement
(Statement statement) Returns true if the given statement is a type statement of the right type, seeLuceneSail.INDEXEDTYPES
to use.boolean
AbstractSearchIndex.isTypeStatement
(Statement statement) boolean
SearchIndex.isTypeStatement
(Statement statement) Returns true if the given statement is a type statement, seeLuceneSail.INDEXEDTYPES
to use.LuceneSail.mapStatement
(Statement statement) void
void
Deprecated.Remove this statement to the bufferfinal void
AbstractSearchIndex.removeStatement
(Statement statement) void
SearchIndex.removeStatement
(Statement statement) Removes the specified Statement from the indexes.This should be called from within a begin-commit-rollbackvoid
LuceneSailBuffer.AddRemoveOperation.removeType
(Statement s) void
LuceneSailBuffer.removeTypeStatement
(Statement s) Deprecated.Remove this type statement to the bufferModifier 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.final void
AbstractSearchIndex.addRemoveStatements
(Collection<Statement> added, Collection<Statement> removed) Add many statements at the same time, remove many statements at the same time.void
SearchIndex.addRemoveStatements
(Collection<Statement> added, Collection<Statement> removed) Add many statements at the same time, remove many statements at the same time.Ordering by resource has to be done inside this method. -
Uses of Statement in org.eclipse.rdf4j.sail.memory.model
Modifier and TypeClassDescriptionclass
A MemStatement is a Statement which contains context information and a flag indicating whether the statement is explicit or inferred. -
Uses of Statement in org.eclipse.rdf4j.sail.model
Modifier and TypeMethodDescriptionSailModel.iterator()
The returned Iterator implements Closeable. -
Uses of Statement in org.eclipse.rdf4j.sail.shacl
Modifier and TypeMethodDescriptionCloseableIteration
<? extends Statement> ShaclSailConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) Modifier and TypeMethodDescriptionvoid
void
void
ShaclSailConnection.statementAdded
(Statement statement) void
ShaclSailConnection.statementRemoved
(Statement statement) -
Uses of Statement in org.eclipse.rdf4j.sail.shacl.ast.planNodes
Modifier and TypeMethodDescriptionModifierConstructorDescriptionUnorderedSelect
(SailConnection connection, Resource subject, IRI predicate, Value object, Resource[] dataGraph, BiFunction<Statement, Resource[], ValidationTuple> mapper, Function<Statement, Boolean> filter) UnorderedSelect
(SailConnection connection, Resource subject, IRI predicate, Value object, Resource[] dataGraph, BiFunction<Statement, Resource[], ValidationTuple> mapper, Function<Statement, Boolean> filter) -
Uses of Statement in org.eclipse.rdf4j.sail.shacl.ast.targets
Modifier and TypeMethodDescriptionEffectiveTarget.EffectiveTargetFragment.getRoot
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher currentStatementMatcher, Statement currentStatement) -
Uses of Statement in org.eclipse.rdf4j.sail.shacl.wrapper.data
Modifier and TypeMethodDescriptionRdfsSubClassOfReasoner.forwardChain
(Statement statement) CloseableIteration
<? extends Statement> VerySimpleRdfsBackwardsChainingConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.sail.shacl.wrapper.shape
Modifier and TypeMethodDescriptionBackwardChainingShapeSource.getAllStatements
(Resource id) CombinedShapeSource.getAllStatements
(Resource id) Rdf4jShaclShapeGraphShapeSource.getAllStatements
(Resource id) RepositoryConnectionShapeSource.getAllStatements
(Resource id) SailConnectionShapeSource.getAllStatements
(Resource id) ShapeSource.getAllStatements
(Resource id) ModifierConstructorDescriptionShapesGraph
(Resource dataGraph, List<? extends Statement> shapesGraph) -
Uses of Statement in org.eclipse.rdf4j.spin
Modifier and TypeMethodDescriptionvoid
ConstraintViolationRDFHandler.handleStatement
(Statement st) -
Uses of Statement in org.eclipse.rdf4j.spring.dao.support
Modifier and TypeMethodDescriptionUpdateWithModelBuilder.withSink
(Consumer<Collection<Statement>> consumer) -
Uses of Statement in org.eclipse.rdf4j.spring.operationlog
Modifier and TypeMethodDescriptionLoggingRepositoryConnection.getStatements
(Resource subj, IRI pred, Value obj, boolean includeInferred, Resource... contexts) LoggingRepositoryConnection.getStatements
(Resource subj, IRI pred, Value obj, Resource... contexts) Modifier and TypeMethodDescriptionvoid
boolean
LoggingRepositoryConnection.hasStatement
(Statement st, boolean includeInferred, Resource... contexts) void
Modifier and TypeMethodDescriptionvoid
void
LoggingRepositoryConnection.add
(CloseableIteration<? extends Statement> statementIter, Resource... contexts) void
LoggingRepositoryConnection.add
(RepositoryResult<Statement> statements, Resource... contexts) void
void
LoggingRepositoryConnection.remove
(CloseableIteration<? extends Statement> statementIter, Resource... contexts) void
LoggingRepositoryConnection.remove
(RepositoryResult<Statement> statements, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.spring.resultcache
Modifier and TypeMethodDescriptionCachedGraphQueryResult.iterator()
ReusableGraphQueryResult.iterator()
CachedGraphQueryResult.spliterator()
ReusableGraphQueryResult.spliterator()
CachedGraphQueryResult.stream()
ReusableGraphQueryResult.stream()
Modifier and TypeMethodDescriptionvoid
void
Modifier and TypeMethodDescriptionvoid
void
CachingRepositoryConnection.add
(CloseableIteration<? extends Statement> statementIter, Resource... contexts) void
void
void
void
CachingRepositoryConnection.remove
(CloseableIteration<? extends Statement> statementIter, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.spring.tx
Modifier and TypeMethodDescriptionvoid
void
Modifier and TypeMethodDescriptionvoid
TransactionalRepositoryConnection.add
(Iterable<? extends Statement> statements, Resource... contexts) void
TransactionalRepositoryConnection.add
(CloseableIteration<? extends Statement> statementIter, Resource... contexts) void
TransactionalRepositoryConnection.add
(RepositoryResult<Statement> statements, Resource... contexts) void
TransactionalRepositoryConnection.remove
(Iterable<? extends Statement> statements, Resource... contexts) void
TransactionalRepositoryConnection.remove
(CloseableIteration<? extends Statement> statementIter, Resource... contexts) void
TransactionalRepositoryConnection.remove
(RepositoryResult<Statement> statements, Resource... contexts) -
Uses of Statement in org.eclipse.rdf4j.testsuite.query.parser.sparql.manifest
Modifier and TypeMethodDescriptionprotected void
SPARQLComplianceTest.DynamicSparqlComplianceTest.compareGraphs
(Iterable<Statement> queryResult, Iterable<Statement> expectedResult)
Statements.statement(Triple)
instead