Package | Description |
---|---|
org.eclipse.rdf4j.console |
A command line console tool for querying and updating local or remote RDF4J repositories.
|
org.eclipse.rdf4j.console.util | |
org.eclipse.rdf4j.http.client | |
org.eclipse.rdf4j.lucene.spin | |
org.eclipse.rdf4j.model |
The RDF Model API
|
org.eclipse.rdf4j.model.impl |
Default implementations of the RDF model interfaces
|
org.eclipse.rdf4j.model.util |
Helper classes for working with RDF models.
|
org.eclipse.rdf4j.query |
Interfaces and classes for handling queries and query results.
|
org.eclipse.rdf4j.query.algebra.evaluation | |
org.eclipse.rdf4j.query.algebra.evaluation.util | |
org.eclipse.rdf4j.query.dawg |
Functionality to convert tuple query results to and from the
Data Access Working Group Test Result Set RDF Vocabulary
|
org.eclipse.rdf4j.query.impl | |
org.eclipse.rdf4j.query.parser.sparql.manifest | |
org.eclipse.rdf4j.repository |
The Repository API: the main API for accessing rdf databases and SPARQL endpoints.
|
org.eclipse.rdf4j.repository.base |
Abstract base classes and wrappers for the main Repository API interfaces.
|
org.eclipse.rdf4j.repository.contextaware |
A repository wrapper with convenience functions for handling contexts.
|
org.eclipse.rdf4j.repository.evaluation | |
org.eclipse.rdf4j.repository.sail |
Repository implementation for local RDF databases that implement the SAIL SPI.
|
org.eclipse.rdf4j.repository.sparql |
A
Repository that serves as a SPARQL endpoint client. |
org.eclipse.rdf4j.repository.util |
Helper classes for working with Repositories.
|
org.eclipse.rdf4j.rio |
Rio: The rdf4j parser/writer API.
|
org.eclipse.rdf4j.rio.binary |
Parser/writer for the rdf4j binary RDF format.
|
org.eclipse.rdf4j.rio.helpers |
Provides helpers classes for Rio.
|
org.eclipse.rdf4j.rio.jsonld |
Parser/writer for the JSON-L format.
|
org.eclipse.rdf4j.rio.n3 |
Writer for the Notation-3 (N3) format.
|
org.eclipse.rdf4j.rio.nquads |
Parser/writer for the N-Quads format.
|
org.eclipse.rdf4j.rio.ntriples |
Parser/writer for the N-Triples format.
|
org.eclipse.rdf4j.rio.rdfjson |
Parser/writer for the RDF/JSON format.
|
org.eclipse.rdf4j.rio.rdfxml |
Parser/writer for the RDF/XML format.
|
org.eclipse.rdf4j.rio.rdfxml.util |
Pretty-printing for the RDF/XML format.
|
org.eclipse.rdf4j.rio.trig |
Parser/writer for the TriG format.
|
org.eclipse.rdf4j.rio.trix |
Parser/writer for the TriX format.
|
org.eclipse.rdf4j.rio.turtle |
Parser/writer for the Turtle format.
|
org.eclipse.rdf4j.sail |
RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an SPI for RDF databases.
|
org.eclipse.rdf4j.sail.base |
Base functionality for Sail implementations that require multi-versioned concurrency control (MVCC).
|
org.eclipse.rdf4j.sail.evaluation | |
org.eclipse.rdf4j.sail.helpers |
Abstract base implementation and internal helper classes for Sail implementations.
|
org.eclipse.rdf4j.sail.inferencer | |
org.eclipse.rdf4j.sail.inferencer.fc |
Forward-chaining inferencers, implemented as
StackableSail s. |
org.eclipse.rdf4j.sail.lucene |
A Sail implementation that supports full-text indexing via the Lucene API.
|
org.eclipse.rdf4j.sail.memory.model | |
org.eclipse.rdf4j.sail.model | |
org.eclipse.rdf4j.sail.shacl |
A Sail implementation for SHACL constraint checking.
|
org.eclipse.rdf4j.spin |
Modifier and Type | Method and Description |
---|---|
void |
VerificationListener.handleStatement(Statement statement) |
Modifier and Type | Method and Description |
---|---|
void |
ConsoleRDFWriter.handleStatement(Statement st) |
Constructor and Description |
---|
BackgroundGraphResult(QueueCursor<Statement> queue,
RDFParser parser,
InputStream in,
Charset charset,
String baseURI)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Statement |
LuceneSpinSail.mapStatement(Statement statement)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Statement |
LuceneSpinSail.mapStatement(Statement statement)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Statement |
ValueFactory.createStatement(Resource subject,
IRI predicate,
Value object)
Creates a new statement with the supplied subject, predicate and object.
|
Statement |
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 Statement |
ValueFactory.createStatement(Resource subject,
URI predicate,
Value object)
Deprecated.
Use
ValueFactory.createStatement(Resource, IRI, Value) instead. |
default Statement |
ValueFactory.createStatement(Resource subject,
URI predicate,
Value object,
Resource context)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
ContextStatement
An extension of
SimpleStatement that adds a context field. |
class |
ContextStatementImpl
Deprecated.
since 2.0. Use
ContextStatement instead for extension, and ValueFactory for
instantiation. |
class |
SimpleStatement
A simple default implementation of the
Statement interface for statements that don't have an associated
context. |
class |
StatementImpl
Deprecated.
since 2.0. Use
SimpleStatement instead for extension, and ValueFactory for instantiation. |
Modifier and Type | Method and Description |
---|---|
Statement |
TreeModel.ceiling(Statement e) |
Statement |
ValidatingValueFactory.createStatement(Resource subject,
IRI predicate,
Value object) |
Statement |
AbstractValueFactory.createStatement(Resource subject,
IRI predicate,
Value object) |
Statement |
ValidatingValueFactory.createStatement(Resource subject,
IRI predicate,
Value object,
Resource context) |
Statement |
AbstractValueFactory.createStatement(Resource subject,
IRI predicate,
Value object,
Resource context) |
Statement |
ValidatingValueFactory.createStatement(Resource subject,
URI predicate,
Value object) |
Statement |
ValidatingValueFactory.createStatement(Resource subject,
URI predicate,
Value object,
Resource context) |
Statement |
TreeModel.first() |
Statement |
TreeModel.floor(Statement e) |
Statement |
TreeModel.higher(Statement e) |
Statement |
TreeModel.last() |
Statement |
TreeModel.lower(Statement e) |
Statement |
TreeModel.pollFirst() |
Statement |
TreeModel.pollLast() |
Modifier and Type | Method and Description |
---|---|
Comparator<? super Statement> |
TreeModel.comparator() |
SortedSet<Statement> |
TreeModel.headSet(Statement toElement) |
Iterator<Statement> |
TreeModel.iterator() |
Iterator<Statement> |
EmptyModel.iterator() |
SortedSet<Statement> |
TreeModel.subSet(Statement fromElement,
Statement toElement) |
SortedSet<Statement> |
TreeModel.tailSet(Statement fromElement) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractModel.add(Statement st) |
Statement |
TreeModel.ceiling(Statement e) |
Statement |
TreeModel.floor(Statement e) |
SortedSet<Statement> |
TreeModel.headSet(Statement toElement) |
Statement |
TreeModel.higher(Statement e) |
Statement |
TreeModel.lower(Statement e) |
SortedSet<Statement> |
TreeModel.subSet(Statement fromElement,
Statement toElement) |
SortedSet<Statement> |
TreeModel.tailSet(Statement fromElement) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractModel.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 |
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) |
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) |
Constructor and Description |
---|
LinkedHashModel(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) |
Modifier and Type | Class and Description |
---|---|
class |
PatternIterator<S extends Statement>
Excludes an Iterator
|
Modifier and Type | Method and Description |
---|---|
static <C extends Collection<Statement>> |
RDFCollections.asRDF(Iterable<?> values,
Resource head,
C sink,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static <C extends Collection<Statement>> |
RDFCollections.asRDF(Iterable<?> values,
Resource head,
C sink,
ValueFactory valueFactory,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static <C extends Collection<Statement>> |
Statements.create(ValueFactory vf,
Resource subject,
IRI predicate,
Value object,
C collection,
Resource... contexts)
Creates one or more
Statement objects with the given subject, predicate and object, one for each given
context. |
static <C extends Collection<Statement>> |
RDFCollections.getCollection(Model sourceModel,
Resource head,
C sink,
Resource... contexts)
Extracts the RDF Collection starting with the
supplied
head resource from the supplied source Model . |
Modifier and Type | Method and Description |
---|---|
Optional<Statement> |
GetStatementOptional.get(Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Either supplies a statement matching the given pattern, or
Optional.empty() otherwise. |
Modifier and Type | Method and Description |
---|---|
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).
|
Modifier and Type | Method and Description |
---|---|
static void |
Statements.consume(ValueFactory vf,
Resource subject,
IRI predicate,
Value object,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
|
static void |
RDFCollections.consumeCollection(Iterable<?> values,
Resource head,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static void |
RDFCollections.consumeCollection(Iterable<?> values,
Resource head,
java.util.function.Consumer<Statement> consumer,
ValueFactory vf,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Collection, using the supplied head resource as the starting resource of the RDF Collection. |
static <E extends RDF4JException> |
RDFCollections.extract(GetStatementOptional statementSupplier,
Resource head,
java.util.function.Consumer<Statement> collectionConsumer,
java.util.function.Function<String,java.util.function.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 supplied
Consumer function. |
static void |
RDFCollections.extract(Model sourceModel,
Resource head,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
Extracts the RDF Collection starting with
supplied
head resource from the supplied source Model and sends the statements that make up the
collection to the supplied Consumer . |
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 |
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 |
Models.isSubset(Iterable<? extends Statement> model1,
Iterable<? extends Statement> model2)
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.isSubset(Iterable<? extends Statement> model1,
Iterable<? extends Statement> model2)
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.isSubset(Set<? extends Statement> model1,
Set<? extends Statement> model2)
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.isSubset(Set<? extends Statement> model1,
Set<? extends Statement> model2)
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.
|
Modifier and Type | Method and Description |
---|---|
static Statement |
QueryResults.singleResult(GraphQueryResult result)
Returns a single element from the query result.
|
Modifier and Type | Method and Description |
---|---|
static Model |
QueryResults.asModel(CloseableIteration<? extends Statement,? extends RDF4JException> iteration)
Get a
Model containing all elements obtained from the specified query result. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static Statement |
TripleSources.single(Resource subj,
IRI pred,
Value obj,
TripleSource store)
Returns the single statement with the given subject, predicate and object or null if none exists.
|
Modifier and Type | Method and Description |
---|---|
void |
DAWGTestBooleanParser.handleStatement(Statement st) |
void |
DAWGTestResultSetParser.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
static boolean |
DAWGTestResultSetUtil.toBooleanQueryResult(Iterable<? extends Statement> dawgGraph) |
static TupleQueryResult |
DAWGTestResultSetUtil.toTupleQueryResult(Iterable<? extends Statement> dawgGraph) |
Modifier and Type | Method and Description |
---|---|
void |
BackgroundGraphResult.handleStatement(Statement st) |
Constructor and Description |
---|
BackgroundGraphResult(QueueCursor<Statement> queue,
RDFParser parser,
InputStream in,
Charset charset,
String baseURI) |
GraphQueryResultImpl(Map<String,String> namespaces,
CloseableIteration<? extends Statement,? extends QueryEvaluationException> statementIter)
Deprecated.
|
IteratingGraphQueryResult(Map<String,String> namespaces,
CloseableIteration<? extends Statement,? extends QueryEvaluationException> statementIter) |
IteratingGraphQueryResult(Map<String,String> namespaces,
Iterable<? extends Statement> statements) |
IteratingGraphQueryResult(Map<String,String> namespaces,
Iterator<? extends Statement> statementIter) |
Modifier and Type | Method and Description |
---|---|
protected Set<Statement> |
SPARQLQueryTest.readExpectedGraphQueryResult() |
Modifier and Type | Method and Description |
---|---|
protected void |
SPARQLQueryTest.compareGraphs(Set<Statement> queryResult,
Set<Statement> expectedResult) |
protected void |
SPARQLQueryTest.compareGraphs(Set<Statement> queryResult,
Set<Statement> expectedResult) |
Modifier and Type | Method and Description |
---|---|
RepositoryResult<Statement> |
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.
|
default RepositoryResult<Statement> |
RepositoryConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Deprecated.
since 2.0. Use
RepositoryConnection.getStatements(Resource, IRI, Value, boolean, Resource...) instead. |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnection.add(Statement st,
Resource... contexts)
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 |
RepositoryConnection.remove(Statement st,
Resource... contexts)
Removes the supplied statement from the specified contexts in the repository.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnection.add(Iterable<? extends Statement> statements,
Resource... contexts)
Adds the supplied statements to this repository, optionally to one or more named contexts.
|
<E extends Exception> |
RepositoryConnection.add(Iteration<? extends Statement,E> statements,
Resource... contexts)
Adds the supplied statements to this repository, optionally to one or more named contexts.
|
void |
RepositoryConnection.remove(Iterable<? extends Statement> statements,
Resource... contexts)
Removes the supplied statements from the specified contexts in this repository.
|
<E extends Exception> |
RepositoryConnection.remove(Iteration<? 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.
|
Modifier and Type | Method and Description |
---|---|
RepositoryResult<Statement> |
RepositoryConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnectionWrapper.add(Statement st,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(Statement st,
Resource... contexts) |
protected void |
AbstractRepositoryConnection.addWithoutCommit(Statement st,
Resource... contexts) |
boolean |
RepositoryConnectionWrapper.hasStatement(Statement st,
boolean includeInferred,
Resource... contexts) |
boolean |
AbstractRepositoryConnection.hasStatement(Statement st,
boolean includeInferred,
Resource... contexts) |
void |
RepositoryConnectionWrapper.remove(Statement st,
Resource... contexts) |
void |
AbstractRepositoryConnection.remove(Statement st,
Resource... contexts) |
protected void |
AbstractRepositoryConnection.removeWithoutCommit(Statement st,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryConnectionWrapper.add(Iterable<? extends Statement> statements,
Resource... contexts) |
void |
AbstractRepositoryConnection.add(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
RepositoryConnectionWrapper.add(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
<E extends Exception> |
AbstractRepositoryConnection.add(Iteration<? extends Statement,E> statements,
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 |
RepositoryConnectionWrapper.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
void |
AbstractRepositoryConnection.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
RepositoryConnectionWrapper.remove(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
<E extends Exception> |
AbstractRepositoryConnection.remove(Iteration<? extends Statement,E> statements,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
RepositoryResult<Statement> |
ContextAwareConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
RepositoryResult<Statement> |
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 Type | Method and Description |
---|---|
void |
ContextAwareConnection.add(Statement st,
Resource... 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 |
ContextAwareConnection.remove(Statement st,
Resource... contexts)
Removes the supplied statement from the specified contexts in the repository.
|
Modifier and Type | Method and Description |
---|---|
void |
ContextAwareConnection.add(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
ContextAwareConnection.add(Iteration<? extends Statement,E> statementIter,
Resource... contexts) |
void |
ContextAwareConnection.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
<E extends Exception> |
ContextAwareConnection.remove(Iteration<? extends Statement,E> statementIter,
Resource... contexts)
Removes the supplied statements from a specific context in this repository, ignoring any context information
carried by the statements themselves.
|
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,QueryEvaluationException> |
RepositoryTripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
RepositoryResult<Statement> |
SailRepositoryConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
RepositoryResult<Statement> |
SPARQLConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected Iteration<Statement,QueryEvaluationException> |
SPARQLConnection.toStatementIteration(TupleQueryResult iter,
Resource subj,
IRI pred,
Value obj)
Converts a
TupleQueryResult resulting from the SPARQLConnection.EVERYTHING_WITH_GRAPH to a statement by using the
respective values from the BindingSet or (if provided) the ones from the arguments. |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLConnection.add(Statement st,
Resource... contexts) |
void |
SPARQLConnection.remove(Statement st,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLConnection.add(Iterable<? extends Statement> statements,
Resource... contexts) |
void |
SPARQLConnection.remove(Iterable<? extends Statement> statements,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
static <C extends Collection<Statement>> |
Connections.getRDFCollection(RepositoryConnection conn,
Resource head,
C statementCollection,
Resource... contexts)
Retrieve all
Statement s that together form the RDF Collection starting with the supplied starting
resource. |
Modifier and Type | Method and Description |
---|---|
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).
|
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).
|
static Optional<Statement> |
Connections.getStatement(RepositoryConnection conn,
Resource subject,
IRI predicate,
Value object,
Resource... contexts)
Retrieve a single
Statement matching with the supplied subject, predicate, object and context(s) from the
given RepositoryConnection . |
Modifier and Type | Method and Description |
---|---|
void |
RDFRemover.handleStatement(Statement st) |
void |
AbstractRDFInserter.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
static void |
Connections.consumeRDFCollection(RepositoryConnection conn,
Resource head,
java.util.function.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).
|
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).
|
Modifier and Type | Method and Description |
---|---|
void |
RDFHandler.handleStatement(Statement st)
Handles a statement.
|
static void |
Rio.write(Statement st,
OutputStream output,
RDFFormat dataFormat)
Writes the given statement to the given
OutputStream in the given format. |
static void |
Rio.write(Statement st,
OutputStream output,
RDFFormat dataFormat,
WriterConfig settings)
Writes the given single statement to the given
OutputStream in the given format. |
static void |
Rio.write(Statement statement,
RDFHandler writer)
Writes the given single statement to the given
RDFHandler . |
static void |
Rio.write(Statement statement,
Writer output,
RDFFormat dataFormat)
Writes the given single statement to the given
Writer in the given format. |
static void |
Rio.write(Statement statement,
Writer output,
RDFFormat dataFormat,
WriterConfig settings)
Writes the given single statement to the given
Writer in the given format. |
Modifier and Type | Method and Description |
---|---|
static void |
Rio.write(Iterable<Statement> model,
OutputStream output,
RDFFormat dataFormat)
Writes the given statements to the given
OutputStream in the given format. |
static void |
Rio.write(Iterable<Statement> model,
OutputStream output,
RDFFormat dataFormat,
WriterConfig settings)
Writes the given statements to the given
OutputStream in the given format. |
static void |
Rio.write(Iterable<Statement> model,
OutputStream output,
String baseURI,
RDFFormat dataFormat)
Writes the given statements to the given
OutputStream 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 given
OutputStream in the given format. |
static void |
Rio.write(Iterable<Statement> model,
RDFHandler writer)
Writes the given statements to the given
RDFHandler . |
static void |
Rio.write(Iterable<Statement> model,
Writer output,
RDFFormat dataFormat)
Writes the given statements to the given
Writer in the given format. |
static void |
Rio.write(Iterable<Statement> model,
Writer output,
RDFFormat dataFormat,
WriterConfig settings)
Writes the given statements to the given
Writer in the given format. |
static void |
Rio.write(Iterable<Statement> model,
Writer output,
String baseURI,
RDFFormat dataFormat)
Writes the given statements to the given
Writer 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 given
Writer in the given format. |
Modifier and Type | Method and Description |
---|---|
void |
BinaryRDFWriter.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
protected Statement |
AbstractRDFParser.createStatement(Resource subj,
IRI pred,
Value obj)
Creates a new
Statement object with the supplied components. |
protected Statement |
AbstractRDFParser.createStatement(Resource subj,
IRI pred,
Value obj,
Resource context)
Creates a new
Statement object with the supplied components. |
Modifier and Type | Method and Description |
---|---|
Collection<Statement> |
ContextStatementCollector.getStatements()
Gets the collection that contains the collected statements.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractRDFHandler.handleStatement(Statement st) |
void |
ContextStatementCollector.handleStatement(Statement st) |
void |
RDFHandlerWrapper.handleStatement(Statement st) |
void |
TimeLimitRDFHandler.handleStatement(Statement st) |
void |
BufferedGroupingRDFHandler.handleStatement(Statement st) |
Constructor and Description |
---|
ContextStatementCollector(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.
|
Modifier and Type | Method and Description |
---|---|
void |
JSONLDWriter.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
void |
N3Writer.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
void |
NQuadsWriter.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
void |
NTriplesWriter.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
void |
RDFJSONWriter.handleStatement(Statement statement) |
Modifier and Type | Method and Description |
---|---|
void |
RDFXMLWriter.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
void |
RDFXMLPrettyWriter.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
void |
TriGWriter.handleStatement(Statement st) |
protected void |
TriGWriter.handleStatementInternal(Statement st,
boolean endRDFCalled,
boolean canShortenSubject,
boolean canShortenObject) |
Modifier and Type | Method and Description |
---|---|
void |
TriXWriter.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
void |
TurtleWriter.handleStatement(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.
|
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,SailException> |
SailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Gets all statements from the specified contexts that have a specific subject, predicate and/or object.
|
default CloseableIteration<? extends Statement,SailException> |
SailConnection.getStatements(Resource subj,
URI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Deprecated.
since 4.0. Use
SailConnection.getStatements(Resource, IRI, Value, boolean, Resource...) instead. |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Modifier and Type | Method and Description |
---|---|
protected Statement |
DistinctModelReducingUnionIteration.getNextElement() |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,SailException> |
SailDataset.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Gets all statements that have a specific subject, predicate and/or object.
|
protected CloseableIteration<? extends Statement,SailException> |
SailSourceConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,QueryEvaluationException> |
SailTripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,SailException> |
SailConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
CloseableIteration<? extends Statement,SailException> |
AbstractSailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
protected abstract CloseableIteration<? extends Statement,SailException> |
AbstractSailConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
protected void |
NotifyingSailConnectionBase.notifyStatementAdded(Statement st) |
protected void |
NotifyingSailConnectionBase.notifyStatementRemoved(Statement st) |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,SailException> |
InferencerConnectionWrapper.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
Calls
InferencerConnectionWrapper.flushUpdates() before forwarding the call to the wrapped connection. |
Modifier and Type | Method and Description |
---|---|
void |
SchemaCachingRDFSInferencerConnection.statementAdded(Statement st) |
void |
AbstractForwardChainingInferencerConnection.statementAdded(Statement st) |
void |
SchemaCachingRDFSInferencerConnection.statementRemoved(Statement st) |
void |
AbstractForwardChainingInferencerConnection.statementRemoved(Statement st) |
Modifier and Type | Method and Description |
---|---|
Statement |
LuceneSail.mapStatement(Statement statement) |
Modifier and Type | Method and Description |
---|---|
HashSet<Statement> |
LuceneSailBuffer.AddRemoveOperation.getAdded() |
HashSet<Statement> |
LuceneSailBuffer.AddRemoveOperation.getRemoved() |
Modifier and Type | Method and Description |
---|---|
boolean |
IndexableStatementFilter.accept(Statement statement) |
protected boolean |
LuceneSail.acceptStatementToIndex(Statement s) |
void |
LuceneSailBuffer.add(Statement s)
Deprecated.
Add this statement to the buffer
|
void |
LuceneSailBuffer.AddRemoveOperation.add(Statement s) |
void |
AbstractSearchIndex.addStatement(Statement statement)
Indexes the specified Statement.
|
void |
SearchIndex.addStatement(Statement statement)
Indexes the specified Statement.
|
static String |
SearchFields.getLiteralPropertyValueAsString(Statement statement) |
Statement |
LuceneSail.mapStatement(Statement statement) |
void |
LuceneSailBuffer.remove(Statement s)
Deprecated.
Remove this statement to the buffer
|
void |
LuceneSailBuffer.AddRemoveOperation.remove(Statement s) |
void |
AbstractSearchIndex.removeStatement(Statement statement) |
void |
SearchIndex.removeStatement(Statement statement)
Removes the specified Statement from the indexes.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
AbstractSearchIndex.addRemoveStatements(Collection<Statement> added,
Collection<Statement> removed)
Add many statements at the same time, remove many statements at the same time.
|
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.
|
void |
SearchIndex.addRemoveStatements(Collection<Statement> added,
Collection<Statement> removed)
Add many statements at the same time, remove many statements at the same time.
|
Modifier and Type | Class and Description |
---|---|
class |
MemStatement
A MemStatement is a Statement which contains context information and a flag indicating whether the statement is
explicit or inferred.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Statement> |
SailModel.iterator()
Deprecated.
The returned Iterator implements Closeable.
|
Modifier and Type | Method and Description |
---|---|
void |
SailModel.removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<Statement> |
RdfsSubClassOfReasoner.forwardChain(Statement statement)
Deprecated.
|
CloseableIteration<? extends Statement,SailException> |
ShaclSailConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
void |
Stats.added(Statement statement)
Deprecated.
|
java.util.stream.Stream<Statement> |
RdfsSubClassOfReasoner.forwardChain(Statement statement)
Deprecated.
|
void |
Stats.removed(Statement statement)
Deprecated.
|
void |
ShaclSailConnection.statementAdded(Statement statement) |
void |
ShaclSailConnection.statementRemoved(Statement statement) |
Modifier and Type | Method and Description |
---|---|
void |
ConstraintViolationRDFHandler.handleStatement(Statement st) |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.