Modifier and Type | Method and Description |
---|---|
void |
VerificationListener.handleStatement(Statement statement) |
Modifier and Type | Method and Description |
---|---|
void |
ConsoleRDFWriter.consumeStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
protected CloseableIteration<? extends Statement,SailException> |
FedXConnection.getStatementsInternal(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
RepositoryResult<Statement> |
FedXApi.getStatements(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,Exception> |
EndpointEntry.getStatements() |
Modifier and Type | Method and Description |
---|---|
void |
EndpointFactory.DefaultRDFHandler.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
CloseableIteration<Statement,QueryEvaluationException> |
FederationEvalStrategy.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.
|
CloseableIteration<Statement,QueryEvaluationException> |
SailTripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
QueryInfo queryInfo,
Resource... contexts) |
CloseableIteration<Statement,QueryEvaluationException> |
SparqlTripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
QueryInfo queryInfo,
Resource... contexts) |
CloseableIteration<Statement,QueryEvaluationException> |
TripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
QueryInfo queryInfo,
Resource... contexts)
Return the statements matching the given pattern as a
Statement iteration. |
Modifier and Type | Field and Description |
---|---|
protected RepositoryResult<Statement> |
StatementConversionIteration.repoResult |
Modifier and Type | Method and Description |
---|---|
protected BindingSet |
GraphToBindingSetConversionIteration.convert(Statement st) |
protected BindingSet |
StatementConversionIteration.convert(Statement st) |
Constructor and Description |
---|
StatementConversionIteration(RepositoryResult<Statement> repoResult,
BindingSet bindings,
StatementPattern stmt) |
Modifier and Type | Field and Description |
---|---|
protected ParallelExecutor<Statement> |
ParallelGetStatementsTask.unionControl |
Modifier and Type | Method and Description |
---|---|
ParallelExecutor<Statement> |
ParallelGetStatementsTask.getControl() |
CloseableIteration<Statement,QueryEvaluationException> |
ParallelGetStatementsTask.performTask() |
Constructor and Description |
---|
ParallelGetStatementsTask(ParallelExecutor<Statement> unionControl,
Endpoint endpoint,
Resource subj,
IRI pred,
Value obj,
QueryInfo queryInfo,
Resource... contexts) |
Modifier and Type | Method and Description |
---|---|
FedXRepositoryConfigBuilder |
FedXRepositoryConfigBuilder.withMembers(Collection<Statement> members) |
Modifier and Type | Class and Description |
---|---|
class |
UnboundStatement |
Modifier and Type | Method and Description |
---|---|
static Statement |
QueryAlgebraUtil.toStatement(StatementPattern stmt) |
static Statement |
QueryAlgebraUtil.toStatement(StatementPattern stmt,
BindingSet bindings) |
Modifier and Type | Method and Description |
---|---|
static StatementPattern |
QueryAlgebraUtil.toStatementPattern(Statement stmt) |
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 | Method and Description |
---|---|
default Iterable<Statement> |
Model.getStatements(Resource subject,
IRI predicate,
Value object,
Resource... contexts)
|
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. |
static class |
LinkedHashModel.ModelStatement |
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 |
LinkedHashModel.ModelStatement.getStatement() |
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() |
Iterable<Statement> |
DynamicModel.getStatements(Resource subject,
IRI predicate,
Value object,
Resource... contexts) |
SortedSet<Statement> |
TreeModel.headSet(Statement toElement) |
Iterator<Statement> |
EmptyModel.iterator() |
Iterator<Statement> |
TreeModel.iterator() |
Iterator<Statement> |
DynamicModel.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) |
boolean |
LinkedHashModel.add(Statement statement) |
boolean |
DynamicModel.add(Statement statement) |
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) |
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 |
EmptyModel.removeTermIteration(Iterator<Statement> iter,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
TreeModel.removeTermIteration(Iterator<Statement> iterator,
Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
void |
FilteredModel.removeTermIteration(Iterator<Statement> iter,
Resource s,
IRI p,
Value o,
Resource... c) |
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.
|
Constructor and Description |
---|
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) |
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 . |
static <C extends Collection<Statement>> |
RDFContainers.getContainer(IRI containerType,
Model sourceModel,
Resource container,
C sink,
Resource... contexts)
|
static <C extends Collection<Statement>> |
RDFContainers.toRDF(IRI containerType,
Iterable<?> values,
Resource container,
C sink,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Container, using the supplied head resource as the starting resource of the RDF Containter. |
static <C extends Collection<Statement>> |
RDFContainers.toRDF(IRI containerType,
Iterable<?> values,
Resource container,
C sink,
ValueFactory vf,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Container, using the supplied head resource as the starting resource of the RDF Containter. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.util.function.BiConsumer<Model,Statement> |
ModelCollector.accumulator() |
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 void |
Statements.convertRDFStarToReification(Statement st,
java.util.function.Consumer<Statement> consumer)
Converts the supplied RDF* statement to RDF reification statements, and sends the resultant statements to the
supplied consumer.
|
static void |
Statements.convertRDFStarToReification(ValueFactory vf,
java.util.function.Function<Triple,Resource> reifiedIdMapper,
Statement st,
java.util.function.Consumer<Statement> consumer)
Converts the supplied RDF* statement to RDF reification statements, and sends the resultant statements to the
supplied consumer.
|
static void |
Statements.convertRDFStarToReification(ValueFactory vf,
Statement st,
java.util.function.Consumer<Statement> consumer)
Converts the supplied RDF* 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.
|
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 void |
RDFContainers.consumeContainer(IRI containerType,
Iterable<?> values,
Resource container,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Container, using the supplied head resource as the starting resource of the RDF Containter. |
static void |
RDFContainers.consumeContainer(IRI containerType,
Iterable<?> values,
Resource container,
java.util.function.Consumer<Statement> consumer,
ValueFactory vf,
Resource... contexts)
Converts the supplied
Iterable to an RDF
Container, using the supplied head resource as the starting resource of the RDF Container. |
static void |
Models.convertRDFStarToReification(Model model,
java.util.function.Consumer<Statement> consumer)
Converts the supplied RDF* model to RDF reification statements.
|
static void |
Statements.convertRDFStarToReification(Statement st,
java.util.function.Consumer<Statement> consumer)
Converts the supplied RDF* statement to RDF reification statements, and sends the resultant statements to the
supplied consumer.
|
static void |
Statements.convertRDFStarToReification(ValueFactory vf,
java.util.function.Function<Triple,Resource> reifiedIdMapper,
Statement st,
java.util.function.Consumer<Statement> consumer)
Converts the supplied RDF* statement to RDF reification statements, and sends the resultant statements to the
supplied consumer.
|
static void |
Models.convertRDFStarToReification(ValueFactory vf,
Model model,
java.util.function.Consumer<Statement> consumer)
Converts the supplied RDF* model to RDF reification statements.
|
static void |
Statements.convertRDFStarToReification(ValueFactory vf,
Statement st,
java.util.function.Consumer<Statement> consumer)
Converts the supplied RDF* statement to RDF reification statements, and sends the resultant statements to the
supplied consumer.
|
static void |
Models.convertReificationToRDFStar(Model model,
java.util.function.Consumer<Statement> consumer)
Converts the supplied RDF reification model to RDF* statements.
|
static void |
Models.convertReificationToRDFStar(ValueFactory vf,
Model model,
java.util.function.Consumer<Statement> consumer)
Converts the supplied RDF reification model to RDF* statements.
|
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 <E extends RDF4JException> |
RDFContainers.extract(IRI containerType,
GetStatementOptional statementSupplier,
Resource container,
java.util.function.Consumer<Statement> collectionConsumer,
java.util.function.Function<String,java.util.function.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 supplied
Consumer function. |
static void |
RDFContainers.extract(IRI containerType,
Model sourceModel,
Resource container,
java.util.function.Consumer<Statement> consumer,
Resource... contexts)
Extracts the RDF Container starting with supplied
head resource from the supplied source Model and sends the statements that make up the collection
to the supplied Consumer . |
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.
|
static Optional<Value> |
Models.object(Iterable<Statement> statements)
Retrieves an object
Value from the supplied statements. |
static Optional<IRI> |
Models.objectIRI(Iterable<Statement> statements)
Retrieves an object
IRI value from the supplied statements. |
static Set<IRI> |
Models.objectIRIs(Iterable<Statement> statements)
Retrieves all object
IRI values from the supplied statements. |
static Optional<Literal> |
Models.objectLiteral(Iterable<Statement> statements)
Retrieves an object
Literal value from the supplied statements. |
static Set<Literal> |
Models.objectLiterals(Iterable<Statement> statements)
Retrieves all object
Literal values from the supplied statements. |
static Optional<Resource> |
Models.objectResource(Iterable<Statement> statements)
Retrieves an object
Resource value from the supplied statements. |
static Set<Resource> |
Models.objectResources(Iterable<Statement> statements)
Retrieves all object
Resource values from the supplied statements. |
static Optional<String> |
Models.objectString(Iterable<Statement> statements)
Retrieves an object value as a String from the supplied statements.
|
static Set<String> |
Models.objectStrings(Iterable<Statement> statements)
Retrieves all object String values from the supplied statements.
|
static Optional<IRI> |
Models.predicate(Iterable<Statement> statements)
Retrieves a predicate from the supplied statements.
|
static Optional<Resource> |
Models.subject(Iterable<Statement> statements)
Retrieves a subject
Resource from the supplied statements. |
static Optional<BNode> |
Models.subjectBNode(Iterable<Statement> statements)
Retrieves a subject
BNode from the supplied statements. |
static Set<BNode> |
Models.subjectBNodes(Iterable<Statement> statements)
Retrieves all subject
BNode s from the supplied statements. |
static Optional<IRI> |
Models.subjectIRI(Iterable<Statement> statements)
Retrieves a subject
IRI from the supplied statements. |
static Set<IRI> |
Models.subjectIRIs(Iterable<Statement> statements)
Retrieves all subject
IRI s from the supplied statements. |
Modifier and Type | Method and Description |
---|---|
static Statement |
QueryResults.singleResult(GraphQueryResult result)
Returns a single element from the query result.The QueryResult is automatically closed by this method.
|
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. |
static Model |
QueryResults.asModel(CloseableIteration<? extends Statement,? extends RDF4JException> iteration,
ModelFactory modelFactory)
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 |
DAWGTestResultSetParser.handleStatement(Statement st) |
void |
DAWGTestBooleanParser.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()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SPARQLComplianceTest.compareGraphs(Iterable<Statement> queryResult,
Iterable<Statement> expectedResult) |
protected void |
SPARQLComplianceTest.compareGraphs(Iterable<Statement> queryResult,
Iterable<Statement> expectedResult) |
protected void |
SPARQLQueryTest.compareGraphs(Set<Statement> queryResult,
Set<Statement> expectedResult)
Deprecated.
|
protected void |
SPARQLQueryTest.compareGraphs(Set<Statement> queryResult,
Set<Statement> expectedResult)
Deprecated.
|
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.
|
default void |
RepositoryConnection.add(RepositoryResult<Statement> 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.
|
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.
|
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) |
protected void |
SPARQLConnection.addWithoutCommit(Statement st,
Resource... contexts) |
void |
SPARQLConnection.remove(Statement st,
Resource... contexts) |
protected void |
SPARQLConnection.removeWithoutCommit(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 |
AbstractRDFInserter.handleStatement(Statement st) |
void |
RDFRemover.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 |
---|---|
protected void |
BinaryRDFWriter.consumeStatement(Statement st) |
Modifier and Type | Field and Description |
---|---|
protected java.util.function.Consumer<Statement> |
AbstractRDFWriter.statementConsumer |
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 |
---|---|
protected void |
AbstractRDFWriter.consumeStatement(Statement st)
Consume a statement.
|
void |
TimeLimitRDFHandler.handleStatement(Statement st) |
void |
RDFHandlerWrapper.handleStatement(Statement st) |
void |
BufferedGroupingRDFHandler.handleStatement(Statement st) |
void |
AbstractRDFWriter.handleStatement(Statement st) |
void |
ContextStatementCollector.handleStatement(Statement st) |
void |
AbstractRDFHandler.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.consumeStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
void |
N3Writer.handleStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
void |
NQuadsWriter.consumeStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
protected void |
NTriplesWriter.consumeStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
void |
RDFJSONWriter.consumeStatement(Statement statement) |
Modifier and Type | Method and Description |
---|---|
protected void |
RDFXMLWriter.consumeStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
void |
RDFXMLPrettyWriter.consumeStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
protected void |
TriGWriter.consumeStatement(Statement st) |
protected void |
TriGWriter.handleStatementInternal(Statement st,
boolean endRDFCalled,
boolean canShortenSubject,
boolean canShortenObject) |
Modifier and Type | Method and Description |
---|---|
protected void |
TriXWriter.consumeStatement(Statement st) |
Modifier and Type | Method and Description |
---|---|
protected void |
ArrangedWriter.consumeStatement(Statement st) |
protected 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.
|
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 |
---|---|
default void |
SailSink.approve(Statement statement)
Adds a statement to the store.
|
void |
SailSink.deprecate(Statement statement)
Removes a statement.
|
Modifier and Type | Method and Description |
---|---|
CloseableIteration<? extends Statement,QueryEvaluationException> |
SailTripleSource.getStatements(Resource subj,
IRI pred,
Value obj,
Resource... contexts) |
Modifier and Type | Interface and Description |
---|---|
interface |
ExtensibleStatement |
Modifier and Type | Class and Description |
---|---|
class |
ExtensibleContextStatement |
class |
ExtensibleStatementImpl |
Modifier and Type | Method and Description |
---|---|
ExtensibleStatement |
ExtensibleStatementHelper.fromStatement(Statement statement,
boolean inferred) |
ExtensibleStatement |
ExtensibleStatementHelper.DefaultExtensibleStatementHelper.fromStatement(Statement statement,
boolean inferred) |
Modifier and Type | Method and Description |
---|---|
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) |
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.This should be called from within a begin-commit-rollback block.
|
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.This should be called from within a begin-commit-rollback
block.
|
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.Do not search for an existing document with the same
subject id.
|
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.Ordering by resource has to be done
inside this method.
|
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.
|
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> |
VerySimpleRdfsBackwardsChainingConnection.getStatements(Resource subj,
IRI pred,
Value obj,
boolean includeInferred,
Resource... contexts)
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.